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

Reply via email to