On Monday 28 January 2008, Neil Bothwick wrote: > On Mon, 28 Jan 2008 11:10:18 +0100, Stefán István wrote: > > can I set up the network startup so that eth0 first tries to get > > address from a dhcp server, and if it doesn't get any, it sets up with > > a fixed address? How can I set up this in the /etc/con.d/net? > > config_eth0=( "dhcp" ) > fallback_eth0=( "aaa.bbb.ccc.ddd" ) > fallback_route_eth0=( "blah" ) > > See /etc/conf.d/net.example
As I understand it this only allows for one fallback type of address (e.g. 192.168.0.0). If you connect to different routers which have different LAN address (192.168.0.0, 192.168.2.0, 10.10.10.0, etc.) then I guess you'll need some sort of additional script? -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.

