Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 04:47:59 -0700
From:      "Han Hwei Woo" <hhwoo@argosy.ca>
To:        "Mikhail E. Zakharov" <zakharov@ipb.redline.ru>, <freebsd-net@freebsd.org>
Subject:   Re: 1 server, 1 net, 2 cards
Message-ID:  <000901c36259$e9c7e970$0800a8c0@a7n8x>
References:  <014701c361a3$01da40b0$620ce8c0@tv.interprom.msk.su>

next in thread | previous in thread | raw e-mail | index | archive | help
I don't believe it is possible to do that in the manner you're suggesting.
What is your purpose
for using two ethernet cards with two different IP's on the same network?
The carrying
capacity of your switching fabric (hub or switch) as well as the ethernet
card on the host you
try to communicate will limit your bandwidth, so you will not see any
performance gain
from using the 2nd ethernet card, even if you setup an effective method of
load balancing.

If you want to use your freebsd box as your switching fabric however, you
can setup the 2
cards as a bridge. "man 4 bridge" will explain how to do that. You would
then only need 1 IP
address for your bridge interface, and you can add a 2nd IP using aliasing
as well if you wish.
Keep in mind that this will be more cpu intensive than just setting up a
separate network on
each card, although if your machine is relatively fast, the difference will
be negligible.

I hope this helps. If not, perhaps you could explain more about what you are
trying to
accomplish, which will enable us to help you better.

Cheers,
Han Hwei Woo

----- Original Message ----- 
From: "Mikhail E. Zakharov" <zakharov@ipb.redline.ru>
To: <freebsd-net@freebsd.org>
Sent: Wednesday, August 13, 2003 6:58 AM
Subject: 1 server, 1 net, 2 cards


> Hi!
> I have two 3com ethernet cards at my FreeBSD server. How to set up them,
to
> work together at the same subnet with IP 192.168.1.1 (xl0) and IP
> 192.168.1.2(xl1).
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c36259$e9c7e970$0800a8c0>