telnet 192.168.X.1 //进入路由
admin //输入用户名
admin //输入密码
show run //查看运行配置
config t
int tunnel11
no tunnel source Dialer0
tunnel source F0/0
exit
int f0/0
ip address 1.1.1.1 255.255.255.0 //设置运营商提供的ip地址、子网掩码。将1.1.1.1 255.255.255.0替换为运营商提供的ip地址、子网掩码
no pppoe enable group global
no pppoe-client dial-pool-number 1
ip nat outside
exit
no ip route 0.0.0.0 0.0.0.0 Dialer0
ip route 0.0.0.0 0.0.0.0 1.1.1.1 //将1.1.1.1替换为运营商提供的网关
no ip nat inside source list NAT interface Dialer0 overload
ip nat inside source list NAT interface FastEthernet0/0 overload
exit
wr //保存设置