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 |
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.
|
 |
04-29-2003, 09:58 PM
|
#1
|
Member
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344
Rep:
|
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
|
|
|
04-29-2003, 11:35 PM
|
#2
|
Member
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344
Original Poster
Rep:
|
Nevermind, found out that my Dlink and my onboard are the same chipset, therefore the same name in neat.
Ian
|
|
|
04-30-2003, 04:17 PM
|
#3
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
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.
|
|
|
04-30-2003, 04:23 PM
|
#4
|
Member
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344
Original Poster
Rep:
|
Ha ha, same here, i lost which was which...
|
|
|
04-30-2003, 05:02 PM
|
#5
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
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.
|
|
|
04-30-2003, 06:09 PM
|
#6
|
Member
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344
Original Poster
Rep:
|
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.
|
|
|
05-02-2003, 01:55 AM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
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.
|
|
|
05-02-2003, 11:52 AM
|
#8
|
Member
Registered: Oct 2002
Location: Lower Alabama
Distribution: Slackware, OpenBSD 3.9
Posts: 344
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 08:04 AM.
|
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
|
|