LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-10-2007, 09:29 AM   #1
leaveone
LQ Newbie
 
Registered: Aug 2006
Location: Chesapeake, VA
Distribution: Debian Sarge
Posts: 17

Rep: Reputation: 0
Smile creating a crossover network with 2 linux boxes


Hello, I am trying to setup a crossover network from one computer running Debian Sarge to another running Ubuntu. My first problem is that im having trouble getting Sarge to recognize the second nic. when i run the network admin tool it only shows an eth0. how can i create an eth1 to use for the crossover network? i tried to create one using the network admin tool but that just changed my settings on eth0. it also asked me if i wanted to set up a plip connection.. that doesnt sound like exactly what i want after i did some research. i already have a configuration that should work once i get an eth1 setup on the Sarge system.

Sarge
eth1
ip: 192.168.1.2
netmask: 255.255.255.0
gateway: 192.168.1.3

Ubuntu
eth0
ip: 192.168.1.3
netmask: 255.255.255.0
gateway: 192.168.1.2

can anyone help me create the eth1 (or tell me any other options) or see any reason why my above configuration shouldnt work?
 
Old 05-10-2007, 01:38 PM   #2
sydney-troz
Member
 
Registered: Feb 2007
Distribution: Kubuntu, it's obese barely-usable sibling, Ubuntu
Posts: 142

Rep: Reputation: 15
We're assuming here that your Sarge system already has another network on its eth0 interface?
 
Old 05-10-2007, 01:44 PM   #3
leaveone
LQ Newbie
 
Registered: Aug 2006
Location: Chesapeake, VA
Distribution: Debian Sarge
Posts: 17

Original Poster
Rep: Reputation: 0
yes.. eth0 is the nic i use for the Internet..
 
Old 05-10-2007, 01:52 PM   #4
sydney-troz
Member
 
Registered: Feb 2007
Distribution: Kubuntu, it's obese barely-usable sibling, Ubuntu
Posts: 142

Rep: Reputation: 15
Is the second nic (the one you're having trouble with) from the same manufacturer as the working nic? If not, do you know if it's supported?
 
Old 05-10-2007, 02:52 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well those gateways are clearly wrong, you're going to go round in circles for ever if the other box is the gateway for the first... do you need a gateway? are you after internet access or access to another lan?
 
Old 05-10-2007, 03:16 PM   #6
leaveone
LQ Newbie
 
Registered: Aug 2006
Location: Chesapeake, VA
Distribution: Debian Sarge
Posts: 17

Original Poster
Rep: Reputation: 0
ok the second nic in the Sarge system actually used to be only nic on that system before my motherboard died and i had to replace it. so yes the second is supported.. and my eth0 is the onboard network card which is also supported (since its working). the reason i am trying to do this is because i do not have a router/hub and this is much cheaper. since my mb died a few weeks ago my sound doesnt work and my dvd burner isnt recognized.. i built a machine out of old parts i had lying around and was going to move all my data to that machine and do a fresh install.. of debian..

to answer chris, i am connecting these computers directly not using a router/hub/home network.. its my understanding that those gateways will work for what i am trying to do..
 
Old 05-10-2007, 03:23 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well in that case you don't have a gateway at all, they shouldn't be put in wrong...

The only thing "special" about an xover network is the cable itself. outside of that everything is totally standard and the machines themselves have no idea or interest in there not being a switch involved. just get both NIC's working sperately and implicitly it'll work fine.
 
Old 05-10-2007, 03:30 PM   #8
leaveone
LQ Newbie
 
Registered: Aug 2006
Location: Chesapeake, VA
Distribution: Debian Sarge
Posts: 17

Original Poster
Rep: Reputation: 0
ok, so how do i get the Sarge system to let me configure eth0.. or am i supposed to use it as plip0? below is the output of lspci so even the Sarge sees the card it wont let me configure and/or activate the card as eth1 (or anything for that matter).

brandon@wembley:~$ lspci
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 03)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS]: Unknown device 0003
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
0000:00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
0000:00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
0000:00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
0000:00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
0000:00:09.0 Multimedia audio controller: Ensoniq ES1370 [AudioPCI]
0000:00:0a.0 Ethernet controller: Linksys NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV15DDR [GeForce2 Ti] (rev a4)
 
Old 05-10-2007, 03:32 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well it's certainly not a plip connection, ethX on both sides totally conventional.
 
Old 05-10-2007, 06:07 PM   #10
leaveone
LQ Newbie
 
Registered: Aug 2006
Location: Chesapeake, VA
Distribution: Debian Sarge
Posts: 17

Original Poster
Rep: Reputation: 0
Fixed! apparently with my system i cant configure an ethernet adapter until the system recognizes that something is plugged into it.. so i hooked the cable up to the 2 systems.. then the Sarge system let me create and configure an eth1 and now it works.. im not sure if thats how most systems work.. i thought it was kinda weird.. usually you have to configure something before you can use it..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux/windows crossover network question gmc555 Linux - Networking 7 05-14-2007 09:48 AM
2 linux boxes unable to ping each other in a network lqsukumar Linux - Networking 4 07-21-2005 05:36 PM
sharing network files between Linux boxes linuxhippy Slackware 23 04-22-2005 07:03 PM
connect 2 Linux boxes via crossover cable forbuto Linux - Networking 1 10-21-2004 06:38 PM
two linux boxes local network connection fails gyrus Linux - Networking 10 07-23-2003 07:28 PM


All times are GMT -5. The time now is 09:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration