Dealing with aliased interfaces

Charles Stack cstack@pil.net
Mon, 16 Jul 2001 18:22:18 -0400


I've created a set of interface aliases (eth2:0-eth2:13).

How can I use these aliases to control traffic on their respective
interfaces?
For example, when I say:

$IPTABLES -A INPUT -i eth2:0 -j DROP

I get a message telling me that I have a wierd character and that alias are
not allowed.

Is there a way to use aliases in the manner similar to the above or must I
block entirely by IP?

Thanks,

Charles