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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-23-2004, 12:04 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Location: Michigan
Distribution: SuSE, Red Hat
Posts: 29
Rep:
|
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
|
|
|
11-23-2004, 01:16 PM
|
#2
|
Senior Member
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024
Rep:
|
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.
|
|
|
11-24-2004, 10:37 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Location: Michigan
Distribution: SuSE, Red Hat
Posts: 29
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 05:02 PM.
|
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
|
|