Network Card Strangeness
Paul Howarth
paul at city-fan.org
Fri Oct 22 15:42:05 UTC 2004
Jonathan Allen wrote:
> I have four network cards in an FC2 machine. This machine is supposed
> to act as a system router between different segments of a LAN, some of
> which is Windows, most of which is Linux, some 10baseT and some 100baseT:
>
> eth0: NC100 Network Everywhere Fast Ethernet 10/100 -- a PCI card
> Manuf: Linksys Driver: tulip
>
> eth1: NC100 Network Everywhere Fast Ethernet 10/100 -- a PCI card
> Manuf: Linksys Driver: tulip
>
> eth2: NC100 Network Everywhere Fast Ethernet 10/100 -- a PCI card
> Manuf: Linksys Driver: tulip
>
> eth3: 3c940 10/100/1000Base-T [Marvell] -- on motherboard
> Manuf: 3Com Corp Driver: sk98lin
>
> In the System Services->Network control panel, all three devices appear
> and can be activated. They then stay active until reboot or network
> restart, but I can't seem to get a 'ping' to work through eth1 or eth2
> even if I use 'route' to make them the default. 'ifconfig' shows them
> all present with their (different or same, it doesn't seem to make any
> difference) IP addresses and 'route' shows almost the correct segment
> routing, except that they all have 192.168.1.0 on them which I don't
> want.
>
> Regardless of the active/inactive state in the control panel, on boot or
> network restart, only eth0 and eth3 are started. Why is this ?
Do you have the appropriate aliases for eth1 and eth2 in /etc/modprobe.conf?
alias eth1 tulip
alias eth2 tulip
> I am trying to get to:
>
> eth0: host IP 192.168.1.64, route: default
> eth1: host IP 192.168.1.64, route: 192.168.1.63 only
> eth2: host IP 192.168.1.64, route: 192.168.1.32 only
> eth3: host IP 192.168.1.64, route: 192.168.1.100 only
What are the IP ranges in use in each of these segments?
I'd have thought it would be something like:
eth0: 192.168.1.0 netmask 255.255.255.224 (i.e. 192.168.1.0 - 192.168.1.31)
eth1: 192.168.1.64 netmask 255.255.255.224 (i.e. 192.168.1.64 - 192.168.1.95)
eth2: 192.168.1.32 netmask 255.255.255.224 (i.e. 192.168.1.32 - 192.168.1.63)
eth3: 192.168.1.96 netmask 255.255.255.224 (i.e. 192.168.1.96 - 192.168.1.127)
The router should have a separate IP address for each interface, in the IP
address range for the segment it is on.
Paul.
More information about the fedora-list
mailing list