LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-29-2003, 09:58 PM   #1
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Rep: Reputation: 31
setting up 2 network cards


I have a redhat 8 box that I am trying to set up IP Masq on. It has an onboard Reaktek net interface, and today I installed a D-link DFE-530TX+ NIC. After I put it in, kudzu configured it, and kudzu blitzed all my settings for the onboard interface. So I set it back up, and got internet only by activating both NICs with the same IP settings. Now, in Neat, when I bring down the internal interface, supposedly eth0 & identified as the Realtek interface, it kills my outbound connection, but when I bring down eth1, it kills my internal connection. I know I have all the cables hooked up properly, I triple-checked them. I just want my cards ID'd properly!

Many thanks,
Ian
 
Old 04-29-2003, 11:35 PM   #2
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Original Poster
Rep: Reputation: 31
Nevermind, found out that my Dlink and my onboard are the same chipset, therefore the same name in neat.

Ian
 
Old 04-30-2003, 04:17 PM   #3
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
D-Link uses RealTek 8139 driver. Just make sure not to mistake them two! I had the problem with my router and I did not know which card was connected to the DSL modem and which to the LAN switch! Physically I knew, but did not know which was eth0 and which was eth1 to Linux.

Last edited by Thetargos; 04-30-2003 at 04:19 PM.
 
Old 04-30-2003, 04:23 PM   #4
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Original Poster
Rep: Reputation: 31
Ha ha, same here, i lost which was which...
 
Old 04-30-2003, 05:02 PM   #5
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
I hope you did solve the puzzle... (usually on-board cards are eth0)

Edit: Remember that you need the two cards with different IP's, although one uses your ppp0 interface, you need it to have it's own IP to reffer the rest of the computers on the LAN to it as your GateWay.

Last edited by Thetargos; 04-30-2003 at 05:06 PM.
 
Old 04-30-2003, 06:09 PM   #6
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Original Poster
Rep: Reputation: 31
Of course, I fired up neat and disabled one, if i lost internet, then i knew which it was. My onboard is actually eth1. I don't need PPPoE here, if thats what you mean with the ppp0 reference. I didn't have to actually redo my network, i just wanted a static IP. My ISP uses NAT, so DyDNS wouldn't work for me, either. On top of that, the DSL modem/router is their property, so I couldn't change routing settings if I wanted to.

Ian

Last edited by green_dragon37; 04-30-2003 at 06:14 PM.
 
Old 05-02-2003, 01:55 AM   #7
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
What I meant is that you can have the modem connected to one NIC and of course your LAN to the other, but since your ISP uses NAT I suppose it uses the NAT on the modem, right? so you would have to reset it to free the NAT address? Anyway, Linux has to know how to communicate with your NIC attached to the modem, wich would be your gateway to your modem instead of your LAN NIC which would serve as a bridge between the LAN and the NIC with the modem, thus your gateway. This is why both NICs have to have two IP addresses (static if you like). If your ISP uses static IP's use that for your NIC connected to the modem, then use another arbitrary IP for your LAN, remember that your computer can act as a bridge between the two networks, so you would not have to have a similar IP scheme for your LAN that that supplied by your ISP.

Your ISP has a network which your computer becomes member of by installing the modem and connecting to the ISP, so the other NIC has your private and static IP for your LAN, BUT you will need to redirect the computers on your LAN to the NIC actually connected to the modem through your LAN connected NIC.(the bridge). I hope this is how it works My ISP uses (as you well said) PPPoE to connect my DSL.

Last edited by Thetargos; 05-02-2003 at 02:01 AM.
 
Old 05-02-2003, 11:52 AM   #8
green_dragon37
Member
 
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344

Original Poster
Rep: Reputation: 31
Yeah, I had a general idea of how it works. I set up my net 2 days ago using various howtos from tldp. If you're interested, this is how my ISP recommends doing it.

http://support.gulftel.net/ics/

Thanks
Ian
 
  


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
two network cards - one for local network, one for http/vsftpd server scottster Linux - Networking 1 01-20-2005 08:52 PM
Setting up wireless network cards in Slack 10?? Rhatlinux Slackware 2 10-21-2004 07:49 PM
Problems setting up my internet connection, DSL with two network cards ALInux Linux - Networking 8 08-23-2004 02:48 PM
onboard (asus a7n8x-x) sound and network cards and bt848 tv card setting in mandrake janny7 Linux - Hardware 2 08-11-2004 01:47 AM
Setting up Slackware 9.1 to use multiple network cards? Lynx2112 Slackware 7 06-10-2004 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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