我的配置 Router#sh ru Building configuration... Current configuration : 3362 bytes ! version 12.1 no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Router ! logging buffered 4096 debugging ! username admin password 0 admin ! ! ! ! ip subnet-zero ! ! ! ! ! ! interface FastEthernet0/0 ip address 192.168.0.1 255.255.255.0 ip access-group 101 in ip access-group 101 out ip nat inside duplex auto speed auto ! interface FastEthernet0/0.1 encapsulation dot1Q 2 ip address 192.168.1.254 255.255.255.0 ip access-group 110 in ip access-group 110 out ip nat inside ! interface FastEthernet0/0.2 encapsulation dot1Q 3 ip address 192.168.2.254 255.255.255.0 ip access-group 110 in ip access-group 110 out ip nat inside ! interface FastEthernet0/0.3 encapsulation dot1Q 4 ip address 192.168.3.254 255.255.255.0 ip access-group 110 in ip access-group 110 out ip nat inside ! interface FastEthernet0/0.4 encapsulation dot1Q 5 ip address 192.168.4.254 255.255.255.0 ip access-group 110 in ip access-group 110 out ip nat inside ! interface FastEthernet0/0.5 encapsulation dot1Q 6 ip address 192.168.5.254 255.255.255.0 ip access-group 110 in ip access-group 110 out ip nat inside ! interface FastEthernet0/0.6 encapsulation dot1Q 7 ip address 192.168.6.254 255.255.255.0 ip access-group 110 in ip access-group 110 out ip nat inside ! interface FastEthernet0/0.7 encapsulation dot1Q 8 ip address 192.168.7.254 255.255.255.0 ip access-group 110 in ip access-group 110 out ip nat inside ! interface FastEthernet0/1 ip address 61.191.136.82 255.255.255.248 ip access-group 110 in ip access-group 110 out ip nat outside speed auto full-duplex ! interface Serial1/0 physical-layer async ip unnumbered FastEthernet0/0 ip access-group 110 in ip access-group 110 out ip nat inside encapsulation ppp ip tcp header-compression passive no ip mroute-cache dialer in-band dialer idle-timeout 28800 async default routing async dynamic address async mode dedicated peer default ip address pool group-1 no cdp enable ppp authentication chap ! interface Serial1/1 no ip address shutdown ! interface Serial1/2 no ip address shutdown ! interface Serial1/3 no ip address shutdown ! interface Dialer1 ip unnumbered FastEthernet0/0 ip access-group 110 in ip access-group 110 out encapsulation ppp ip tcp header-compression passive no ip mroute-cache dialer in-band dialer-group 1 peer default ip address pool group-1 no cdp enable ppp authentication chap ! ip local pool group-1 192.168.7.10 192.168.7.20 ip nat inside source list 1 interface FastEthernet0/1 overload ip nat inside source static 192.168.7.5 61.191.136.84 ip nat inside source static 192.168.7.4 61.191.136.83 ip nat inside source static 192.168.7.7 61.191.136.85 ip classless ip route 0.0.0.0 0.0.0.0 61.191.136.81 ip http server ! access-list 1 permit 192.168.0.0 0.0.255.255 access-list 110 deny udp any any eq 1434 access-list 110 deny udp any any eq 135 access-list 110 deny tcp any any eq 135 access-list 110 deny tcp any any eq 445 access-list 110 permit ip any any ! line con 0 password XXXXXXX login line 33 exec-timeout 0 0 login local modem InOut modem autoconfigure discovery transport input all autoselect during-login autoselect ppp stopbits 1 speed 115200 flowcontrol hardware line aux 0 line vty 0 4 password comserver login ! end |