LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-09-2002, 01:56 PM   #1
shaggz
Member
 
Registered: Dec 2002
Location: FuNkYToWN
Distribution: SuSe, Gentoo, Fedora
Posts: 64

Rep: Reputation: 15
Eth0 over Crossover


I have my PC running Redhat 8.0 and my Laptop also Running Redhat 8.0.


I would like to connect them via 2 eth0 cards with crossover cable yet I have not had any luck setting this up.


I know I need to use and address like 198.62.0.1 on one and .2 say for the other however what should I use for the Broadcast , Gateways and such.

Anyone help?
 
Old 12-09-2002, 02:56 PM   #2
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Configure each machine thusly:

Machine 1 :

IP : 192.168.0.1
Mask : 255.255.255.0
Gateway : 192.168.0.1
DNS : none.

Machine 2 :

IP : 192.168.0.2
as above.

You don't actually *need* any of the above except the IP's. If your machine has only 1 nic in it and isn't on a network (yours isn't really) it doesn't require a gateway ip.

The IP address should be in the 192.168.xxx.xxx range, although, again.. because yours is a closed network it's not that important.

Should you ever connect to anything else though, the address you supplied is in the public (ie, it's used somewere on the internet) range and your ISP will complain. I realise it was probably something you were remembering, and it was close... but just in case

To figure out if it's working, boot both machines up, ping the local address :

ping 192.168.0.1

then ping the other machine's address, if you get replies back from both, you're good to go.

Slick.
 
Old 12-09-2002, 02:59 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
use this

machine 1
Code:
ifconfig eth0 192.168.0.1
machine 2
Code:
ifconfig eth0 192.168.0.2

that's it


I assume they are already booted up or you could not type the commands. So booting or rebooting is not necessary


Machines on the same network do not need a default gateway



happy networking

Last edited by DavidPhillips; 12-09-2002 at 03:06 PM.
 
  


Reply



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 On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I run CrossOver 3 and Crossover 4 at the same time? xbaez Linux - Software 2 05-11-2005 10:16 PM
Wireless network on eth1 diabled Ethernet eth0 and eth0 never comes back tadatoshi Linux - Wireless Networking 4 09-23-2004 05:57 PM
Firewall WAN eth0 LAN eth1 self-bridges, eth0 does all routeing. Nichole_knc Linux - Networking 5 07-29-2004 02:33 PM
howto delete existing static ip of ethernet(eth0)& reconf multiple ips on eth0 viveku Linux - Networking 2 02-02-2004 01:30 AM
howto delete static ip configured on eth0 & reconf multiple ip on one eth0(redhat8 viveku Linux - Networking 0 01-31-2004 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration