Date: Thu, 16 Aug 2001 13:33:01 -0700 From: Mike Hogsett <hogsett@csl.sri.com> To: freebsd-net@freebsd.org Cc: Mike Smith <msmith@freebsd.org>, hogsett@csl.sri.com Subject: Question : vlan -> fec -> fxp Message-ID: <200108162033.f7GKXfA10365@glob.csl.sri.com>
next in thread | raw e-mail | index | archive | help
Previously I had been posting to freebsd-stable regarding my questions, but this seems to be a better list for this. First let me explain my goal, then I will explain the problem. My goal is to use two fxp's "bonded" together using the fast ether channel netgraph module ( from http://people.freebsd.org/~wpaul/FEC/ ) then create n vlan interfaces with the fec0 interface as the parent dev for the vlan interfaces. fxp0 fxp1 \________/ | fec0 / | \ / | \ / | \ vlan0 vlan1 vlanN I have built and installed a new kernel with "pseudo-device vlan 1" and have built and installed the fec module. I have confirmed that fxp{0,1} interfaces work stand alone. I have confirmed that the fec0 interface works (using "set_mode_inet"). I have confirmed that the vlan interfaces work when the parent device is either fxp0 or fxp1. What does not work is when the fec0 interface is the parent for the vlan interfaces. Here is the setup : ngctl mkpeer fec dummy fec ngctl msg fec0: add_iface '"fxp0"' ngctl msg fec0: add_iface '"fxp1"' ngctl msg fec0: set_mode_mac #(I have also tried using "set_mode_inet") ifconfig fxp0 up ifconfig fxp1 up ifconfig fec0 up ifconfig vlan0 192.168.1.10 netmask 255.255.255.0 vlan 505 vlandev fec0 up mtu 1500 Nothing complains. The interfaces all look good in ifconfig, mtu's are correct, all are "UP". When pinging this machine from another machine on the lan here is the behavior that I get : Running "tcpdump -ni vlan0" shows the arp requests and the arp replies Running "tcpdump -ni fec0" shows the 802.1q tagged arp reqests and the arp replies Running "tcpdump -ni fxp{0,1}" shows the 802.1q tagged arp requests So the packets climb the chain but seem to enter a blackhole back down... Suggestions? - Michael Hogsett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108162033.f7GKXfA10365>