LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: How to install ethernet card?

To: "Ratz" <ratz@xxxxxx>, "Eric" <eric0802@xxxxxxxxxxxxx>
Subject: Re: How to install ethernet card?
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: "Ted Pavlic" <tpavlic@xxxxxxxxxxx>
Date: Thu, 3 Aug 2000 12:23:35 -0400
> > 2...I have three computers now....the window98 is 192.168.0.1
> > and if I run 'ifconfig eth0 192.168.0.2 up'. then they should can ping
each
> > other.
> > Is that right??
>
> theoretically absolutely right!

I didn't see the rest of this thread -- I think the message you are
responding to isn't on the list... <?> so maybe this was covered... but...

They won't be able to ping each other until that network is routed to that
interface. Newer versions of ifconfig do that automatically, but I'm pretty
sure that older versions do not. In that case, just to be sure everything's
kosher, make everything explicit. Give this a shot:

ifconfig eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 up
route add -host 192.168.0.2 eth0
route add -net 192.168.0.0 netmask 255.255.255.0 eth0

I know the genmasking shouldn't be necessary since this is a 192 address,
but I always feel safer if I do everything myself.

It might also be wise to bring the loopback device up, but not necessary.

Just wanted to add those two cents.

All the best --
Ted



<Prev in Thread] Current Thread [Next in Thread>