On Mon, 16 May 2005, Greg Thomas wrote:
Default install of 3.6 with patches. This is my first attempt at
setting up a bridge:
# cat /etc/bridgename.bridge0
add xl0
add xl1
up
# ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
xl0: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> mtu 1500
address: 00:50:04:7b:9a:2d
media: Ethernet autoselect (100baseTX full-duplex)
status: active
xl1: flags=8902<BROADCAST,PROMISC,SIMPLEX,MULTICAST> mtu 1500
address: 00:b0:d0:dd:0b:75
media: Ethernet autoselect (100baseTX full-duplex)
status: active
pflog0: flags=0<> mtu 33224
pfsync0: flags=0<> mtu 2020
enc0: flags=0<> mtu 1536
bridge0: flags=41<UP,RUNNING> mtu 1500
Am I missing something? From reading the man pages I thought it was
as simple as creating the bridgename.bridge0 file, and rebooting or
brconfiging? I'm getting ready to set up pf but obviously need some
connectivity through the bridge before I get to that point.
I suspect it's because the two network interfaces xl0 and xl1 aren't 'up'.
# ifconfig xl0 up
# ifconfig xl1 up
/Johan