Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-10-2007, 09:29 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2006
Location: Chesapeake, VA
Distribution: Debian Sarge
Posts: 17
Rep:
|
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?
|
|
|
|
05-10-2007, 01:38 PM
|
#2
|
|
Member
Registered: Feb 2007
Distribution: Kubuntu, it's obese barely-usable sibling, Ubuntu
Posts: 142
Rep:
|
We're assuming here that your Sarge system already has another network on its eth0 interface?
|
|
|
|
05-10-2007, 01:44 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2006
Location: Chesapeake, VA
Distribution: Debian Sarge
Posts: 17
Original Poster
Rep:
|
yes.. eth0 is the nic i use for the Internet..
|
|
|
|
05-10-2007, 01:52 PM
|
#4
|
|
Member
Registered: Feb 2007
Distribution: Kubuntu, it's obese barely-usable sibling, Ubuntu
Posts: 142
Rep:
|
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?
|
|
|
|
05-10-2007, 02:52 PM
|
#5
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,827
|
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?
|
|
|
|
05-10-2007, 03:16 PM
|
#6
|
|
LQ Newbie
Registered: Aug 2006
Location: Chesapeake, VA
Distribution: Debian Sarge
Posts: 17
Original Poster
Rep:
|
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..
|
|
|
|
05-10-2007, 03:23 PM
|
#7
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,827
|
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.
|
|
|
|
05-10-2007, 03:30 PM
|
#8
|
|
LQ Newbie
Registered: Aug 2006
Location: Chesapeake, VA
Distribution: Debian Sarge
Posts: 17
Original Poster
Rep:
|
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)
|
|
|
|
05-10-2007, 03:32 PM
|
#9
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,827
|
well it's certainly not a plip connection, ethX on both sides totally conventional.
|
|
|
|
05-10-2007, 06:07 PM
|
#10
|
|
LQ Newbie
Registered: Aug 2006
Location: Chesapeake, VA
Distribution: Debian Sarge
Posts: 17
Original Poster
Rep:
|
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..
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:54 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|