Mick <michaelkintzios <at> gmail.com> writes:

> > > 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" )

> 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?

Hello Mick,

I'm not sure exactly what you want to do, but, you make want to read up
on  'net-misc/ucarp'

"UCARP allows a couple of hosts to share common virtual IP addresses in order to
provide automatic failover. It is a portable userland implementation of the
secure and patent-free Common Address Redundancy Protocol (CARP, OpenBSD’s
alternative to the patents-bloated VRRP)."

hth,

James






-- 
[email protected] mailing list

Reply via email to