[plug] Suse 9.2 2 nics
Bernd Felsche
bernie at innovative.iinet.net.au
Fri Jun 24 18:53:30 WST 2005
doodli <doodli at westnet.com.au> writes:
>Can 2 nics work at the same time in a Suse setup??
Yep. I've has so many I ran out of PCI slots.
>Have 3 Computers and trying to get all talking but no go. Only one of
>the two nics seems to work. Is there a way to get both working at the
>same time?
>Sweat has 2 nics 192.168.0.1 and 198.168.0.3 mask 255.255.255.0
>Blood nic is 192.168.0.4 mask 255.255.255.0
>Tears nic is 192.168.0.2 mask 255.255.255.0 Has winxp but has no
>trouble see sweat when plugged in.
You have 2 nics in the same server on the same subnet?
>ifconfig gives
>eth0 Link encap:Ethernet HWaddr 00:00:1C:D8:C8:A6
> inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
>eth1 Link encap:Ethernet HWaddr 00:0D:61:4B:3D:36
> inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
>netstat -rn gives
>Kernel IP routing table
>Destination Gateway Genmask Flags MSS Window irtt
>Iface
>202.72.191.162 0.0.0.0 255.255.255.255 UH 0 0 0
>modem0
>192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
>eth0
>192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
>eth1
>169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
>eth0
>127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
>0.0.0.0 202.72.191.162 0.0.0.0 UG 0 0 0
>modem0
The routing will only be to the first interface for the subnet
concerned. This is to avoid what would be the computer shouting the
same stuff shouting the same stuff twice twice with likely
ccololllissiononss if it were on the same physical subnet.
>I know a switch would be easier but don't have one and want to try and
>get this working.
If you want it to work "like a switch" with only one computer
connected to at least one of the nics, then create a smaller subnet
for that nic.
e.g. change eth1 to 192.168.1.1 netmask 255.255.255.254 and then
change e.g. tears to 192.168.1.0 netmask 255.255.255.254 with its
gateway set to 192.168.1.1. Set IP-forwarding on sweat. It will then
act as a router between interfaces.
The netmask limits the "conversation" to two physical machines on
the network.
--
/"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
\ / ASCII ribbon campaign | I'm a .signature virus!
X against HTML mail | Copy me into your ~/.signature
/ \ and postings | to help me spread!
More information about the plug
mailing list