Computing.Net > Forums > Networking > MULTI ETHERNET CARD LINUX - PROBLEM

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

MULTI ETHERNET CARD LINUX - PROBLEM

Reply to Message Icon

Name: Alexandre Ghisolfi
Date: May 29, 2001 at 12:03:43 Pacific
Comment:

I have a server with 2 nics under linux kernel 2.2, my problem is that all information is captuted by
the eth1, even the information to the IP alias of the eth0 is captured by the eth1...
I can ping my eth0(from the server, but not from the host) and it looks all right...
Where is the problem???

Thanks...Ghisolfi



Sponsored Link
Ads by Google

Response Number 1
Name: Apple
Date: June 6, 2001 at 12:14:17 Pacific
Reply:

When you type ifconfig, are the IP addresses correct? How do you have the two cards defined in modules.conf?

/etc/modules.conf:
alias net-pf-4 off
alias net-pf-5 off
alias eth0 ne
alias eth1 ne
options ne io=0x2a0,0x2c0

/etc/rc.d/rc.inet1:
# eth0 (dynamic IP)
/sbin/dhcpcd -d
# eth1 (local IP)
/sbin/ifconfig eth1 192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0
/sbin/route add -net 192.168.1.0 netmask 255.255.255.0 eth1

That was a Slackware config. For the RedHat version, run linuxconf and basically follow the directions. I can't really say.

If you have an IP address for eth0, the line is the same as eth1 (except different 8). If the two subnets are different based on your netmask, you won't be able to ping from one to the other anyway. You need IP forwarding installed to do that.

Good luck.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: MULTI ETHERNET CARD LINUX - PROBLEM

Ethernet Card problem www.computing.net/answers/networking/ethernet-card-problem/13111.html

ethernet card interface problem! www.computing.net/answers/networking/ethernet-card-interface-problem/3733.html

Ethernet card speed test? www.computing.net/answers/networking/ethernet-card-speed-test/12300.html