LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-07-2013, 10:16 AM   #1
shivee
Member
 
Registered: Nov 2013
Posts: 30

Rep: Reputation: Disabled
homogenous LAN setup between linux systems


hey!!someone tell me how to setup LAN between two systems using cross cable
 
Old 11-07-2013, 10:18 AM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
this is how i do it:
http://www.linuxquestions.org/questi...6/#post3804866

there mite be better ways.
 
1 members found this post helpful.
Old 11-07-2013, 10:20 AM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Have you done any research on this topic yourself? Basically, the steps are:

1. Plug in crossover cable to the NICs on both machines.
2. Assign an IP address to each machine. Since this is a private subnet, use the RFC1918 range (e.g. 10.x.x.x 192.168.x.x). For example, 192.168.0.1 and 192.168.0.2 with a subnet mask of 255.255.255.0 would be a good choice.
3. The machines should now be able to send packets back and forth over the crossover cable.

If you want more information, you're going to need to specify a lot more about what you want to do.
 
3 members found this post helpful.
Old 11-07-2013, 10:33 AM   #4
shivee
Member
 
Registered: Nov 2013
Posts: 30

Original Poster
Rep: Reputation: Disabled
linux

thanks and also tell me when to use a crossover cable and when to use straight cable??thanks in advance
 
Old 11-07-2013, 10:37 AM   #5
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
from my previus link:
Quote:
Originally Posted by lazlow View Post
If either end is GigE then the above statement is not true. GigE will automatically handle doing this without using a crossover cable.
 
1 members found this post helpful.
Old 11-07-2013, 02:28 PM   #6
vasis
LQ Newbie
 
Registered: Jul 2013
Posts: 19

Rep: Reputation: Disabled
I think most network cards will auto-negotiate these days. In general though use a crossover cable through when connecting "similar type devices" and straight-through when connecting "dissimilar devices". I am not going to get into the technical details here, but in general:

Quote:
Computer <----> Computer : crossover
Computer <----> Router : crossover
Computer <----> Switch : straight-through
Router <----> Router : crossover
Router <----> Switch : straigh-through
Switch <----> Switch : crossover
Also bare in mind that most home routers are not really routers, meaning that you cannot assign different IP addresses to each of the ports that you see on them. They are three devices in one. The Ethernet ports that you see on your router are switch ports really, so you can use a straight-through cable to connect to those.

If your NICs won't auto-negotiate and you do not have a crossover cable, use a switch/home router and two straight-through cables. That should work.

Last edited by vasis; 11-07-2013 at 02:29 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to link linux systems via lan off the wan Fred Caro Linux - Networking 5 02-26-2012 04:46 PM
FTP between two linux systems inside a LAN lucasito Linux - Networking 11 11-07-2009 10:30 PM
LAN cannot access other LAN systems, only WAN Myrion Linux - Networking 1 09-06-2007 07:29 PM
Sharing files over a LAN between Linux only systems. Lokheed Linux - Networking 4 09-18-2004 06:15 PM
How to chat between two systems connected in a LAN.I use Red hat linux 9. LIN_MINDS Linux - Newbie 0 03-04-2004 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:03 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