Re: eth between two computers
On Sun, Dec 17, 2000 at 10:45:52AM -0600, Matthias Schulz wrote:
> Anyone else a tip for me?
You don't need to run the route commands for this.
The output of your route display:
> ROOT> route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
Note the Detination column. This, combined with the Genmask column, means
that this row is for IP traffic for 192.168.0.anything. The '*' in the
Gateway column means that no gateway is needed, that this is just a local
interface. (You see which one, of course, in the Iface column.) Have you
tried running your program yet? You said you could ping one computer from
the other, so I suspect all is well.
If you don't want to refer to the machines by numbers, stick a couple of
lines in your /etc/hosts file on each host:
192.168.0.1 machine1
192.168.0.3 machine2
--
Bill Jonas | "If you haven't gotten where you're going,
bill@billjonas.com | you aren't there yet." --George Carlin
http://www.billjonas.com/ | http://www.harrybrowne.org/
Reply to: