Re: ping: sendto: Operation not permitted

Giorgos Keramidas (charon@hades.hell.gr)
Thu, 23 Dec 1999 14:17:56 +0200


On Thu, Dec 23, 1999 at 10:18:39AM -0000, AGREBI Riadh wrote:
> Hi,
>
> >Il would like to add a gateway t a network, by using this command :
> >
> >->ifconfig eth0:1 183.121.100.10
> >
> >->route add -net 183.121.100.0 netmask 255.255.255.0 gw 120.100.100.2
> >
> >->ping 183.121.100.10
> >ping: sendto: Operation not permitted
> >ping: wrote 183.121.100.10 chars, ret=-1
> >ping: sendto: Operation not permitted
> >ping: wrote 183.121.100.10 64 chars, ret=-1
> >
> >--- 183.121.100.10 ping statistics ---
> >11 packets transmitted, 0 packets received, 100% packet loss
> >
> Question : what's the means oh the error : 'sendto: Operation not
> permitted' ? and is there any solution ?

Probably that a firewall rule is dropping icmp echo-requests somewhere.

If that is the cause, setting up your firewall to pass through icmp
echo-requests and echo-replies will solve your problem.

-- 
Giorgos Keramidas, < keramida @ ceid . upatras . gr>
"What we have to learn to do, we learn by doing." [Aristotle]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu