I always forget something....
Here is the tcpdump command that I use and this is what I see:
tcpdump -i xenbr5 -n -e -vv -XX -s0
tcpdump: WARNING: xenbr5: no IPv4 address assigned
tcpdump: listening on xenbr5, link-type EN10MB (Ethernet), capture size
65535 bytes
20:19:37.583925 00:16:36:22:df:8f > Broadcast, ethertype IPv4 (0x0800),
length 348: (tos 0x10, ttl 128, id 0, offset 0, flags [none], proto: UDP
(17), length: 334) 0.0.0.0.bootpc > 255.255.255.255.bootps: [udp sum ok]
BOOTP/DHCP, Request from 00:16:36:22:df:8f, length: 306, xid:0x453a6e,
secs:6, flags: [none] (0x0000)
Client Ethernet Address: 00:16:36:22:df:8f
Vendor-rfc1048:
DHCP:DISCOVER
PR:SM+BR+TZ+T121+DN+NS+HN+YD+YS+NTP+MTU+T119+DG
VC:"anaconda-Linux 2.6.35.6-45.fc14.x86_64 x86_64"
0x0000: ffff ffff ffff 0016 3622 df8f 0800 4510 ........6"....E.
0x0010: 014e 0000 0000 8011 3990 0000 0000 ffff .N......9.......
0x0020: ffff 0044 0043 013a b44a 0101 0600 0045 ...D.C.:.J.....E
0x0030: 3a6e 0006 0000 0000 0000 0000 0000 0000 :n..............
0x0040: 0000 0000 0000 0016 3622 df8f 0000 0000 ........6"......
0x0050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00f0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0100: 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x0110: 0000 0000 0000 6382 5363 3501 0137 0d01 ......c.Sc5..7..
0x0120: 1c02 790f 060c 2829 2a1a 7703 3c2d 616e ..y...()*.w.<-an
0x0130: 6163 6f6e 6461 2d4c 696e 7578 2032 2e36 aconda-Linux.2.6
0x0140: 2e33 352e 362d 3435 2e66 6331 342e 7838 .35.6-45.fc14.x8
0x0150: 365f 3634 2078 3836 5f36 34ff 6_64.x86_64.
On 04/01/2011 08:17 PM, Jon wrote:
> Hello List,
>
> I am trying to get a 82546G dual NIC Intel card to do bonding with vlans
> and a bridge for a xen server. I would like to be able to setup a bridge
> and then assign it to a VM(domU) so it is on a specific VLAN.
>
> I have bonded eth0 and eth1 to bond0 and have created a bridge and
> assigned the vlan to the bridge. When I try to send data through the
> bridge and I am using tcpdump to sniff the wire I cannot see the VLAN
> tag in the packet.
>
> I updated the driver to 8.0.30-NAPI because I had read that HW
> acceleration on the card with earlier drivers was stripping the VLAN tag
> off of the packet. But I am still not seeing the VLAN tag after updating
> the driver.
>
> At this point I am lost and am not sure what to try next. Does this card
> support VLAN tagging? From everything I have read it does but can
> someone who knows for sure confirm that for me please? Is there
> something I am not understanding on why I am not seeing the tag? I have
> tried to ping, dhcp, ssh and nothing ever shows the VLAN in the packet.
>
>
> Any help would be greatly appreciated!! :)
>
> Jon
>
>
>
> CentOS 5.5
> 2.6.18-194.32.1.el5xen #1 SMP
> xen 3.1
> tcpdump version 3.9.4
> libpcap version 0.9.4
>
> ifcfg-bond0:
>
> DEVICE=bond0
> BOOTPROTO=none
> BONDING_OPTS="mode=1 miimon=100"
> ONBOOT=yes
>
>
> ifcfg-bond0.5:
>
> DEVICE=bond0.5
> BOOTPROTO=none
> ONBOOT=yes
> VLAN=yes
> BRIDGE=xenbr5
>
>
> ifcfg-eth0:
>
> # Intel Corporation 82546GB Gigabit Ethernet Controller
> DEVICE=eth0
> BOOTPROTO=none
> ONBOOT=yes
> MASTER=bond0
> SLAVE=yes
> ISALIAS=no
>
>
> ifcfg-eth1:
>
> # Intel Corporation 82546GB Gigabit Ethernet Controller
> DEVICE=eth1
> BOOTPROTO=none
> ONBOOT=yes
> MASTER=bond0
> SLAVE=yes
> ISALIAS=no
>
>
> ifcfg-xenbr5:
>
> DEVICE=xenbr5
> BOOTPROTO=static
> IPADDR=192.168.6.2
> NETMASK=255.255.255.0
> ONBOOT=yes
> TYPE=Bridge
>
>
> lspci -vv:
>
> 01:06.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet
> Controller (rev 03)
> Subsystem: IBM Unknown device 0289
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
> Stepping- SERR+ FastB2B-
> Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium>TAbort-
> <TAbort-<MAbort->SERR-<PERR-
> Latency: 64 (63750ns min), Cache Line Size: 64 bytes
> Interrupt: pin B routed to IRQ 20
> Region 0: Memory at f9ee0000 (64-bit, non-prefetchable) [size=128K]
> Region 2: Memory at f9e80000 (64-bit, non-prefetchable) [size=256K]
> Region 4: I/O ports at c800 [size=64]
> Expansion ROM at f0040000 [disabled] [size=256K]
> Capabilities: [dc] Power Management version 2
> Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
> PME(D0+,D1-,D2-,D3hot+,D3cold+)
> Status: D0 PME-Enable- DSel=0 DScale=1 PME-
> Capabilities: [e4] PCI-X non-bridge device
> Command: DPERE- ERO+ RBC=512 OST=1
> Status: Dev=00:00.1 64bit+ 133MHz+ SCD- USC- DC=simple
> DMMRBC=2048 DMOST=1 DMCRS=16 RSCEM- 266MHz- 533MHz-
>
>
> modinfo e1000:
>
> filename:
> /lib/modules/2.6.18-194.32.1.el5xen/kernel/drivers/net/e1000/e1000.ko
> version: 8.0.30-NAPI
> license: GPL
> description: Intel(R) PRO/1000 Network Driver
> author: Intel Corporation,<[email protected]>
> srcversion: 1D436A0D02B18BE145D2AE1
> alias: pci:v00008086d000010B5sv*sd*bc*sc*i*
> alias: pci:v00008086d00001099sv*sd*bc*sc*i*
> alias: pci:v00008086d0000108Asv*sd*bc*sc*i*
> alias: pci:v00008086d0000107Csv*sd*bc*sc*i*
> alias: pci:v00008086d0000107Bsv*sd*bc*sc*i*
> alias: pci:v00008086d0000107Asv*sd*bc*sc*i*
> alias: pci:v00008086d00001079sv*sd*bc*sc*i*
> alias: pci:v00008086d00001078sv*sd*bc*sc*i*
> alias: pci:v00008086d00001077sv*sd*bc*sc*i*
> alias: pci:v00008086d00001076sv*sd*bc*sc*i*
> alias: pci:v00008086d00001075sv*sd*bc*sc*i*
> alias: pci:v00008086d00001028sv*sd*bc*sc*i*
> alias: pci:v00008086d00001027sv*sd*bc*sc*i*
> alias: pci:v00008086d00001026sv*sd*bc*sc*i*
> alias: pci:v00008086d0000101Esv*sd*bc*sc*i*
> alias: pci:v00008086d0000101Dsv*sd*bc*sc*i*
> alias: pci:v00008086d0000101Asv*sd*bc*sc*i*
> alias: pci:v00008086d00001019sv*sd*bc*sc*i*
> alias: pci:v00008086d00001018sv*sd*bc*sc*i*
> alias: pci:v00008086d00001017sv*sd*bc*sc*i*
> alias: pci:v00008086d00001016sv*sd*bc*sc*i*
> alias: pci:v00008086d00001015sv*sd*bc*sc*i*
> alias: pci:v00008086d00001014sv*sd*bc*sc*i*
> alias: pci:v00008086d00001013sv*sd*bc*sc*i*
> alias: pci:v00008086d00001012sv*sd*bc*sc*i*
> alias: pci:v00008086d00001011sv*sd*bc*sc*i*
> alias: pci:v00008086d00001010sv*sd*bc*sc*i*
> alias: pci:v00008086d0000100Fsv*sd*bc*sc*i*
> alias: pci:v00008086d0000100Esv*sd*bc*sc*i*
> alias: pci:v00008086d0000100Dsv*sd*bc*sc*i*
> alias: pci:v00008086d0000100Csv*sd*bc*sc*i*
> alias: pci:v00008086d00001009sv*sd*bc*sc*i*
> alias: pci:v00008086d00001008sv*sd*bc*sc*i*
> alias: pci:v00008086d00001004sv*sd*bc*sc*i*
> alias: pci:v00008086d00001001sv*sd*bc*sc*i*
> alias: pci:v00008086d00001000sv*sd*bc*sc*i*
> depends: 8021q
> vermagic: 2.6.18-194.32.1.el5xen SMP mod_unload gcc-4.1
> parm: TxDescriptors:Number of transmit descriptors (array of int)
> parm: TxDescPower:Binary exponential size (2^X) of each
> transmit descriptor (array of int)
> parm: RxDescriptors:Number of receive descriptors (array of int)
> parm: TxDescriptorStep:Transmit Descriptor Step (array of int)
> parm: Speed:Speed setting (array of int)
> parm: Duplex:Duplex setting (array of int)
> parm: AutoNeg:Advertised auto-negotiation setting (array of int)
> parm: FlowControl:Flow Control setting (array of int)
> parm: XsumRX:Disable or enable Receive Checksum offload (array
> of int)
> parm: TxIntDelay:Transmit Interrupt Delay (array of int)
> parm: TxAbsIntDelay:Transmit Absolute Interrupt Delay (array
> of int)
> parm: RxIntDelay:Receive Interrupt Delay (array of int)
> parm: RxAbsIntDelay:Receive Absolute Interrupt Delay (array of
> int)
> parm: InterruptThrottleRate:Interrupt Throttling Rate (array
> of int)
> parm: SmartPowerDownEnable:Enable PHY smart power down (array
> of int)
> parm: copybreak:Maximum size of packet that is copied to a new
> buffer on receive (uint)
> parm: ignore_64bit_dma:Ignore 64-bit DMA (DAC) capability (int)
> parm: debug:Debug level (0=none,...,16=all) (int)
>
> ------------------------------------------------------------------------------
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself;
> WebMatrix provides all the features you need to develop and
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
> _______________________________________________
> E1000-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/e1000-devel
> To learn more about Intel® Ethernet, visit
> http://communities.intel.com/community/wired
>
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit
http://communities.intel.com/community/wired