1 |
On Tuesday 29 January 2008, James wrote: |
2 |
> Mick <michaelkintzios <at> gmail.com> writes: |
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 |
5 |
> > > > with 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 |
> > As I understand it this only allows for one fallback type of address |
12 |
> > (e.g. 192.168.0.0). If you connect to different routers which have |
13 |
> > different LAN address (192.168.0.0, 192.168.2.0, 10.10.10.0, etc.) then I |
14 |
> > guess you'll need some sort of additional script? |
15 |
> |
16 |
> Hello Mick, |
17 |
> |
18 |
> I'm not sure exactly what you want to do, but, you make want to read up |
19 |
> on 'net-misc/ucarp' |
20 |
> |
21 |
> "UCARP allows a couple of hosts to share common virtual IP addresses in |
22 |
> order to provide automatic failover. It is a portable userland |
23 |
> implementation of the secure and patent-free Common Address Redundancy |
24 |
> Protocol (CARP, OpenBSD’s alternative to the patents-bloated VRRP)." |
25 |
> |
26 |
> hth, |
27 |
> |
28 |
> James |
29 |
|
30 |
Thank you, I hadn't heard of ucarp before, will look into it. |
31 |
|
32 |
-- |
33 |
Regards, |
34 |
Mick |