On Thu, 21 Sep 2000, Robert Jensen wrote:
> Den 21-Sep-00 skrev Fred Wright:
> 
> > As discussed in another thread, this isn't the best way to do it in
> > most cases. Putting the serial link in a different subnet from the LAN
> > avoids the need for Proxy ARP.
> 
> Do you have any idea as to how this could be done?

It's mainly a matter of how you assign the IP addresses.  The possible
combinations are too numerous to cover, but for example:

Suppose the serial gateway machine's LAN IP is 192.168.1.1.  The IP of the
machine connected by the serial link should use a different net number,
say 192.168.2.10 (with the default netmask of 255.255.255.0 for these IPs,
the "net number" is the high 24 bits, i.e. the first 3 numbers).  There a
a few choices for how to choose the IP for the gateway's end of the serial
link: 

1) An IP in the "serial net", e.g. 192.168.2.1.

2) The same IP as the LAN interface, i.e. 192.168.1.1.

3) A combination of #2 with #1 as an alias.

#1 is most straightforward, but means that the "serial machine" can't
reach the gateway by its LAN IP when its LAN interface is offline.

#2 avoids this problem, but means that the interfaces can't be
distinguished by IP.

#3 *may* solve both problems, depending on exactly how
addressing interfaces by IP works in the gateway.


If the serial gateway machine is also the default gateway for the LAN,
then the above setup is sufficient.  If it's not, then the machine that
*is* the default gateway for the LAN needs a routing entry to know that
the serial IP is reachable via the serial gateway IP.

                                        Fred Wright

-- 

To unsubscribe send "unsubscribe miami-talk-ml" to
"[EMAIL PROTECTED]". For help on list commands send "help" to
"[EMAIL PROTECTED]".


Reply via email to