Re: How loopbacking works in linux..?

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

 



Hi,

> How i can avoid this and make the data go through the real hardware?

You can try manipulating the kernel IP routing table. You can do it by
the route command (see man route for more info).

> How and when it understands the address is local and associates the loopback
> device for trasmission?
It understands during IP layer processing. IP layer has two queues
INPUT & OUTPUT packet queues. Whenever it understands the destination
address is for the same machine
by seeing the routing table, it just puts the packet  from OUPTUT
queue to INPUT queue.

To see whether pakcets are coming onto cable, use tcpdump(). You can
make out clearly whats happening on the network.

--vijayck

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux