Re: Configuring local network
On Sat, Apr 28, 2001 at 01:07:43PM +0200, franck routier wrote:
> Hi,
>
> I'm trying to configure a network between 2 local computers.
>
> The configuration is :
>
> 1 PC running sid :
> 1 ethernet card to ADSL modem (eth0 10.0.0.1 pptp)
> 1 ethernet card to local network (eth1 10.0.0.2)
>
> 1 Powerbook running potato :
> 1 ethernet onboard card (eth0 10.0.0.3)
>
> 1 cable between them (no hub) (this is ok for only 2 computers, isn't it ?)
It's OK if you use a cross over cable.
>
> On the pc I did 'route add 10.0.0.3 dev eth1'.
> I can ping 10.0.0.2 (eth1).
> On the mac can ping 10.0.0.3.
>
> But I can't ping each machine from the other one.
You need to set the mac to see 10.10.10.2 as the gateway.
>
> Did I miss something ?
> Is there a way to know if the ethernet cards are well recognized ?
> Can it be the cable ?
>
You can run the command /sbin/ifconfig eth0
as well as for eth1. You should have two entries for each card in -
/etc/network/interfaces
There is a man page for "interfaces." I'm assuming your sid box is a
firewall. You need to have Masquerading enabled. Take a look at the
HOWTOs and other docs at - http://www.linuxdoc.org/
That should give you a start.
kent
--
From seeing and seeing the seeing has become so exhausted
First line of "The Panther" - R. M. Rilke
Reply to: