拓扑图:
步骤一:配置IP地址
PCA IP:172.20.106.2 MASK:255.255.255.0 GAT :172.20.106.1
SERVER0: IP: 10.10.10.2 MASK:255.255.255.0 GAT:10.10.10.1
RA:
Router#
Router#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip add 172.20.106.2 255.255.255.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#int s2/0
Router(config-if)#
Router(config-if)#ip add 192.168.10.1 255.255.255.0
Router(config-if)#no sh
%LINK-5-CHANGED: Interface Serial2/0