Hi Mike, You are right.
But that does not explain, Why the interface gets packets eventhough the lan cable is removed. So, i am trying to figure out if the program is wrong or is there something going on which i am missing. You could try this on a laptop as well. Not sure whats going on.. Regards, Sriram On Tue, Feb 14, 2017 at 4:51 PM, Mike O'Connor <m...@oeg.com.au> wrote: > On 14/02/2017 9:48 PM, Mike O'Connor wrote: >> On 14/02/2017 9:41 PM, Sriram V wrote: >>> Hi mike, >>> >>> I understand that. This is a totallyu different question and pertains >>> to ethernet. >>> >>> I am just trying to find out on a normal ethernet network with 2 >>> interfaces whether a IP routing takes place. >>> I am using a raw socket and seem to packets even though ifconfig does >>> not show any increase in Rx Packets. >>> >> A raw socket is an IP packet with out any upper level protocol data, but >> it does had ip addresses so depending on your computers configuration ip >> packets can be routed between the two interfaces. >> >> But this mailing list is not the place for such a conversation, you need >> to have a read of ip routing fundamentals. >> >> >> Mike >> > Actually I'm wrong that example program uses raw Ethernet frames not raw > ip packets so there no route-able. > > > Mike > _______________________________________________ etherlab-users mailing list etherlab-users@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-users