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