Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] network setup
Date: Mon, 28 Jan 2008 22:26:34
Message-Id: 200801281851.26177.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] network setup by Neil Bothwick
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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: network setup James <wireless@×××××××××××.com>
Re: [gentoo-user] network setup Dan Farrell <dan@×××××××××.cx>