作業
(LAN 部分使用 192.168.xx/24,
WAN 部分使用 172.16.xx/24,
xx代表代表職工號碼)
example :
(For Router 2 & f0/1=>172.16.2/24, f0/0=>192.168.2/24)
enable
conf t
int f0/1
ip address 172.16.2.254 255.255.255.0
int f0/0
ip address 192.168.2.254 255.255.255.0
Ctrl-Z
show ip int b
(For Router 3 & f0/1=>172.16.2/24, f0/0=>192.168.3/24)
enable
conf t
int f0/1
ip address 172.16.2.253 255.255.255.0
int f0/0
ip address 192.168.3.254 255.255.255.0
Ctrl-Z
show ip int b
(For PC2)
ipconfig /ip 192.168.2.1 255.255.255.0
ipconfig /dg 192.168.2.254
(For PC6)
ipconfig /ip 192.168.3.1 255.255.255.0
ipconfig /dg 192.168.3.254
不用打
Routing Table
(For Router 2)
Dest. Interface Gateway
192.168.2.0 Connected
192.168.3.0 f0/1 172.16.2.253
172.16.2.0 Connected
(For Router 3)
Dest. Interface Gateway
192.168.2.0 f0/1 172.16.2.254
192.168.3.0 Connected
172.16.2.0 Connected
ip route xxx.xxx.xxx.0 255.255.255.0 xxx.xxx.xxx.xxx
(For Router 2 & f0/1=>172.16.2/24, f0/0=>192.168.2/24)
en
conf t
ip route 192.168.3.0 255.255.255.0 172.16.2.253exit
(For Router 3 & f0/1=>172.16.2/24, f0/0=>192.168.3/24)
en
conf t
ip route 192.168.2.0 255.255.255.0 172.16.2.254
exit
ping 192.168.2.1
copy run start
copy start tftp
192.168.2.1
123456-R3
Router 3 路由表
PC2 ping PC6 (or PC2 tracert PC6)
dir
|