netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sky2, vlan and nat/masquerading
@ 2011-03-09 17:15 Christian Hesse
  2011-03-12  0:39 ` Jesse Gross
  0 siblings, 1 reply; 10+ messages in thread
From: Christian Hesse @ 2011-03-09 17:15 UTC (permalink / raw)
  To: netdev

[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]

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.
-- 
Regards,
Chris

[-- Attachment #2: tcpdump.log --]
[-- Type: application/octet-stream, Size: 688 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-03-22  2:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-09 17:15 sky2, vlan and nat/masquerading Christian Hesse
2011-03-12  0:39 ` Jesse Gross
2011-03-14 10:11   ` Christian Hesse
2011-03-15  1:55     ` Jesse Gross
2011-03-15  7:53       ` Christian Hesse
2011-03-15  7:56         ` Christian Hesse
2011-03-17 19:23         ` Jesse Gross
2011-03-17 21:40           ` Christian Hesse
2011-03-18  6:46             ` Christian Hesse
2011-03-22  2:14               ` Jesse Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).