Koozali.org: home of the SME Server

ETH0 not picking up DHCP IP Address

Geoff Bennion

ETH0 not picking up DHCP IP Address
« on: June 25, 2001, 07:13:12 PM »
Here is one for you all.
E-Smith 4.1.2 - setup as dedicated gateway
eth1 - Private 192.168.0.0 ip range.
eth0 - Dynamic Public IP

when system boots, eth0 does not get an ip address.

if the command

ifup eth0

is issued, the card gets an address and works.

if the command

dhcpcd -t120 eth0

is issued, the card gets an address and works.

I have tried putting the ifup eth0 command in inittab, but no joy.

Anyone any ideas ?

Geoff Bennion

Graeme Robinson

Re: ETH0 not picking up DHCP IP Address
« Reply #1 on: June 26, 2001, 02:48:34 AM »
It seems you have reversed the usual order of eth0 for internal and eth1 for external which can work but isn't recommended.  Try running  your configuration again and reversing them.

Julian Lewis-Booth

Re: ETH0 not picking up DHCP IP Address
« Reply #2 on: June 26, 2001, 03:42:37 AM »
I know the machine that Geoff is discussing, unfortunately the interfaces need to be swapped as the interface that is to be used for the public IP is registered by MAC address with a boardband internet provider.