LinuxQuestions.org
Visit Jeremy's Blog.
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 08-26-2001, 03:04 PM   #1
CTriscuit
LQ Newbie
 
Registered: Aug 2001
Distribution: Redhat 7.1
Posts: 4

Rep: Reputation: 0
Unhappy Dueling Network Cards


Just installed Redhat 7.1 and am eventually going to have it doing IP masq with a Win95 box behind it and a connection to a cable modem in front. Unfortunately, I've run into a problem that is not covered in the few IP masq HOWTOs that I can find.

I have two ethernet cards in the linux box, a 3Com and a DLink, both of which work properly if they are the only active card. Eth0 is connected to the cable modem, eth1 is connected by a xover cable to my win95 box. If I have eth0 active on boot and eth1 not, then I can ping the outside world and such through eth0. If I have eth1 active on boot and eth 0 not, then my linux box and my win95 box can ping each other just fine (win95 box has eth1 as its gateway). However, if I have both eth0 and eth1 active on boot, only eth0 works properly, I can no longer ping back and forth between my two boxes.
 
Old 08-26-2001, 03:11 PM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Sounds like you have a hardware conflict - check you IRQs and if possible hard set them to ensure that you don't get plug-n-pray giving you problems.

cheers

Jamie...
 
Old 08-26-2001, 03:44 PM   #3
CTriscuit
LQ Newbie
 
Registered: Aug 2001
Distribution: Redhat 7.1
Posts: 4

Original Poster
Rep: Reputation: 0
A little snippet from ifconfig -a

eth0
Interrupt: 5 Base Address: 0xd400

eth1
Interrupt: 10 Base Address: 0x1f00
 
Old 08-26-2001, 05:02 PM   #4
CTriscuit
LQ Newbie
 
Registered: Aug 2001
Distribution: Redhat 7.1
Posts: 4

Original Poster
Rep: Reputation: 0
nm I got it fixed

My main mistake was assuming a network restart would do the trick whenever I changed config info, so the little things I was trying to get it working weren't being registered. Reboot the thing and it works fine, I can ping between the two boxes and the linux box can ping the outside world. Now I can set up my IP masq stuff.

Thanks anyway.
 
Old 08-22-2003, 03:29 AM   #5
shyam
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
Dear Sir,

I want to know about your problem. But i need some more information to short out the problem. Pl send me the information by generating commands

1. route

2. igconfig

And two file's(ifcfg-eth0,ifcfg-eth1) information


1. /etc/sysconfig/network-script/ifcfg-eth0

2. /etc/sysconfig/network-script/ifcfg-eth1


shyamapada@pecon.co.in
 
  


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
Dueling Kernels---How to maintain two versions Woodsman Slackware 10 11-29-2005 05:06 PM
2 network cards, single network, load balancing? tormentum Linux - Networking 1 02-13-2005 03:37 PM
two network cards - one for local network, one for http/vsftpd server scottster Linux - Networking 1 01-20-2005 09:52 PM
2 network cards, 2 network connections - routing problem tvojvodi Linux - Networking 4 02-24-2004 04:26 PM
Dueling Browse Masters? matt Linux - Networking 10 09-04-2001 08:43 PM

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

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