On 14.4.2011 23:34, Stuart Henderson wrote:
On 2011-04-14, Hrvoje Popovski<hrv...@srce.hr>  wrote:
On 14.4.2011 18:37, Stuart Henderson wrote:
On 2011-04-13, Hrvoje Popovski<hrv...@srce.hr>   wrote:
problem is that when i enable vlan on ix interface i can't ping other
side.

01:20:38.556705 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has
10.3.3.2 tell 10.3.3.1

your config is OK, something is broken there. I guess this will make
it function but it's not a correct fix.

Index: if_ix.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_ix.c,v
retrieving revision 1.50
diff -u -p -r1.50 if_ix.c
--- if_ix.c     13 Apr 2011 00:14:18 -0000      1.50
+++ if_ix.c     14 Apr 2011 16:36:58 -0000
@@ -1453,7 +1453,7 @@ ixgbe_setup_interface(struct ix_softc *s
        ifp->if_capabilities = IFCAP_VLAN_MTU;

   #if NVLAN>   0
-       ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING;
+//     ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING;
   #endif

   #ifdef IX_CSUM_OFFLOAD


hello,

i have commented that line and compiled kernel as you said and same
thing happens

is there any other info that i can provide

thank you for diff ...


Did you try it on the transmitting machine or the receiving machine
(or both)?

i tried diff on both machines and vlans on ix0 (interface connected to switch) and ix1 (directly connected to other machine)

will double check everything maybe i'm doing something fundamentally wrong with vlans...


http://lists.freebsd.org/pipermail/freebsd-net/2010-November/027114.html
suggests that disabling this should help.


i just read that but need more time to understand :)

--
/hrvoje

Reply via email to