路由器+WIC+ADSL的配置(静态和动态)
10-15 21:47:25
来源:http://www.qz26.com 网络基础知识 阅读:8904次
导读:动态ip:router#sho runBuilding configuration...Current configuration : 5285 bytes!version 12.1no service single-slot-reload-enableno service pad servicetimestamps debug uptimeservice timestamps log uptimeno service passWord-encryption!hostname router!logging rate-limit console 10 except errorsenable secret 5 $1$K3L0$0rhn4PtXPWL2hqzIWDk2M1!username zhu password 0 123user
路由器+WIC+ADSL的配置(静态和动态),标签:网络基础,计算机网络基础知识,http://www.qz26.com
动态ip:
router#sho run
Building configuration...
Current configuration : 5285 bytes
!
version 12.1
no service single-slot-reload-enable
no service pad
servicetimestamps debug uptime
service timestamps log uptime
no service passWord-encryption
!
hostname router
!
logging rate-limit console 10 except errors
enable secret 5 $1$K3L0$0rhn4PtXPWL2hqzIWDk2M1
!
username zhu password 0 123
username guest password 0 guest
clock timezone Shanghai 8
mmi polling-interval 60
mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
no ip finger
no ip domain-lookup
ip name-server 202.96.199.133
ip dhcp excluded-address 192.168.0.254
!
ip dhcp pool DHCPPool
import all
network 192.168.0.0 255.255.255.0
default-router 192.168.0.254
dns-server 202.96.199.133
!
no ip dhcp-client network-discovery
vpdn enable
no vpdn logging
!
vpdn-group 1
request-dialin
protocol pppoe
!
!
!
!
interface Ethernet0
ip address 192.168.2.254 255.255.255.0 secondary
ip address 192.168.0.254 255.255.255.0
ip Access-group 188 in
ip accounting output-packets
ip adjust-mss 1450
ip nat inside
hold-queue 32 in
!
interface ATM0
bandwidth 512
no ip address
no atm ilmi-keepalive
pvc 0/16 ilmi
!
pvc 8/81
protocol pppoe
pppoe-client dial-pool-number 1
!
bundle-enable
dsl operating-mode auto
hold-queue 224 in
!
!
!
interface Dialer1
bandwidth 512
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
动态ip:
router#sho run
Building configuration...
Current configuration : 5285 bytes
!
version 12.1
no service single-slot-reload-enable
no service pad
servicetimestamps debug uptime
service timestamps log uptime
no service passWord-encryption
!
hostname router
!
logging rate-limit console 10 except errors
enable secret 5 $1$K3L0$0rhn4PtXPWL2hqzIWDk2M1
!
username zhu password 0 123
username guest password 0 guest
clock timezone Shanghai 8
mmi polling-interval 60
mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
no ip finger
no ip domain-lookup
ip name-server 202.96.199.133
ip dhcp excluded-address 192.168.0.254
!
ip dhcp pool DHCPPool
import all
network 192.168.0.0 255.255.255.0
default-router 192.168.0.254
dns-server 202.96.199.133
!
no ip dhcp-client network-discovery
vpdn enable
no vpdn logging
!
vpdn-group 1
request-dialin
protocol pppoe
!
!
!
!
interface Ethernet0
ip address 192.168.2.254 255.255.255.0 secondary
ip address 192.168.0.254 255.255.255.0
ip Access-group 188 in
ip accounting output-packets
ip adjust-mss 1450
ip nat inside
hold-queue 32 in
!
interface ATM0
bandwidth 512
no ip address
no atm ilmi-keepalive
pvc 0/16 ilmi
!
pvc 8/81
protocol pppoe
pppoe-client dial-pool-number 1
!
bundle-enable
dsl operating-mode auto
hold-queue 224 in
!
!
!
interface Dialer1
bandwidth 512
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
Tag:网络基础知识,网络基础,计算机网络基础知识,电脑培训学习 - 网络知识 - 网络基础知识