Re: hostname and dhcp question



On Fri, 2006-06-30 at 13:38 +0800, Deepak Shrestha wrote:
Hi,

I have fedora core 5 installed in one of my computer in LAN. One of
the windows machine acts as the web server (internal) for the LAN but
I can't figure out how to get the web page served by that machine in
my fedora. Just typing the hostname ( http://hostname) doesn't work, I
have to put the IP address to see the page. What's wrong with DHCP
setting? and how to fix this?

By the way all computers in my LAN have dynamic address which is
handled by DSL modem router. Other windows machine is behaving
correctly, only fedora installation is not. What do I need to do? I
also checked the network settings and found nothing to do with that as
it has all automatic option checked.

Thanks!

Hi Deepak,

I have a similar setup at home, and here's what I did:

1. Most DSL Router/Modems have some kind of web management facility. On
my Netgear wireless router, I first determine the MAC address of my
computers (I have only 3 computers, so it is quite easy), then tie one
IP address to each MAC address. My Netgear router also allows me to
assign it a hostname. However, because the Netgear router has no DNS
functionality, this feature is just for the router administrator (me!)
to know which system is which.

2. Next, I setup a DNS server so that the IP addresses get assigned some
meaningful name. If you have more than, say, 5 computers, you should
probably learn how to setup BIND DNS. Just read the excellent DNS HOWTO
and you'll be able to setup DNS yourself real quick.

3. If you have a small number of computers and/or you do not want to go
to all the trouble of learning to setup DNS, you can just create a
"hosts" file and put the IP addresses and names of all your computers on
that network in the file and make sure that all your computers have the
updated hosts file.

After that, if you have everything setup correctly, when the server
boots up, it will ask the router for an IP address; the router will see
its MAC address and assign it the IP address you defined earlier in the
web management console. Then, assuming that DNS is installed on that
server, named will start up and all your computers can automagically
find the web server.

Hope this helps.

--
Pascal Chong
email: chongym@xxxxxxxxxxxxxx
web: http://cymulacrum.net
pgp: http://cymulacrum.net/pgp/cymulacrum.asc

"La science ne connaît pas de frontière parce que la connaissance
appartient à l’humanité. et que c’est la flamme qui illumine le monde."

-- Louis Pasteur

Attachment: signature.asc
Description: This is a digitally signed message part

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Re: Cannot connect to RWW from home PC
    ... eth0 172.26.0.1/16 Extra none ... That would be the address you need a DNS record for. ... One question - if I reset the Thomson Router will that clear all the ... Heres' the info for our server: ...
    (microsoft.public.windows.server.sbs)
  • Re: Cannot connect to RWW from home PC
    ... No 10.0.0.138 is the address used to log onto Thomson's router to make the ... On the DNS question I can add an MX record in the DNS area of GoDaddy's ... eth0 172.26.0.1/16 Extra none ... Heres' the info for our server: ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent! New router and big disaster
    ... NIC, you need to specify an external DNS server for DNS, instead of the ... Both NICs should point to his internal IP for DNS. ... forward ports to it reliably in the router. ...
    (microsoft.public.windows.server.sbs)
  • Re: Cannot connect to RWW from home PC
    ... You say "And in the router you need to forward to your external nic IP" ... You say "You need the domain hoster to setup a DNS record that will be ... We have rerun CEICW sort of hoping it would sort out the router but no ... Heres' the info for our server: ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent! New router and big disaster
    ... Even a single-NIC configuration should have ONLY the LAN IP of the server as ... Then you can run the CEICW or use the DNS console to enter ... forward ports to it reliably in the router. ... I should have been more clear about internet connection.. ...
    (microsoft.public.windows.server.sbs)