Mixing tagged and untagged vlans using via-velocity driver



I am trying to setup two vlans (one tagged and one untagged) using the native via-velocity driver in kernel 2.6.21.1 on a single nic (VIA VT6122 Gigabit).

I can set it up tagged or untagged without any problems, but not both at the same time. Is this even possible with this driver?

To enable vlan5 tagging on the nic I have tried the following:

alias eth1 via_velocity
options eth1 enable_tagging=1 VID_setting=5

At this point I can communicate with vlan5. When I try to bring up a virtual interface using vconfig it seems to inherit the vlan5 tagging, thus making it impossible to communicate with an untagged vlan.

I have also tried the other way around. If I skip "enable_tagging=1 VID_setting=5", I can communicate with a non tagged vlan. If I bring up a new virtual interface (tagged vlan5) using vconfig it does not work.

Could it have something to do with the fact that this card supports vlan hw accelleration and upsets vconfig?

I'm stuck. If anyone could shed some light on this it would be greatly appreciated.

Nicklas
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Sub-G thrust to orbit.
    ... >> Artillery shells are entirely capable of being launched into orbit re ... >> Piggyback modes of orbital insertion, ... Both were so constrained for payload ...
    (sci.physics)
  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Re: VLAN sockets
    ... I have already looked into vconfig. ... need is a kind of raw/packet socket where I can explicitly specify the VLAN ...
    (comp.os.linux.networking)
  • Re: VLAN without an alias?
    ... I use vconfig to configure all the VLAN IDs the NIC should ... configure subinterfaces of the physical interface. ... subinterfaces receive traffic tagged with a specific VLAN ID. ...
    (Ubuntu)
  • Re: [BUG] 2.6.29-rc* QinQ vlan trunking regression
    ... another vlan, so called vlan trunking or QinQ. ... $ vconfig add eth1 5 ... $ ifconfig eth1.5 up ...
    (Linux-Kernel)

Loading