Installing extra Lan Card

Matthew Hawkins matt at mh.dropbear.id.au
Fri Jun 21 09:39:32 EST 2002


Michael Smarsz (Michael.Smarsz at transact.com.au) wrote:
> -----Original Message-----
> From: Alan [mailto:bigal at smartchat.net.au]
> Sent: Friday, 21 June 2002 2:09 AM
> 
> >I have installed another Lan card into my Linux machine.
> >I am using manual IP addresses.
> >eth0         =  192.168.0.1       (255.255.255.0)
> >Win2000 = 192.168.0.2
> >Laptop    = 192.168.0.3
> >eth1        =  192.168.0.4
> 
> What you have done is give your machine 2 interfaces on the same
> segment/subnet.  The subnet mask of 255.255.255.0 effectively means
> that all addresses from 192.168.0.0-192.168.255.255 are on that
> interface (local subnet).

Er... Surely it's all addresses from 192.168.0.0-192.168.0.255 with the
class C subnet mask?

In any case, there's no problem doing this provided your routing table
is setup right.  You *might* need to setup static arp entries if things
don't work out as planned.

Of course, making each interface on a separate network does make the
setup *much* easier.

-- 
Matt




More information about the linux mailing list