Re: Iptables and vlan interfaces

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

 



sebastian.ionita@xxxxxxxxxxxxxxxx wrote:
Why doesn't iptables works with vlans interfaces?
iptables -t mangle -A FORWARD -i eth0 -o eth1.11 -j MARK --set-mark 4
Gives me the error:
host/network eth1.11 not found.
I'm running kernel version 2.4.27. with iptables 1.2.9
The eth1.11 exists works perfectly.
Seby,




eth1.11 is the same physical device as eth1. use eth1 in your rule and you are fine. netfiler does IMHO not support filtering by logical interface.


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux