Skip to contentSkip to conversation

Virtual Interface & Ping Problem

DISCUSSION OTR Comm 1 participant 1 message Jun 8, 2002

lore
Share & tools
lore

OTR Comm

author
#0 lore raw

Hello,

I am using iptables-1.2.6a on a Redhat Linux 7.3 system.

I am having problems pinging virtual interfaces with my firewall active.

I use ifconfig to create virtual interfaces on eth0, such as:

/sbin/ifconfig eth0:2 192.168.1.16 netmask 255.255.255.0

The IP for eth0 is 192.168.1.2 and I can ping this with the firewall active. However, when I try to ping 192.168.1.16, I get 'ping: sendto:
Operation not permitted'

...
$IPTABLES -N icmp_packets
...
$IPTABLES -A icmp_packets -p ICMP -s 0/0 -d 0/0 -j ACCEPT
...

Could somebody please let me know what I have forgotten in my firewall or somewhere else?

I am not a member of the netfilter mail list, so if you could, please reply directly vi eamil to [email protected].

Thank you,
Murrah Boswell