LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 04-21-2009, 03:16 AM   #1
Mickaletto
Member
 
Registered: Nov 2005
Posts: 32

Rep: Reputation: 15
Two network cards on one linux machine


Hello to all,

I have Red Hat linux machine (version 9) with two network cards. One is onboard (integrated) LAN card and it is labeled as eth0 in the system. Now I want to use other network card to connect this machine to other network. Problem is that I'm not sure how to configure this card or at least to know if the system can see it.
I tried to use linuxconf tool to set up network card, but not really sure how to proceed. I have test my onboard lan with my laptop abd crossover cable and they can ping each other, but if I connect crossover cable to the UTP port on PCI NIC, ping is not working indicating that link is down.
How to set up the second NIC?
Is it eth1, or ?

For example,
onboard LAN is 10.0.0.1 with subnet mask 255.0.0.0
I want to set up other NIC as 192.168.0.1 with 255.255.255.0
How to do this in red hat linux 9 (without GUI)?
I need to do everything in console/terminal mode, because this is industrial computer and GUI is disabled or not installed.

Thank you
 
Old 04-21-2009, 04:24 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You didn't say what is your nic's model.
To see if the system recognizes it you can run:
Code:
lspci |grep Ethernet

Last edited by bathory; 04-21-2009 at 02:57 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
just want to activate to network cards in same machine kashif2131971 Linux - Newbie 1 04-04-2008 01:43 PM
Wireless and wired network cards on the same machine kailun Slackware 2 07-27-2005 09:25 AM
Three Network Cards in Machine Linutzo Linux - Networking 3 11-09-2004 06:47 PM
linux machine does not connect to the network in windows network Bzuco Linux - Networking 2 07-19-2004 04:44 AM
How do I bridge network cards in Linux cmisip Linux - Networking 11 10-10-2002 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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