Unix Technical Forum

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 Operating System forums, part of the Unix Operating Systems category; --> I bought a crossover cable and it worked! Thanks to you and Bit Twister. Thank you. ifconfig now shows ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 01-17-2008, 06:51 PM
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,

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 01-17-2008, 06:51 PM
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:33 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com