[Leaplist] Low level access to ethernet

Richard F. Ostrow Jr. kshots at warfaresdl.com
Thu Aug 16 09:03:07 EDT 2007


Correct. In addition, you'll want to setup both NICs. If you're under a
unix environment, you can do this easily (and temporarily) using the
'ifconfig' command.

Let's assume your NIC is called 'em0' by your distro. Then on one machine,
you would run:

ifconfig em0 192.168.0.1 up

and on the other:

ifconfig em0 192.168.0.2 up

And you're running with nothing more than an IP address (no routing, no
DNS, no nothing - just an IP that can send data back and forth).

In case you're wondering what your interface is called, run 'ifconfig -a'
- it will list all interfaces. Don't use your loopback interface - that's
a... well, a loopback. It's always set to 127.0.0.1 (a magic number),
which always means the local host. Many processes use this whether you
have a network connection or not, and changing it can be hazardous to your
system. Most of the time, this interface is labeled 'lo0' or just 'lo'.
-- 
Life without passion is death in disguise

On Wed, August 15, 2007 8:13 pm, Carter Manucy wrote:
> If I'm understanding you correctly, what you're looking for is a
> cross-over cable.  One end T568-A, the other T568-B. (See
> http://en.wikipedia.org/wiki/TIA-568B#T568A_and_T568B_termination for more
> info on this).
>
> Once you've got the cable, you should get a link-light by direct
> connecting the two machines.  Then you can setup your ethernet - be it
> TCP/IP or whatever... and test away.
>
> -Carter
>
> ----- Original Message -----
> From: "Brian Rose" <lists at brianrose.net>
> To: "LEAP is Linux Enthusiasts and Professionals, a Linux User Group."
> <leaplist at leap-cf.org>
> Sent: Wednesday, August 15, 2007 6:27:27 PM (GMT-0500) America/New_York
> Subject: [Leaplist] Low level access to ethernet
>
>
> I want to use an ethernet connection to connect two machines directly
> (no switch or router) and send data from one to the other. I might be
> concerned about data integrity later, but for now I'd just like to see
> what kind of data rates I can get between two machines.
>
> It looks like a simple UDP configuration would probably be easiest to
> configure. What else should I look at?
>
> Thanks,
>
> _______________________________________________
> Leaplist mailing list
> Leaplist at leap-cf.org
> http://lists.leap-cf.org/mailman/listinfo/leaplist
>
> _______________________________________________
> Leaplist mailing list
> Leaplist at leap-cf.org
> http://lists.leap-cf.org/mailman/listinfo/leaplist
>




More information about the Leaplist mailing list