NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: creating a bridge in NetBSD?



On 07/15/2012 10:17 PM, David Wetzel wrote:
In therory, that should work.

but there seems to be a problem since 2007:
http://mail-index.netbsd.org/port-i386/2007/11/09/0001.html

# brconfig bridge0 add vr1 add ath0 up
brconfig: add vr1: File exists
# brconfig bridge0 add ath0 up
brconfig: add ath0: Invalid argument

# ifconfig ath0
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2290
         ssid alix apbridge nwkey 2:"",XXXX, XXXX,""
         powersave off
         bssid 00:0b:6b:de:0a:74 chan 3
         address: 00:0b:6b:de:0a:74
         media: IEEE802.11 OFDM54 mode 11g hostap
         status: active
         inet 172.16.0.1 netmask 0xffffff00 broadcast 172.16.0.255
         inet6 fe80::20b:6bff:fede:a74%ath0 prefixlen 64 scopeid 0x3


any ideas?
The post you referenced says that the posted fixed the problem by making the mtu the same on both interfaces. So do:

ifconfig ath0 mtu 1500

    first, then try the brconfig command

Am 15.07.2012 um 17:39 schrieb Pierre Pronchery:
Typically, you'll simply do:
# ifconfig bridge0 create
# brconfig bridge0 add vr1 add ath0 up





Home | Main Index | Thread Index | Old Index