Re: vlan and iptables

[email protected]
Newsgroups gmane.linux.drivers.vlan
Message-ID <[email protected]>
George Ross writes: 

>> >>>> Why doesn't iptables works with vlans?
>> >>>> iptables -t mangle -A FORWARD -i eth0 -o eth1.11 -j MARK --set-mark 4
> 
> It does for us, though I don't think we've tried the mangle table.
> iptables-1.2.7a-2 with kernel-2.4.20-31.9_v1_dice_1, and also 
> iptables-1.2.11-3.1.FC3 with kernel-2.6.12-1.1372_FC3.  I think the only 
> slightly non-default thing we've done is to have set
> VLAN_NAME_TYPE=VLAN_PLUS_VID_NO_PAD.

How can i change it to VLAN_PLUS_VID_NO_PAD, maybe that is the problem. 


VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD 


Seby,
____________________________________________________________
SC. FO Comunicatii SRL.
Sebastian Ionita
Administrator Sistem
mobil: 0720 600016
tel fix: 0264 450456
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.