sky2, vlan and nat/masquerading
Subsystems (2)
Hello everybody,
I have a Samsung NF310, running kernel 2.6.37.3 with a patch to make my ethernet controller work for vlans. It was discussed with the subject "sky2:
convert to new VLAN model (v0.2)" and made it to to kernel tree with commit 86aa77854f47ab6f5f9c687507af1f57d2b89004.
However it does not work properly, here are the details:
* Switch with one trunk port and several port in corresponding vlan ports
* Host connected to one of the vlan ports
* Samsung Netbook (see above) connected to the trunk port.
I get an IP address 192.168.x.x/24 via DHCP on interface connected to vlan 1. The interface connected to vlan 2 has 172.16.0.1/24 and serves addresses via DHCP. The system is set up to masquerade from 172.16.0.1/24.
I can access my netbook from the host in vlan 2, however I can not access anything behind. The packets contain a broken vlan tag and the host does not recognize them.
I've attached a tcpdump log. Please take a look at the icmp echo request and reply packets, especially the last one.
I've tested with an usb-ethernet-adapter and everything works fine, so my setup is ok.
Signature · 2 lines
Regards, Chris
�ò� ` �AwM}� Z � ������ $T�:a E � @ @�C� � �D\D\ u�<{"host_int": 41121856, "version": [1, 8], "displ�AwML: Z b $T�:a &-��� E T @ @iج ��d [� � �AwM-:
!"#$%&'()*+,-./�AwM�L Z f &-��� $T�:a� E Tvi =6o��d� c� � �AwM-:
!"#$%&'()*+BwM#? * * $T�:a &-��� &-���� � BwMAA <