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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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, |
|
|||
|
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. |