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 11-23-2004, 12:04 PM   #1
Arachnoman
LQ Newbie
 
Registered: Aug 2003
Location: Michigan
Distribution: SuSE, Red Hat
Posts: 29

Rep: Reputation: 15
2 nics, 2 networks, 1 SuSE 9.1 Pro box


I have a SuSE 9.1 Pro system (kernel 2.6.5-7). I want to install a 2nd NIC, I have two networks in my office, MS Windows network where my Internet access is via Linksys router (192.168.x.x) and my 2nd is my work Novell-based network (10.0.x.x). First, how can I get both NICs to get IP addresses on their respective network, keep Internet access on the 192.168.x.x network. IN addition, I want certain apps to work on certain ethx devices i.e. telnet on eth1, mozilla on eth0 etc. None of this may even by possible, so forgive my n00b-ness, but can anyone chime in on this. Where do I start?

Thanks,
Bill
 
Old 11-23-2004, 01:16 PM   #2
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Arachnoman,
You should be able to just get the 2nd NIC up and give it an IP address and have it work. If both networks have DHCP servers and your distro has hotplug, you should only have to toss the other NIC into the box to make it work. For Internet access you want to make sure that your 192.168.x.x router out to The Internet is still configured as the default gw (netstat -r, and if needed, route add -net default gw 192.168.0.1) when it's done.

As far as apps go, they don't get to chose which network card they can use, AFAIK, but if you access an address on the 10.0.x.x network Linux should know to go to that network card and vice versa.
 
Old 11-24-2004, 10:37 AM   #3
Arachnoman
LQ Newbie
 
Registered: Aug 2003
Location: Michigan
Distribution: SuSE, Red Hat
Posts: 29

Original Poster
Rep: Reputation: 15
Ok, put the card in, SuSE found it and both NICs got their respective IP addy from the DHCP, however. All programs available on the 10.0.x.x are reachable but services and Internet on 192.168.x.x are not. When the new card was installed, the name of the system changed to "UNKNOWN_26". I'm still obviously having gateway issues. When I run a netstat -r, here is what I get:
UNKNOWN_26:/ # netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
10.0.3.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 10.0.3.1 0.0.0.0 UG 0 0 0 eth0
UNKNOWN_26:/ #

Ideas?

Bill
 
  


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
Cannot see my Win XP SP2 box with shared printer from my SUSE Pro 9.3 box thorlin Linux - Networking 3 09-11-2005 01:16 PM
2 nics, 2 networks help. chrisknight Linux - Networking 5 12-19-2004 01:21 PM
2 nics, 2 networks, 2 problemas kangaegoto Linux - Networking 1 12-19-2004 06:58 AM
1 servicer, 2 nics, 2 networks, 1 functional mehesque Linux - Networking 1 08-11-2004 02:24 PM
2 NICs 2 networks 2 gateways birkinshawc Linux - Networking 1 05-29-2004 03:05 PM

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

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