Re: pktgen and sniffing VLAN packets
"Ian Brown" <[email protected]> Mon, 28 Jan 2008 20:04:55 +0200
| Newsgroups | gmane.linux.drivers.vlan |
|---|---|
| Message-ID | <[email protected]> |
Ben, Thanks. When I remove the "vlan_id" command from the script I do see PKTGEN packets on UDP port 9. These are captured by "tcpdump -f udp port 9" (UDP port 9 is used by default by PKTGEN, I assume that most people here probably know ). The thing is that I do want to generate VLAN tagged traffic. BTW, if I do configure a VLAN on eth0 , I do see VLAN packets (pavkets with ethertype of VLAN), when sniffing with something like "tethereal -R "vlan and host x.y.z.q Any idea why with pktgen I cannot see VLAN traffic ? Regards, Ian On Jan 28, 2008 6:50 PM, Ben Greear <[email protected]> wrote: > Ian Brown wrote: > > Hello, > > I must first say that this question was sent more than two days ago to > > tcpdump-workers but there was no answer, so I hope I will get some help > > from the VLAN gurus around. > > > > > > - I am using pktgen on Linux to generate vlan traffic. > > > The NIC probably strips the headers before sending the packet up the > stack. Do you see non-tagged pktgen traffic at least? > > Ben > > > -- > Ben Greear <[email protected]> > Candela Technologies Inc http://www.candelatech.com > > > _______________________________________________ > Vlan mailing list > [email protected] > http://www.candelatech.com/mailman/listinfo/vlan >