Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2007 21:26:38 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-net@freebsd.org
Subject:   Network interface failover in 6.2?
Message-ID:  <f0b45m$jqt$1@sea.gmane.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigBC8984628C2F9087825C18F6
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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?)=
=2E

=46rom documentation and examples found on the web it looks like I need t=
o
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?


--------------enigBC8984628C2F9087825C18F6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGKRPuldnAQVacBcgRAhIDAKD9MfNbNN54SA8GhLYyAzW5+reZggCg8fEa
mpEMciHxc+b+7BgT5aaZpFc=
=deO/
-----END PGP SIGNATURE-----

--------------enigBC8984628C2F9087825C18F6--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f0b45m$jqt$1>