这两行命令有必要都存在吗?

作者:思科培训 来源:来自网络 发布时间:10-01-08

学员提问:

interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
ip nat inside
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 59.108.223.114 255.255.255.240
ip nat outside
duplex auto
speed auto
!
ip nat pool xlx 59.108.223.115 59.108.223.126 netmask 255.255.255.240
ip nat inside source list 1 pool xlx overload
ip classless
ip route 0.0.0.0 0.0.0.0 59.108.223.113
ip route 0.0.0.0 0.0.0.0 FastEthernet0/1

ip route 0.0.0.0 0.0.0.0 59.108.223.113,ip route 0.0.0.0 0.0.0.0 FastEthernet0/1这两行命令有必要都存在吗?

 

捷盈讲师及学员解答:

只要其中一条就可以了。