Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2000 22:41:26 -0800
From:      "Crist J . Clark" <cjclark@reflexnet.net>
To:        Bill Woods <bwoods2@uswest.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Bridging...
Message-ID:  <20001118224126.F38109@149.211.6.64.reflexcom.com>
In-Reply-To: <Pine.BSF.4.21.0011181942100.1246-100000@alpha.gplsucks.org>; from bwoods2@uswest.net on Sat, Nov 18, 2000 at 07:47:27PM -0800
References:  <Pine.BSF.4.21.0011181942100.1246-100000@alpha.gplsucks.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 18, 2000 at 07:47:27PM -0800, Bill Woods wrote:
> It looks like I am going to have to do some bridging of ethernet cards in
> 4.2-BETA, so what I need to know are a few things....
> 
> In rc.conf where I set up ethernet cards, this is what I have now..
> 
> ifconfig_ep0="inet 63.227.213.93  netmask 255.255.255.248"
> ifconfig_ep1="inet 10.0.0.99  netmask 255.255.255.255" 
>
> ep0 conects to the world 
> ep1 connects to my internal lan

If you really have two different logical networks, you do not want to
be doing bridging. If you are going to be bridging, the best way to go
is only put an IP address on one of the NICs.

> Since I am going to be bridging the two cards as one, what settings do I
> use. I looked in the handbook, but its not that clear to me.
>  
> Also, does ipf work with bridging ethernet cards or do I need to go to
> ipfw?

I know IPF does bridging... on some platforms. I can't recall if it
works on FreeBSD. Did you search the email archive?

> Also, the cards are:
> 
> ep0: <3Com 3C509-TPO EtherLink III> at port 0x210-0x21f irq 7 on isa0
> ep0: Ethernet address 00:a0:24:31:de:03
> ep1: <3Com 3C509-TPO EtherLink III> at port 0x300-0x30f irq 10 on isa0
> ep1: Ethernet address 00:a0:24:9b:99:d8
> 
> Will these cards work in bridging mode?

  $ man bridge
  .
  .
  .
       Not all interface support bridging -- at the moment it works for ``ed'',
       ``de'', ``ep'', ``fe'', ``fxp'', ``lnc'', ``mx'', ``tx'', and ``xl'' in-
       terfaces.
                 ^^
Seems like it.

> any oither helpfull hints?

Do not do it unless you have to. FreeBSD bridging worked fine for me
in 3.x, but I was not doing any firewalling.
-- 
Crist J. Clark                           cjclark@alum.mit.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001118224126.F38109>