11.1 WAN接入配置
最终配置<R1>display current-configuration
interface Ethernet0/0/1
ip address 172.16.2.254 255.255.255.0
#
interface Serial1/0/0
link-protocol ppp
ip address 192.168.1.2 255.255.255.0
#
interface Serial1/0/1
link-protocol hdlc
ip address 192.168.2.2 255.255.255.0
#
dialer-rule
dialer-rule 1 ip permit
ip route-static 172.16.1.0 255.255.255.0 192.168.1.1
ip route-static 172.16.3.0 255.255.255.0 Serial1/0/1
<R2>display current-configuration
interface Ethernet0/0/1
ip address 172.16.1.254 255.255.255.0
#
interface Serial1/0/0
link-protocol ppp
ip address 192.168.1.1 255.255.255.0
#
ip route-static 0.0.0.0 0.0.0.0 192.168.1.2
<R3>display current-configuration
interface Ethernet0/0/1
ip address 172.16.3.254 255.255.255.0
#
interface Serial1/0/1
link-protocol hdlc
ip address 192.168.2.1 255.255.255.255
#
ip route-static 0.0.0.0 0.0.0.0 Serial1/0/1
——·扫描下方微信二维码,回复“HCNA手册”。即可领取完整电子版手册或为你答疑解惑。·——
|