I think it's enough if you have eth0 else you could use -s 192.168.0.0/24 to accepts all inputs from second cards.
----- Original Message ----- From: forums <[EMAIL PROTECTED]> Date: Wed, 9 Jul 2003 16:23:09 +0200 To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: IPCHAIN rule for secondary NIC IP address ? > > Hello, question : > > If I, for example, add a secondary IP address to a NIC with 192.168.0.100 > already, I would : > > # ifconfig eth0 add 192.168.0.101 > > I would then have : > > eth0 with 192.168.0.100 > eth0:0 with 192.168.0.101 > > My ipchains rules is : > > > ipchains -A input -i eth0 -p tcp --dport 80 -j ACCEPT > > Would i need to add a second line as well as the second address is on eth0:0 > (according to ifconfig -a) : > > ipchains -A input -i eth0:0 -p tcp --dport 80 -j ACCEPT > > or is that :0 behind eth0 not required and can i just remain using the one > ipchains rule ? > > regards > Wiljoh > RH Advanced Server 7.3 > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://www.redhat.com/mailman/listinfo/redhat-list -- ____________________________________________ http://www.operamail.com Get OperaMail Premium today - USD 29.99/year Powered by Outblaze -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list