Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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 eth1That 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.

![]() |
![]() |
![]() |

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