LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-19-2002, 12:48 PM   #1
def1014
Member
 
Registered: Apr 2002
Distribution: Red Hat 6.1,7.2,7.3 Mandrake 8.1,8.2
Posts: 48

Rep: Reputation: 15
2nd NIC


I just added a secondary NIC card to a RH 7.2 box. I have set the IP settings but would like it to use another gateway other than the default. How can I assign this? route add eth1????????????
 
Old 10-20-2002, 04:52 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
What would you like to do? Could you explain?
 
Old 10-20-2002, 12:27 PM   #3
jfall
Member
 
Registered: Oct 2002
Location: PEI
Distribution: Slackware
Posts: 56

Rep: Reputation: 15
ifconfig ethX 0.0.0.0 netmask 255.255.255.0 broadcast 0.0.0.0
 
Old 10-23-2002, 08:54 AM   #4
def1014
Member
 
Registered: Apr 2002
Distribution: Red Hat 6.1,7.2,7.3 Mandrake 8.1,8.2
Posts: 48

Original Poster
Rep: Reputation: 15
Yes, I basically want each NIC to use a different gateway. I have added the IP, etc. properly. But, how can I verify that each card is using it's own gateway. ifconfig -a does not give any gateway information. I just keep thinking that when I do a netstat -rn I should see the default gateway for eth1, like I see the one for eth0. But where do these kernel ip tables get loaded from? It's hard to tell using traceroute since if I'm not mistaken sends out requests on both cards. I just want to verify somehow, any suggestions. thanks guys.
 
  


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
2nd NIC? Cornholio Slackware 3 04-25-2005 10:17 AM
Install of 2nd NIC briankb713 Linux - Networking 1 01-18-2005 08:31 AM
2nd NIC in an Ultra 5 plonker Solaris / OpenSolaris 1 04-29-2004 06:26 PM
1st nic regular FTP, 2nd nic SSH Riselong Linux - Distributions 2 02-02-2004 05:13 PM
2nd Nic Killing Me!!!!! patmurray Linux - Networking 0 02-23-2002 09:59 PM

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

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