Problems with ping...

From: Vinay Vernekar (vinay.vernekar@wipro.com)
Date: Thu Sep 21 2000 - 10:07:28 EST


Hello group,
I have some strange problem with the "snull" network driver mentioned in
the book "Linux Device Drivers" by Alessandro Rubini (O'Reily
publications). I have downloaded from the ftp site.
I have built the driver and loaded in the kernel. I am using
kernel-2.2.14.
I have set the networks in /etc/networks -
snullnet0 192.168.0.0
snullnet1 192.168.1.0
I have set the hosts in /etc/hosts -
192.168.0.88 local0
192.168.0.99 remote0
192.168.1.99 local1
192.168.1.88 remote1
After loading the module I have done -
%ifconfig sn0 local0
%ifconfig sn1 local1
%route add -net snullnet0 netmask 255.255.255.0 sn0
%route add -net snullnet1 netmask 255.255.255.0 sn1

After setting up all these when I do ping to remote1, I do not reply
messages as expected. I can print all the data sent in the tx function,
even the rx function gets called which does netif_rx(skb).
Can anyone who has referred this driver, please help me on what is the
problem, as it is urgent.
The ping to other nodes on the LAN works.
Expecting your reply soon.

Regards
Vinay
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:32 EST