Re: Iptables and vlan interfaces

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

 



On Fri, 30 Sep 2005, /dev/rob0 wrote:

Hmmm, I had always thought you couldn't use virtual interfaces.
# iptables -vI INPUT -i eth0:101

The above is not a virtual interface like VLAN interfaces are, only a labelled IP address on eth0.

  /sbin/ip addr show

will give you a quite good picture of these things.

to make your life saner I recommend unlearning ifconfig and instead learn to use the ip command from iproute. ifconfig only confuses things..

This difference is also seen in netstat -i.

Regards
Henrik


[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