D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Static IP



Julian Hall said:
address it has but without requesting one from the dhcp server on boot.

Hi Alan,

I set the ifcfg-eth0 as you suggested with the following:

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

Then I ran the ifup command, with the below result:

[root@xxxxxxx root]# /etc/sysconfig/network-scripts/ifup eth0
Determining IP information for eth0... failed.

Not terribly encouraging.  Any ideas why it's died?

In Mandrake control panel the network connection properties say:

DHCP
current IP address 192.168.1.3
netmask 255.255.255.0
gateway 192.168.1.1 (router IP address)

One thing I *think* is wrong is that the DNS server points to the router
also.  Would that be so DNS requests go to the router and then to the
external DNS servers?  If so it's obviously OK.

Incidentally as soon as the Linux machine booted up, the laptop
currently running Windows 2000 complained that another machine was
trying to use the same IP address.

Kind regards,

Julian

Hi,

It appears that maybe the router isn't generating a new ip lease for this
machine. Can you log into the router and see the attached devices ? If so
can you fix the machines ip address in the router config, and thus allow
the other machine to get new dhcp ip.

Also, the dns setting for the MDK machine should not be the router, set it
to your isp's dns server or you can use 216.127.78.109 (one of my
servers).
Your gateway is correct.

regards

alan

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.



Lynx friendly