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