Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Second NIC card as failover

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  How to add th mirror partition to a RAID1 set wit..  
Author Message
synuw

External


Since: Sep 14, 2003
Posts: 3



(Msg. 1) Posted: Sun Sep 14, 2003 12:11 am
Post subject: Second NIC card as failover
Archived from groups: comp>unix>bsd>freebsd>misc (more info?)

Hello,

I am using FreeBSD 5.1 and would like to have two network cards in our
FreeBSD server connected to the same network.

The first network card will be always used for all traffic.

The second network card will be only used in case the first network card
fails (thus NIC 2 being in failover mode).

I don't need load balancing or such features I just want one NIC to be a
failover NIC.

Now my question is: How can I do that with FreeBSD ? Any tutorials or
FAQs would be appreciated. I didn't find this in the FreeBSD handbook or
FAQ.

Many thanks

 >> Stay informed about: Second NIC card as failover 
Back to top
Login to vote
jpd

External


Since: Sep 10, 2003
Posts: 58



(Msg. 2) Posted: Sun Sep 14, 2003 8:37 am
Post subject: Re: Second NIC card as failover [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article , synuw wrote:
[snip]
>
> I don't need load balancing or such features I just want one NIC to be a
> failover NIC.
>
> Now my question is: How can I do that with FreeBSD ? Any tutorials or
> FAQs would be appreciated. I didn't find this in the FreeBSD handbook or
> FAQ.

Well, how are you going to detect that the first NIC is dead? Answer
that and you know how to build something (a script, a driver, whatnot)
to make it work. OTOH, I'd think it more likely that if the NIC gets
fried there'll be other things dead, too, and the setup would need
manual inspection and/or parts replacement anyway.

Now to come closer to what you asked, you could try and investigate
`VRRP', which does contain a few tricks that might be of use. But
really, you probably need to ask yourself ``what do I really need'',
in terms of function, not features. So, what are you planning to
achieve and why does it boil down to that one extra NIC?


--
j p d (at) d s b (dot) t u d e l f t (dot) n l .

 >> Stay informed about: Second NIC card as failover 
Back to top
Login to vote
synuw

External


Since: Sep 14, 2003
Posts: 3



(Msg. 3) Posted: Sun Sep 14, 2003 11:48 am
Post subject: Re: Second NIC card as failover [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

jpd wrote:

>
> Well, how are you going to detect that the first NIC is dead? Answer
> that and you know how to build something (a script, a driver, whatnot)
> to make it work. OTOH, I'd think it more likely that if the NIC gets
> fried there'll be other things dead, too, and the setup would need
> manual inspection and/or parts replacement anyway.
>
> Now to come closer to what you asked, you could try and investigate
> `VRRP', which does contain a few tricks that might be of use. But
> really, you probably need to ask yourself ``what do I really need'',
> in terms of function, not features. So, what are you planning to
> achieve and why does it boil down to that one extra NIC?

Well here we are not trying to prevent network cards frying but our switch.
One network card is connected to one switch and the other network card to
another switch. In case one switch dies traffic will still flow through the
second switch. We have successfully implemented such a setup using
IP Multipathing on Solaris and the bonding module on Linux servers, now we
would like to have the same feature but for our new FreeBSD server.

Is there really no such thing already made for FreeBSD ? That's not
possible ???

Regards
 >> Stay informed about: Second NIC card as failover 
Back to top
Login to vote
B. Hansson

External


Since: Sep 14, 2003
Posts: 1



(Msg. 4) Posted: Sun Sep 14, 2003 12:58 pm
Post subject: Re: Second NIC card as failover [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

synuw wrote:

> Well here we are not trying to prevent network cards frying but our switch.
> One network card is connected to one switch and the other network card to
> another switch. In case one switch dies traffic will still flow through the
> second switch. We have successfully implemented such a setup using
> IP Multipathing on Solaris and the bonding module on Linux servers, now we
> would like to have the same feature but for our new FreeBSD server.

> Is there really no such thing already made for FreeBSD ? That's not
> possible ???

> Regards



There is such a beast!
http://people.freebsd.org/~wpaul/FEC/

And you should read this.
http://www.geocrawler.com/archives/3/159/2002/4/0/8515845/

/
 >> Stay informed about: Second NIC card as failover 
Back to top
Login to vote
Matt Pearce

External


Since: Oct 10, 2003
Posts: 2



(Msg. 5) Posted: Sun Sep 14, 2003 8:50 pm
Post subject: Re: Second NIC card as failover [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

you could just try writing a small script that pings something in the
network through the switch, if it gets no response then get the script to
change active interfaces or something. We had something like this for a
company I worked for with an ADSL and dialup line. It would auto switch to
the dialup if the ADSL went down.

Matt.


"synuw" wrote in message

> jpd wrote:
>
> >
> > Well, how are you going to detect that the first NIC is dead? Answer
> > that and you know how to build something (a script, a driver, whatnot)
> > to make it work. OTOH, I'd think it more likely that if the NIC gets
> > fried there'll be other things dead, too, and the setup would need
> > manual inspection and/or parts replacement anyway.
> >
> > Now to come closer to what you asked, you could try and investigate
> > `VRRP', which does contain a few tricks that might be of use. But
> > really, you probably need to ask yourself ``what do I really need'',
> > in terms of function, not features. So, what are you planning to
> > achieve and why does it boil down to that one extra NIC?
>
> Well here we are not trying to prevent network cards frying but our
switch.
> One network card is connected to one switch and the other network card to
> another switch. In case one switch dies traffic will still flow through
the
> second switch. We have successfully implemented such a setup using
> IP Multipathing on Solaris and the bonding module on Linux servers, now we
> would like to have the same feature but for our new FreeBSD server.
>
> Is there really no such thing already made for FreeBSD ? That's not
> possible ???
>
> Regards
>
>
 >> Stay informed about: Second NIC card as failover 
Back to top
Login to vote
synuw

External


Since: Sep 14, 2003
Posts: 3



(Msg. 6) Posted: Sun Sep 14, 2003 10:16 pm
Post subject: Re: Second NIC card as failover [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"B. Hansson" wrote:

> There is such a beast!
> http://people.freebsd.org/~wpaul/FEC/
>
> And you should read this.
> http://www.geocrawler.com/archives/3/159/2002/4/0/8515845/

Thanks, that sounds quite interesting unfortunately totaly undocumented Sad The
message on geocrawler is talking about acheiving throughput, I would just like
to acheive reliability. Does someone know how I can use this FEC module to
acheive just reliability ?

Thanks
Regards
 >> Stay informed about: Second NIC card as failover 
Back to top
Login to vote
Kurt Jaeger

External


Since: Nov 14, 2003
Posts: 2



(Msg. 7) Posted: Mon Sep 15, 2003 5:41 am
Post subject: Re: Second NIC card as failover [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi!

>Well here we are not trying to prevent network cards frying but our switch.
>One network card is connected to one switch and the other network card to
>another switch. In case one switch dies traffic will still flow through the
>second switch. We have successfully implemented such a setup using
>IP Multipathing on Solaris and the bonding module on Linux servers, now we
>would like to have the same feature but for our new FreeBSD server.
>
>Is there really no such thing already made for FreeBSD ? That's not
>possible ???

Look for

http://www.bsdshell.net/hut_project.html

and loadd, freevrrpd in the ports.

--
MfG/Best regards, Kurt Jaeger 17 years to go !
LF.net GmbH fon +49 711 90074-23 pi DeleteThis @LF.net
Ruppmannstr. 27 fax +49 711 90074-33
D-70565 Stuttgart mob +49 171 3101372
 >> Stay informed about: Second NIC card as failover 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Sound card driver data formats - I want to play synthetic sounds through my sound card. I've recompiled the kernel and made the devices. The sound card is working. cat /kernel > /dev/dsp clicks and hisses as expected. I've written a program to generate a ramp, but is sounds wrong,...

Netgear MA111 wifi card with Project Evil - Hi, I'm trying to use my Netgear MA111 wireless USB card in FreeBSD. As I understand, FreeBSD's wi module does not support it (OpenBSD's does). Therefore, I decided to check out NDISulator ("Project Evil"). I followed the instructions in the...

Installation & fdisk partitioning (slices) - I picked up a copy of the "FreeBSD Handbook 2nd Ed" the other day, it came with a installation disk for version 5.1 Current and that is what I am trying to install. This is my first attempt to do anything with FreeBSD. First let me describe my...

CVSup vs. portupgrade - Reading from the FreeBSD handbook on "Using the Ports Collection" leaves me a bit confused wrt CVSup and portupgrade... do these utilities accomplish the same thing? Thanks, Jay _______________________________________________..

configuring freebsd dhcp server/router to listen on device - Hello, Im trying to move away from my linksys wireless router and move onto an old Pentium 200 Mhz I have. It will be the gateway between my modem and my network. I installed isc-dhcp3 on the box and took the sample dhcp.conf file in the freebsd..
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]