After adding a gif device to a bridge device, I cannot add epair devices to the same bridge. The error I get is: ifconfig: BRDGADD epair0a: Invalid argument I'm using gif to give me tunneled IPv6 through Hurricane Electric. I'd like to give my jails IPv6 addresses via epair devices. Adding both gif and epair devices onto the bridge would give me that ability. Here's my relevant networking config: root@pwnie:/root # ifconfig bridge1 bridge1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1280 ether 02:fe:21:34:d3:01 inet6 2001:470:8142::2 prefixlen 48 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: gif0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 17 priority 128 path cost 55 root@pwnie:/root # ifconfig gif0 gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280 tunnel inet 192.168.3.10 --> 72.52.104.74 inet6 2001:470:1f04:1a28::2 --> 2001:470:1f04:1a28::1 prefixlen 128 inet6 fe80::be30:5bff:fea5:5dd%gif0 prefixlen 64 scopeid 0x11 inet6 2001:470:8142::1 prefixlen 48 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> options=1<ACCEPT_REV_ETHIP_VER> How-To-Repeat: 1) Create gif device: ifconfig gif0 create 2) Create epair device: ifconfig epair0 create 3) Create bridge device: ifconfig bridge0 create 4) Add gif0 to bridge0: ifconfig bridge0 addm gif0 5) Add epair0a to bridge0: ifconfig bridge0 addm epair0a At this point, you will get the error I pasted above
I've figured out that the devices can be added to the bridge if all the MTU's match (I'm setting all MTUs to 1280). However, once I add the gif device to the bridge, I get 100% packet loss.
Responsible Changed From-To: freebsd-bugs->freebsd-net Over to maintainer(s).
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped