I have a laptop on which I've recently installed openSUSE 10.1 and which has
two network devices: eth0 (100 Mbps Ethernet) and eth1 (802.11g 54 Mbps
WLAN). Both network devices are configured to configure themselves via DHCP.

If I am using eth0 for network access, it configures itself without any
problems. If, however, I am using eth1 although the IP address etc. are
configured correctly, the address for the default gateway isn't set. 

Having read around / investigated the problem it would appear that what is
happening is that eth0 is starting up first and running dhcpcd. When eth1
starts shortly afterwards, as dhcpcd is still running on eth0, eth1 ignores
the default gateway information sent to it from the DHCP server (this
behaviour is quite understandable I suppose because having multiple default
gateways might be considered a bad thing ;-)

Now, it appears that the dhcpcd on eth0 never times out (or at least not
within any sensible period). What I would ideally like to be able to do is
to configure the laptop such that dhcpcd runs on eth0 for (say) 10 seconds,
and dhcpcd only runs on eth1 in the event that dhcpcd on eth0 has timed out
(obviously is the dhcpcd eth0 is successful, I don't need to use eth1 do
don't need it configuring). I have seen references to a configuration file
/etc/dhcpcd.conf, but can't find any examples anywhere. 

So, does anyone either know how to configure dhcpcd to do what I want or
alternatively suggest an elegant workaround (obviously I can already either
kill the dhcpcd on eth0 and then run it on eth1 or manually do a "route add
default gw 10.0.0.1"

Any ideas?

Cheers.

Tim.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to