Re: Submission for mod-protocols-tcp-ip


Charles Hedrick (mcvax!topaz.rutgers.edu!hedrick@seismo.CSS.GOV)
Tue, 3 Mar 87 07:50:30 est


Let us suppose that you have the following configuration:

--------- network 192.1.1
   |
 router, with addresses 192.1.1.1 and 192.1.2.2
   |
--------- network 192.1.2
   |
 router, with addresses 192.1.2.1 and 192.1.3.1
   |
--------- network 192.1.3

Now suppose you have a 4.2 machine on network 192.1.2, whose own
address is 192.1.2.10. Here is the way I would set up routing.

   /usr/etc/route add 192.1.1 192.1.2.2 1
   /usr/etc/route add 192.1.3 192.1.2.1 1

That is, you tell route the address of the router that is used to get
to each other the other networks. The address you give must be the
address of the router's interface on your own network. With this
approach, you need one route command for each network other than the
one your machine is on. If the router has the ability to issue ICMP
redirects, you can do things with a single entry:

  /usr/etc/route add 0 192.1.2.1 1

A network number of 0 specifies this as a default route. That means
that any address not on the local network is sent to 192.1.2.1. If
that machine is not the right one, it should issue a redirect command
that will cause your machine to add a proper routing entry automatically.
I don't know whether the Bridge products issue ICMP redirects or not.



This archive was generated by hypermail 2.0b3 on Thu Mar 09 2000 - 14:37:43 GMT