<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: Glueing eth0 to cibcp0
From: Ganesh Sittampalam <ganesh,AT,earth,DOT,li>
Date: Mon, 27 Aug 2001 23:01:47 +0200
In-reply-to: <Pine.LNX.4.32.0108271427540.709-100000@matt.home.soup-kitchen.net>

On Mon, 27 Aug 2001, Matthew Bloch wrote:

> Now the CIPE link shows from matt, but the other machines at home can't
> see stoneboat.  I presume this is because 192.168.0.50 isn't an address
> that eth0 will answer for.  But I'm unsure how to proceed from here; is
> there any way of `glueing' eth0 to cibcp0 so that the other machines can
> see stoneboat?

One way you could do this to add an explicit route for 192.168.0.50 on all
the other machines on your home network - "/sbin/route add host
192.168.0.50 gw 192.168.0.51", which will make them send all the traffic
to stoneboat via matt.

However, an easier way is to use something called proxy ARP. As far as
your home network is concerned, matt pretends to be stoneboat, but when it
gets traffic for stoneboat it knows where to send it. On matt, just run
"/sbin/arp -i eth0 -Ds 192.168.0.50 eth0 pub". Then, when any other
computer on the network is looking for 192.168.0.50, matt will answer
saying "it's here", the traffic will be sent to matt which will then route
it on.

Cheers,

Ganesh





<< | Thread Index | >> ]    [ << | Date Index | >> ]