How to create a network between 2 fedora computers?

Ow Mun Heng ow.mun.heng at wdc.com
Wed Apr 21 09:15:45 UTC 2004



> -----Original Message-----
> From: Coume - Lubox.com [mailto:coume.mailinglists at lubox.com]
> Sent: Wednesday, April 21, 2004 5:10 PM
> To: Ow Mun Heng
> Cc: coume.mailinglists at lubox.com; fedora-list at redhat.com
> Subject: Re: How to create a network between 2 fedora computers?
> 
> 
> > 1. Get a Cross Cable
> > 2. setup the Ips of both Pcs
> > 	eg: pc1 -> 192.168.0.1/255.255.255.0
> > 	    pc2 -> 192.168.0.2/255.255.255.0
> > 3. bring up the interface if not up already. 
> > 	/sbin/ifconfig eth0 up
> > 4. try pinging the box
> > 	ping 192.168.0.2 (from pc1)
> > 5. That shouls be it..
> > 
> > so exchange data, you could either try scp/ftp/samba/nfs 
> > 
> 
> Hello,
> thxs for your quick answer.
> 
> Where do I have to set up the IP? is it in resolv.conf?

YOu can try using 

IIRC 

/sbin/ifconfig eth0 192.168.0.1 netmask 255.255.255.0

(actually you know what.. scratch that.. I forget..)

use redhat-config-network

to determine if you have a valid ip already.. try 

/sbin/ifconfig eth1




 





More information about the fedora-list mailing list