Re: How to access local machine using ethernet interface, not loopback?
From: Tauno Voipio (tauno.voipio_at_iki.fi.SPAMBAIT_REMOVE.invalid)
Date: 11/21/03
- Next message: Tauno Voipio: "Re: Network card configuration"
- Previous message: Tim Sampson: "Re: iptables DNAT question"
- In reply to: Anthony: "Re: How to access local machine using ethernet interface, not loopback?"
- Next in thread: Anthony: "Re: How to access local machine using ethernet interface, not loopback?"
- Reply: Anthony: "Re: How to access local machine using ethernet interface, not loopback?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 21 Nov 2003 14:53:20 GMT
"Anthony" <thtsang_yh@yahoo.com.hk> wrote in message
news:4178bc57.0311201937.197ddc69@posting.google.com...
> What is a Network Card Adaptor?
>
> Do you mean buying one more NIC and connecting the 2 cards using a
> crossover cable? Or you mean something else?
>
That will not work - the IP stack is smart enough to route packets to *any*
of the local IP addresses via the loopback interface, lo.
Are you simply not happy with lo, or are you trying to prove that the NIC
hardware works, or something else?
The book
Alessandro Rubini & Jonathan Corbet, Linux Device Drivers, O'Reilly, ISBN
0-59600-008-1
contains a pair of dummy network drivers playing the loopback game without
getting out of the host.
IMHO, you need another computer to test traffic out of the NIC.
HTH
Tauno Voipio
tauno voipio @ iki fi
PS. For the book, see <http://www.xml.com/ldd/chapter/book/>.
TV
- Next message: Tauno Voipio: "Re: Network card configuration"
- Previous message: Tim Sampson: "Re: iptables DNAT question"
- In reply to: Anthony: "Re: How to access local machine using ethernet interface, not loopback?"
- Next in thread: Anthony: "Re: How to access local machine using ethernet interface, not loopback?"
- Reply: Anthony: "Re: How to access local machine using ethernet interface, not loopback?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]