1 |
Mick <michaelkintzios <at> gmail.com> writes: |
2 |
|
3 |
|
4 |
> > > can I set up the network startup so that eth0 first tries to get |
5 |
> > > address from a dhcp server, and if it doesn't get any, it sets up with |
6 |
> > > a fixed address? How can I set up this in the /etc/con.d/net? |
7 |
|
8 |
> > config_eth0=( "dhcp" ) |
9 |
> > fallback_eth0=( "aaa.bbb.ccc.ddd" ) |
10 |
> > fallback_route_eth0=( "blah" ) |
11 |
|
12 |
> As I understand it this only allows for one fallback type of address (e.g. |
13 |
> 192.168.0.0). If you connect to different routers which have different LAN |
14 |
> address (192.168.0.0, 192.168.2.0, 10.10.10.0, etc.) then I guess you'll need |
15 |
> some sort of additional script? |
16 |
|
17 |
Hello Mick, |
18 |
|
19 |
I'm not sure exactly what you want to do, but, you make want to read up |
20 |
on 'net-misc/ucarp' |
21 |
|
22 |
"UCARP allows a couple of hosts to share common virtual IP addresses in order to |
23 |
provide automatic failover. It is a portable userland implementation of the |
24 |
secure and patent-free Common Address Redundancy Protocol (CARP, OpenBSD’s |
25 |
alternative to the patents-bloated VRRP)." |
26 |
|
27 |
hth, |
28 |
|
29 |
James |
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
-- |
37 |
gentoo-user@l.g.o mailing list |