Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Dec 2005 11:24:03 -0800
From:      "Bruce A. Mah" <bmah@freebsd.org>
To:        David Pierron <david@wombatsweb.com>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: FBSD6 if_bridge
Message-ID:  <43909F53.4010905@freebsd.org>
In-Reply-To: <43909B86.4050308@wombatsweb.com>
References:  <43904815.4070805@wombatsweb.com> <43908AB1.7030107@freebsd.org> <43909B86.4050308@wombatsweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
If memory serves me right, David Pierron wrote:
> Bruce A. Mah on 12/02/2005 12:56 PM wrote:
> 
> 
>>If memory serves me right, David Pierron wrote:

>>>fxp0: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>>>	options=8<VLAN_MTU>
>>>	ether xx:xx:xx:xx:xx:xx
>>>	media: Ethernet autoselect (none)
>>>	status: no carrier
>>>fxp1: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>>>	options=8<VLAN_MTU>
>>>	ether xx:xx:xx:xx:xx:xx
>>>	media: Ethernet autoselect (none)
>>>	status: no carrier
>>>
> 
> 
>>>It looks to me like you didn't turn up either the fxp0 or fxp1
>>>interfaces.  It's correct to leave these interfaces unnumbered (i.e. no
>>>IP addresses) but they do need to be up.  Try adding these lines to
>>>/etc/rc.conf:
>>>
>>>ifconfig_fxp0="up"
>>>ifconfig_fxp1="up"
>>>
> 
> They weren't connected at the time the ifconfig was run.  That's the 
> reason for the no carrier ...  I'm sure it's something in the 
> configuration ...

No, that's not what I meant.  Notice that the fxp0 and fxp1 interfaces
don't have the "UP" flags (whether or not they're physically plugged in
is irrelevant).  I'm pretty sure you need to "ifconfig up" both
interfaces before the bridge can use them and as far as I can tell you
didn't do this.  I don't claim to be an expert in this area, but I *do*
have a filtering bridge working using if_bridge and PF....

Bruce.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDkJ9W2MoxcVugUsMRAmJVAJ0ZwTyGB2EEh5RJ5U0L2RfD/oPv8ACgufQl
4kV2hkivWIISjoAKV93tfL0=
=jfQ4
-----END PGP SIGNATURE-----

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