--On Friday, December 06, 2002 10:16:19 AM -0500 Hidemasa Yamakawa <yamakawa@TCSAmerica.com> wrote:
You are getting a lot of questionable advice about how to solve this problem.Hi, all, I assigned 2 ip address to one ethernet card. One is eth0 and another is eth0:1. INPUT and FORWARD policy is DROP When I input iptables -A INPUT -i eth0:1 -j ACCEPT I got warning Warning: wierd character in interface `eth0:1' (No aliases, :, ! or *). and no packet come through this interface. Kindly advice please.
iptables/NetFilter do not recognize the old alias notation. Rather than "-i eth0:1", you want "-i eth0 -d <ip address of eth0:1>". So for example, if eth0:1 has IP address 192.168.12.14, then your rule is:
iptables -A INPUT -i eth0 -d 192.168.12.14 -j ACCEPT
-Tom
--
Tom Eastep \ Shorewall - iptables made easy
AIM: tmeastep \ http://shorewall.sf.net
ICQ: #60745924 \ teastep@shorewall.net
--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list