LinuxQuestions.org
Register a domain and help support LQ
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-11-2004, 06:27 AM   #1
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 935

Rep: Reputation: 32
2nd nick card


Hi

2 network cards in one tower, run XP pro

Trying to get 2nd card to link to another machine ( white Box )


XP pro first network card is running and surfing, 2nd card tells me no net work cable not contected..

I hope some one can under what i'm on about,

any ideas please, i'm at a lost to this

TT
 
Old 05-11-2004, 06:37 AM   #2
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
When you directly connect two computers with ethernet (not with a hub/switch/router) you have to use a crossover cable instead of a normal cable.
 
Old 05-11-2004, 06:40 AM   #3
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 935

Original Poster
Rep: Reputation: 32
I was thinking about that when putting the cable in, I'll give it a shot. If i can find the cable.

Thanks

TT
 
Old 05-11-2004, 06:54 AM   #4
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 935

Original Poster
Rep: Reputation: 32
Ok that seems to work ok.

do i use the same config as the other network card as in IP etc.

I did put in 192.168.x.x etc and my surfing droped out, i un did what i did and its back up as in surfing etc...

but i may have to reboot white box..

TT

Last edited by tommytomato; 05-11-2004 at 06:57 AM.
 
Old 05-11-2004, 07:22 AM   #5
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
If you set a default gateway pointing out of the second card then packets addressed to machine out on the internet will go out of that card instead of towards your internet connection.

You should probably have to second card in a different subnet.
 
Old 05-11-2004, 07:28 AM   #6
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 935

Original Poster
Rep: Reputation: 32
I know what you mean by subnet as in ( 255.255.255.0 ) I hope thats right

as to other bit, well thats another story, do you mean 255.0.0.0 ???

TT
 
Old 05-11-2004, 07:34 AM   #7
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
>I know what you mean by subnet as in ( 255.255.255.0 )

That's a subnet mask not a subnet.
A subnet is a range of ip addresses like 192.168.0.0 to 192.168.0.255

192.168.0.0 with a mask of 255.255.255.0 is 192.168.0.0 to 192.168.0.255

192.168.1.0 with a mask of 255.255.255.0 is 192.168.1.0 to 192.168.1.255


>do you mean 255.0.0.0 ???

No, you would be surprised how many people use that as a mask with 192.168.x.x addresses then wonder why they can't reach some website's such as adobe.com at 192.150.14.120
 
Old 05-11-2004, 07:55 AM   #8
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 12.04 - Server 12.04.4 LTS
Posts: 935

Original Poster
Rep: Reputation: 32
here is what i have from the Xp command line

Ethernet adapter ADSL:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.x.x
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.x.x

Ethernet adapter White Box:

Connection-specific DNS Suffix . :
Autoconfiguration IP Address. . . : 169.254.x.x
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :

I take it that the white box eth0 has to be some thing like this

Autoconfiguration IP Address. . . : 169.254.x.x
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :192.168.x.x

Its just a guess

TT

Last edited by tommytomato; 05-11-2004 at 07:56 AM.
 
Old 05-11-2004, 08:09 PM   #9
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
Removing 192.168.x.x and 169.254 addresses does not provide any security. Those addresses do not work across the internet.

If the 169.254 address has been set automatically by windows you can't rely on it staying the same.


Autoconfiguration IP Address. . . : 169.254.x.x
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :192.168.x.x


The default gateway should be the 169.254.x.x address of the other machine. If you want the whitebox machine to be able to contact machines on the other side of the XP box you will have to turn on ip forwarding in the XP machine and configure a route on the other side of the LAN.
 
  


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
How do I set up a 2nd Ethernet card? socratesabroad Linux - Networking 6 05-16-2004 09:58 PM
Problems adding 2nd SCSI card jimieee Linux - Hardware 1 10-10-2003 09:25 AM
i want to change my nick? nakkaya LQ Suggestions & Feedback 3 02-14-2003 11:55 PM
nick 3com 3c509 jakublgz Linux - Networking 2 09-03-2002 11:51 AM
Loading 2nd network card JHuizingh Linux - Networking 14 02-23-2002 03:44 AM


All times are GMT -5. The time now is 10:10 PM.

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