Problems with ping...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux