LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-29-2007, 09:28 AM   #1
akerber00
LQ Newbie
 
Registered: Mar 2007
Location: Blue Springs, MO
Distribution: open suse 10.2
Posts: 15

Rep: Reputation: 0
Dual Network Card configuration issue


I am having trouble getting my dual network cards configured through the yast interface. I have one network connected to the internet, the (internal) router ip for that is 11.12.1.1. I have two suse 64 bit 10.2 boxes, each with two network cards, the 100 mbit cards on each (set up for internet access) have ips of 11.12.1.110 and 11.12.1.120 respectively. THe two suse boxes also each have a second gigabit card, with addresses of 11.12.2.110 and 11.12.2.120 respectively. These are on gigabit switch (not a router), so there is no gateway on the 11.12.2.xxx network. The trouble is that when I configure the 100 mbit cards (on the 11.12.1.xxx network) for internet access, the gateway address and name server address carries over to the 11.12.2.xxx network setup, and when I delete it from the 11.12.2.xxx setup, the addresses also get deleted from the 11.12.1.xxx network setup. Can any point me where to go to fix this? I am comfortable working in the terminal, I just dont know where I need to go to change this (or even if its possible).
 
Old 03-30-2007, 04:58 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Do you have the gigabit switch connecting the two hosts and the 100 MB Nics both connected to a router, or are you just using one host to connect to the internet?

If it is the former, the default gateway address is the IP address of the router. There is just one default gateway address for each host. So don't worry about the same gateway appearing in the config for each NIC. The route will select the device assigned when the destination IP doesn't match either 11.10.1 or 11.10.2. You might want to post the output of /sbin/route to verify that the 100 MB NICs are used for the default gateway. Also, are you using a netmask of 255.255.255.0?

In the SuSE firewall configuration, select "external" for the 100MB NICS, and internal for the Gigabit NICs. You might want use static IP addresses on the Gigabit NICs and add entries in the /etc/hosts files. This is to prevent the host names from resolving to the 100 MB NICs, since if both hosts are connected to a switch and the routers switch, you have two routes to the other host.

If you are using one of the hosts to access the internet, then the internet connected host needs to have IP forwarding enabled. The IP address for the connected host will be the gateway address for the second host.

I noticed that these IP addresses are public IP addresses. You might want to use a private range for the Gigabit NICs if you are using it for private Host to Host access.

Last edited by jschiwal; 03-30-2007 at 05:03 AM.
 
Old 03-31-2007, 08:36 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Sorry, somehow, after posting message the page changed. Please ignore.

Last edited by jschiwal; 03-31-2007 at 08:37 AM.
 
Old 04-01-2007, 04:37 AM   #4
tytower
Member
 
Registered: Jun 2006
Location: Oz
Distribution: Mandriva 10.0,10.1,10.2,2006,Mepis 6.0,Opensuse10.2,Puppy 2.14
Posts: 250

Rep: Reputation: 30
For what its worth I use say 10.15.15.10 for my internet connected nic and 192.168.1 for my internal network.

Wouldnt your setup 11.12.1 include 11.12.2 and vice versa in both its networks?
 
Old 04-02-2007, 07:40 AM   #5
akerber00
LQ Newbie
 
Registered: Mar 2007
Location: Blue Springs, MO
Distribution: open suse 10.2
Posts: 15

Original Poster
Rep: Reputation: 0
Sorry Tytower, I dont quite understand your question.

Jschiwal, thanks for the input. Yes, the two 100 mbit cards are on a router, the internet gateway is on that router. The gigabit switch just has the two boxes, plus the file server. Here is what happened this weekend: I managed to get the two gigabit cards talking to each other, but when I did that I lost connection to the internet. I set the gateway on the cards to a nonexistent address, 11.12.2.1, and they immediately started communicating. I left the gateway for the 100 mbit cards alone, but I am confident that the gateway on those was changed by the software to 11.12.2.1 also, and thats why I lost internet. Its like I cant use a different gateway on each card. Any ideas?

I was thinking maybe I could get a gigabit router and daisy chain that to the 100 mbit network?

Last edited by akerber00; 04-02-2007 at 07:41 AM.
 
Old 04-11-2007, 12:30 PM   #6
rkhare
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
Smile found a way out

i just found a way out , i uninstalled network manager and now both cards are working great ....... sometimes tools that are designed to help us become a major hurdle :-)
 
  


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
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
Network Configuration in Debian (laptop network card) legendaryhwk Linux - Networking 6 04-06-2006 03:59 AM
network card issue (the card itself no network problem) Youri Linux - Hardware 2 01-23-2006 08:58 AM
Network Card Configuration LoRd Of XAoS Linux - Newbie 7 08-11-2003 09:14 AM
network card configuration jmono Linux - Hardware 1 05-06-2003 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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