[VLAN] Can't get VLAN working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've built a 2.4.18 Linux kernel with VLAN configured in and built the 1.6 release of vconfig.  The system boots, vconfig is able to create VLAN interfaces.  But I haven't been able to _use_ the interface.  

Based on http://www.linuxjournal.com/article/7268, I've done this:

   ifconfig eth1 down
   ifconfig eth1 0.0.0.0 up
   vconfig add eth1 2
   ifconfig eth1.2 11.2.0.1 broadcast 11.127.255.255 netmask 255.128.0.0 

I have a switch that will add VLAN tags based on the ingress port and I've configured it to add ID 2 to incoming messages.  I hooked my PC up to that port, another computer with Ethereal to another port, and my experimental system up to another.  On the PC I do:

   ping 11.2.0.1

and I see tagged ARP packets in Ethereal.  On the experimental system, the packets received by eth1 go up each time I ping:

   eth1      ...
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0

but the packets received by eth1.2 remain 0:

   eth1.2    ...
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

I guess I'm missing something.  Any suggestions?

TIA.

                              Chris


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux