ng_fec and vlan

Giulio Ferro auryn at zirakzigil.org
Mon Dec 22 13:11:26 PST 2008


I've tried (without too much effort, I admit...) to create vlan interfaces
using a fec device as parent.
It was something like this:

...
fec_interfaces="fec0"
fecconfig_fec0="re1 re2"
ifconfig_fec0="inet 192.168.0.1 netmask 255.255.255.0"
...
cloned_interfaces="vlan1 vlan2 vlan3 ..."
ifconfig_vlan1="inet 192.168.1.1 netmask 255.255.255.0 vlan 1 vlandev fec0"
ifconfig_vlan2="inet 192.168.2.1 netmask 255.255.255.0 vlan 2 vlandev fec0"
ifconfig_vlan3="inet 192.168.3.1 netmask 255.255.255.0 vlan 3 vlandev fec0"
...

freebsd 7 stable (recent) amd64

Result: I see the vlan interfaces up and active, but they neither 
transmit nor
receive. By using tcpdump on the vlan ifaces I can see the arp packets 
leaving
when I try to ping a host on the same vlan, but they are unanswered.

The switch has been configured correctly, since the same vlans work
using either re1 or re2 as parent.

Any idea?


More information about the freebsd-net mailing list