Re: iptables interface eth0:1 does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I dont think I have ever had good luck filtering on sub-intefaces ... it really attaches to the hardware level (eth0) device... I suggest using -i eth0 and then matching IP/Subnet info??

Tommy

--On Friday, December 06, 2002 10:16:19 AM -0500 Hidemasa Yamakawa <yamakawa@TCSAmerica.com> wrote:

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.

Hyde








--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list


--
Tommy McNeely         --        Tommy.McNeely@Sun.COM
Sun Microsystems - IT Ops - Broomfield Campus Support
Phone:  x50888 / 303-464-4888  --  Fax:  720-566-3168



--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux