Skip to contentSkip to conversation

Using an device alias?

DISCUSSION Steve M Bibayoff 1 participant 1 message Jan 3, 2003

lore
Share & tools
lore
#0 lore raw

Is it possible to use iptables with a device alias (ex.. eth0:1)? I tries to add a filter rule and got an error:
% iptables -t filter -I INPUT -i eth0:1 -j ACCEPT
Warning: wierd character in interface `eth0:1' (No aliases, :, ! or *).

If i list the rules, it's listed, but it doesn't appear to be working. I was wondering if someone had a definite answer.

TIA

Steve