On Wed, 27 Mar 2002, James Carter wrote:
> hi,
>
> i hope this isn't an faq, but i've not been able to find mention
> anywhere.
>
> i'm having problems using iptables with tagged vlans. everything works
> fine, but i cannot specify a tagged interface (eg eth0.50) in the
> firewall rules (it complains about the "."). i've managed to work round
> this so far, but i would like to be able to do it.
>
> as far as i can tell iptables is simply dismissing the interface name as
> invalid, rather then attempting and failing to use it.
>
> thanks.
Read the vlan docs for how to change the interface names to something like
vlan50 instead of eth0.50 This works for me:
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
...or upgrade to iptables 1.2.5 or higher (1.2.6a is out). This is from
the 1.2.5 ChangeLog:
* make iptables accept '_' and '.' in interface names
Jason