Network interface failover in 6.2?
Ivan Voras
ivoras at fer.hr
Fri Apr 20 19:26:57 UTC 2007
I need to set up a simple NIC failover in a 6.2 host, connected to Cisco
2950 switches. From searching the web it seems that the simples option
for me is to use ng_fec (I'd rather use trunk/lagg, but I can't use
-current for this). Since I haven't used netgraph before, I'd appreciate
any advices and caveats (especially: is anyone using this in production?).
From documentation and examples found on the web it looks like I need to
do this:
ngctl mkpeer fec dummy fec
ngctl msg fec0: add_iface '"em0"'
ngctl msg fec0: add_iface '"em1"'
ifconfig fec0 up
ifconfig fec0 inet x netmask y
Is this correct / all?
I also found a pointer to use ng_one2many but a) ng_fec is supposed to
make use of the router's support (FEC), and b) it looks more complicated
to configure.
What is the practical meaning / difference between mode_mac and
mode_inet in ng_fec?
One other thing: where should I add the above configuration? In
/etc/rc.local?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20070420/94ee5f95/signature.pgp
More information about the freebsd-net
mailing list