Сеть      "Office"
  +--------+         +--------+            Network   195.1.2.0
  |        |         |        |            Netmask   255.255.255.0
  +--------+         +--------+            Broadcast 195.1.2.255
     | 195.1.2.3         | 195.1.2.10
 ----+-------------------+--------------------------+-------------
          |195.1.2.1                                | 195.1.2.2
  +--------+                                     +--------+
|-|GatewayD|                                     |GatewayO|
| +--------+                                     +--------+
| 198.8.2.1                                     SLIP : 122.5.6.9
|              Сеть      "Developers"                :
| +-------+    Network   198.8.2.0                   :
|-|       |    Netmask   255.255.255.0             Modem
| +-------+    Broadcast 198.8.2.255               . . .
| 198.8.2.2
|                                                  Modem
| +-------+                                        . . .
|-|       |                                          :
| +-------+                                      SLIP: 122.5.6.10
| 198.8.2.3                                     +--------+
                                                |GatewayF|
                                       122.5.6.3+----+---+
   --------------------------------------------------+--------
     | 122.5.6.1         | 122.5.6.2       Сеть      "Filial"
  +--------+         +--------+            Network   122.5.6.0
  |        |         |        |            Netmask   255.255.255.192
  +--------+         +--------+            Broadcast 122.5.6.63

           Статические таблицы маршрутизации

Обычный Host        IP       198.8.2.2
сети "Developers"   Net:     198.8.2.0 -- 198.8.2.255
198.8.2.0           Default: 198.8.2.1

Мост "GatewayD"     ifconfig eth0 198.8.2.1
                    ifconfig eth1 195.1.2.1
                        route add net 198.8.2.0 198.8.2.1  0
                        route add net 195.1.2.0 195.1.2.1  0
                        route add       default 195.1.2.2  1

Мост "GatewayO"     ifconfig eth0 195.1.2.2
                    ifconfig sl0 122.5.6.9 pointopoint 122.5.6.10
                        route add net 195.1.2.0 195.1.2.2  0
                        route add net 198.8.2.0 195.1.2.1  1
                        route add      default 122.5.6.10  1

Обычный Host        IP       195.1.2.3
сети "Office"       Net:     195.1.2.0 -- 195.1.2.255
195.1.2.0           Default: 195.1.2.2
                        route add net 198.8.2.0 195.1.2.1  1

Популярность: 1, Last-modified: Mon, 23 Feb 1998 20:52:42 GmT