interface GigabitEthernet0/0(外网口) no ip address duplex auto speed auto pppoe enable group global pppoe-client dial-pool-number 1interface Dialer1 ip address negotiated ip mtu 1492 ip nat outside ip virtual-reassembly max-reassemblies 1024 encapsulation ppp dialer pool 1 ppp pap sent-username 18963(宽带用户名) password 7 13544(密码)interface GigabitEthernet0/1(内网口) ip address 192.168.10.1 255.255.255.0(内网网段) ip nat inside ip virtual-reassembly duplex auto speed autoaccess-list 1 permit 192.168.10.0 0.0.0.255ip nat inside source list 1 interface Dialer1 overloadip route 0.0.0.0 0.0.0.0 Dialer1