Re: Peer to peer network with two machines, ping doesn't work
From: Eric Enright (sauron_at_tiptsoft.com)
Date: 02/01/04
- Next message: mile: "installing winmodem drver into Mandrka 9.0"
- Previous message: USMC Sniper: "Re: Help printing from WinXP to Linux via Samba...PLEASE :)"
- In reply to: linuxquestion_at_yahoo.com: "Peer to peer network with two machines, ping doesn't work"
- Next in thread: linuxquestion_at_yahoo.com: "Re: Peer to peer network with two machines, ping doesn't work"
- Reply: linuxquestion_at_yahoo.com: "Re: Peer to peer network with two machines, ping doesn't work"
- Reply: linuxquestion_at_yahoo.com: "Re: Peer to peer network with two machines, ping doesn't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 01 Feb 2004 02:36:49 -0500
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,
--
Eric Enright /"\
sauronAtiptsoftDcom \ / ASCII Ribbon Campaign
X Against HTML E-Mail
Public Key: 0xBEDF636F / \
- Next message: mile: "installing winmodem drver into Mandrka 9.0"
- Previous message: USMC Sniper: "Re: Help printing from WinXP to Linux via Samba...PLEASE :)"
- In reply to: linuxquestion_at_yahoo.com: "Peer to peer network with two machines, ping doesn't work"
- Next in thread: linuxquestion_at_yahoo.com: "Re: Peer to peer network with two machines, ping doesn't work"
- Reply: linuxquestion_at_yahoo.com: "Re: Peer to peer network with two machines, ping doesn't work"
- Reply: linuxquestion_at_yahoo.com: "Re: Peer to peer network with two machines, ping doesn't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|