Sample of Forwarding Table (2004/10/22)
Ver. 1.0
2004年10月22日
栗野 俊一
目次
Forwarding Table の Sample
Network 図
方針
Samlpeのnetworkは次のようになっているとする。
- 全体のNetworkは、class Bの172.16.0.0/16が一つとする。
- 全てのLANは、/24の固定Subnet Maskとする。
- Network NiのNetwork Addressは172.16.i.0とする(1)。
-
全てのRouterは、Interface ( eth0, eth1 )を二つしかもたない。Router Riの情報は以下のようになっている。
Router Riが、Network Nj, Nk ( j > k )(2)に接続していると仮定する(3)と
- eth0
- IP Address : 172.16.j.i (4)
- Netmask : /24 ( 255.255.255.0 ) (5)
- eth1
- IP Address : 172.16.k.i (6)
- Netmask : /24 ( 255.255.255.0 )
Network 図
Networkの接続図は以下の通り。
N1 N2
>--+---< >--+---<
| |
R1 R2
| | N3
>--+---+-----+---------+---<
| |
R3 R4
| N4 | N5
>--+---+-----+---< >---+---+----<
| | |
R5 R6 R7
| N6 | N7 | N8
>--+---< >--+---+--< >---+----<
| |
R8 R9
| | N9
>--+-----+---+----<
|
R10
| N10
>--+-----<
具体的な情報
名前 |
Network Address |
Network Mask |
所属Router |
N1 |
172.16.1.0 |
/24 (255.255.255.0) |
R1 |
N2 |
172.16.2.0 |
/24 (255.255.255.0) |
R2 |
N3 |
172.16.3.0 |
/24 (255.255.255.0) |
R1,R2,R4,R4 |
N4 |
172.16.4.0 |
/24 (255.255.255.0) |
R3,R5,R6 |
N5 |
172.16.5.0 |
/24 (255.255.255.0) |
R4,R7 |
N6 |
172.16.6.0 |
/24 (255.255.255.0) |
R5 |
N7 |
172.16.7.0 |
/24 (255.255.255.0) |
R6,R8 |
N8 |
172.16.8.0 |
/24 (255.255.255.0) |
R7,R9 |
N9 |
172.16.9.0 |
/24 (255.255.255.0) |
R9,R10 |
N10 |
172.16.10.0 |
/24 (255.255.255.0) |
R10 |
名前 |
I/F |
IP Address |
Network Mask |
接続Network |
R1 |
eth0 |
172.16.1.1 |
/24 (255.255.255.0) |
N1 |
|
eth1 |
172.16.3.1 |
/24 (255.255.255.0) |
N3 |
R2 |
eth0 |
172.16.2.2 |
/24 (255.255.255.0) |
N2 |
|
eth1 |
172.16.3.2 |
/24 (255.255.255.0) |
N3 |
R3 |
eth0 |
172.16.3.3 |
/24 (255.255.255.0) |
N3 |
|
eth1 |
172.16.4.3 |
/24 (255.255.255.0) |
N4 |
R4 |
eth0 |
172.16.3.4 |
/24 (255.255.255.0) |
N3 |
|
eth1 |
172.16.5.4 |
/24 (255.255.255.0) |
N5 |
R5 |
eth0 |
172.16.4.5 |
/24 (255.255.255.0) |
N4 |
|
eth1 |
172.16.6.5 |
/24 (255.255.255.0) |
N6 |
R6 |
eth0 |
172.16.4.6 |
/24 (255.255.255.0) |
N4 |
|
eth1 |
172.16.7.6 |
/24 (255.255.255.0) |
N7 |
R7 |
eth0 |
172.16.5.7 |
/24 (255.255.255.0) |
N5 |
|
eth1 |
172.16.8.7 |
/24 (255.255.255.0) |
N8 |
R8 |
eth0 |
172.16.7.8 |
/24 (255.255.255.0) |
N7 |
|
eth1 |
172.16.9.8 |
/24 (255.255.255.0) |
N9 |
R9 |
eth0 |
172.16.8.9 |
/24 (255.255.255.0) |
N8 |
|
eth1 |
172.16.9.9 |
/24 (255.255.255.0) |
N9 |
R10 |
eth0 |
172.16.9.10 |
/24 (255.255.255.0) |
N9 |
|
eth1 |
172.16.10.10 |
/24 (255.255.255.0) |
N10 |
Routing Table
- R1
Network Address |
Subnet Mask |
Next Hop |
172.16.1.0 |
255.255.255.0 |
eth0 |
172.16.2.0 |
255.255.255.0 |
172.16.3.2 |
172.16.3.0 |
255.255.255.0 |
eth1 |
172.16.4.0 |
255.255.255.0 |
172.16.3.3 |
172.16.5.0 |
255.255.255.0 |
172.16.3.4 |
172.16.6.0 |
255.255.255.0 |
172.16.3.3 |
172.16.7.0 |
255.255.255.0 |
172.16.3.3 |
172.16.8.0 |
255.255.255.0 |
172.16.3.4 |
172.16.9.0 |
255.255.255.0 |
172.16.3.3 , 172.16.3.4 |
172.16.10.0 |
255.255.255.0 |
172.16.3.3 , 172.16.3.4 |
- R2
Network Address |
Subnet Mask |
Next Hop |
172.16.1.0 |
255.255.255.0 |
172.16.3.1 |
172.16.2.0 |
255.255.255.0 |
eth0 |
172.16.3.0 |
255.255.255.0 |
eth1 |
172.16.4.0 |
255.255.255.0 |
172.16.3.3 |
172.16.5.0 |
255.255.255.0 |
172.16.3.4 |
172.16.6.0 |
255.255.255.0 |
172.16.3.3 |
172.16.7.0 |
255.255.255.0 |
172.16.3.3 |
172.16.8.0 |
255.255.255.0 |
172.16.3.4 |
172.16.9.0 |
255.255.255.0 |
172.16.3.3 , 172.16.3.4 |
172.16.10.0 |
255.255.255.0 |
172.16.3.3 , 172.16.3.4 |
- R3
Network Address |
Subnet Mask |
Next Hop |
172.16.1.0 |
255.255.255.0 |
172.16.3.1 |
172.16.2.0 |
255.255.255.0 |
172.16.3.2 |
172.16.3.0 |
255.255.255.0 |
eth0 |
172.16.4.0 |
255.255.255.0 |
eth1 |
172.16.5.0 |
255.255.255.0 |
172.16.3.4 |
172.16.6.0 |
255.255.255.0 |
172.16.4.5 |
172.16.7.0 |
255.255.255.0 |
172.16.4.6 |
172.16.8.0 |
255.255.255.0 |
172.16.3.4 |
172.16.9.0 |
255.255.255.0 |
172.16.4.6 |
172.16.10.0 |
255.255.255.0 |
172.16.4.6 |
- R4
Network Address |
Subnet Mask |
Next Hop |
172.16.1.0 |
255.255.255.0 |
172.16.3.1 |
172.16.2.0 |
255.255.255.0 |
172.16.3.2 |
172.16.3.0 |
255.255.255.0 |
eth0 |
172.16.4.0 |
255.255.255.0 |
172.16.3.3 |
172.16.5.0 |
255.255.255.0 |
eth1 |
172.16.6.0 |
255.255.255.0 |
172.16.3.3 |
172.16.7.0 |
255.255.255.0 |
172.16.3.3 |
172.16.8.0 |
255.255.255.0 |
172.16.5.7 |
172.16.9.0 |
255.255.255.0 |
172.16.5.7 |
172.16.10.0 |
255.255.255.0 |
172.16.5.7 |
- R5
Network Address |
Subnet Mask |
Next Hop |
172.16.1.0 |
255.255.255.0 |
172.16.4.3 |
172.16.2.0 |
255.255.255.0 |
172.16.4.3 |
172.16.3.0 |
255.255.255.0 |
172.16.4.3 |
172.16.4.0 |
255.255.255.0 |
eth0 |
172.16.5.0 |
255.255.255.0 |
172.16.4.3 |
172.16.6.0 |
255.255.255.0 |
eth1 |
172.16.7.0 |
255.255.255.0 |
172.16.4.6 |
172.16.8.0 |
255.255.255.0 |
172.16.4.3, 172.16.4.6 |
172.16.9.0 |
255.255.255.0 |
172.16.4.6 |
172.16.10.0 |
255.255.255.0 |
172.16.4.6 |
- R6
Network Address |
Subnet Mask |
Next Hop |
172.16.1.0 |
255.255.255.0 |
172.16.4.3 |
172.16.2.0 |
255.255.255.0 |
172.16.4.3 |
172.16.3.0 |
255.255.255.0 |
172.16.4.3 |
172.16.4.0 |
255.255.255.0 |
eth0 |
172.16.5.0 |
255.255.255.0 |
172.16.4.3 |
172.16.6.0 |
255.255.255.0 |
172.16.4.5 |
172.16.7.0 |
255.255.255.0 |
eth1 |
172.16.8.0 |
255.255.255.0 |
172.16.7.8 |
172.16.9.0 |
255.255.255.0 |
172.16.7.8 |
172.16.10.0 |
255.255.255.0 |
172.16.7.8 |