There is a solution:
    ip addr add w.x.y.z/bits dev eth0 label eth00

and use -i/-o eth00 in iptables.

In fact, I believe you could use any alphanumeric characters after 
'eth0'. I'm not sure.

J�rgen Danielsson wrote:

>Hello
>
>I have a little question that perhaps someone knows
>the answer to.
>
>Is it inpossible to use a alias in a rule. With that I
>mean refer to a interface called eth1:0.
>
>I get this from every version of iptable i have tried
>(1.2.2, 1.2.4, 1.2.6a):
>
>Warning: wierd character in interface `eth1:0' (No
>aliases, :, ! or *).
>
>/J�rgen
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com
>



Reply via email to