Peer to peer network with two machines, ping doesn't work

This is a discussion on Peer to peer network with two machines, ping doesn't work within the Linux Networking forums, part of the Linux Forums category; I bought a crossover cable and it worked! Thanks to you and Bit Twister. Thank you. ifconfig now shows the ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-02-2004
linuxquestion@yahoo.com
 
Posts: n/a
Default Re: Peer to peer network with two machines, ping doesn't work

I bought a crossover cable and it worked!
Thanks to you and Bit Twister. Thank you.

ifconfig now shows the eth0 RUNNING also.



Eric Enright <sauron@tiptsoft.com> wrote in message news:<pan.2004.02.01.07.36.49.674093@tiptsoft.com> ...
> On Sat, 31 Jan 2004 21:28:26 -0800, linuxquestio wrote:
>
> > Dear experts,
> >
> > I'm trying to get my two Redhat machines to talk to each other.
> >
> > They are configured with static IP addresses:
> >
> > 10.0.0.1 red.testrac.com red
> > 10.0.0.2 white.testrac.com white
> >
> > No DHCP. I also don't have DNS running anywhere.
> >
> > I thought that the hosts file could substitute for DNS. But neither
> > machine can find (ping) the other one.

> <snip>
>
> You say "peer to peer" network.. Do you mean machine to machine directly?
> Perhaps you need a crossover cable, while you are using regular ethernet
> cabling.
>
> As for using /etc/hosts, yes this can substitute for DNS. The reason that
> "host" fails, is because it attempts to talk to your DNS server directly,
> rather than calling gethostbyname().
>
> HTH,

Reply With Quote
  #12 (permalink)  
Old 02-02-2004
Michael Buchenrieder
 
Posts: n/a
Default Re: Peer to peer network with two machines, ping doesn't work

linuxquestion@yahoo.com writes:

>> You say "peer to peer" network.. Do you mean machine to machine directly?
>> Perhaps you need a crossover cable, while you are using regular ethernet
>> cabling.


>Yes, this is the case. What is the difference/advantage of using a
>crossover cable?


If you are using TwistedPair cabling, you either have to connect the
systems using a hub or a switch (preferred), or by directly connecting
the two systems with a crossover cable. Otherwise, the wiring is incorrect.

[...]

>I noted that the first three digits of the IP were the same.
>Do you think that it is important?


Not for your actual problem. That's just a smaller network,
spanning less machines than yours. If you want to learn about
IP addressing schemes, start with reading RFC1878.

Michael
--
Michael Buchenrieder * mibu@scrum.greenie.muc.de * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:22 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0