Minh cho hỏi config trên có thiếu những lệnh cung cấp user/password,pvc không ? Modem cấu hình là bridge thôi.
OK, sau khi them pap sent-username
day la config
thì show thấy
nhưng trong Lan ko ra ngoài được, config trên còn thiếu gì ko bạn?
OK, sau khi them pap sent-username
day la config
R1800#sh run
Building configuration...
Current configuration : 3419 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1800
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$7/z8$QYdn3sqKa/4UKZi/2jfiK/
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
no ip routing
no ip cef
!
!
no ip dhcp use vrf connected
!
!
vpdn enable
vpdn ip udp ignore checksum
!
vpdn-group 1
request-dialin
protocol pppoe
!
!
!
!
!
!
!
!
!
!
!
!
!
!
crypto pki trustpoint TP-self-signed-3394622201
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3394622201
revocation-check none
rsakeypair TP-self-signed-3394622201
!
!
crypto pki certificate chain TP-self-signed-3394622201
certificate self-signed 01
3082023E 308201A7 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33333934 36323232 3031301E 170D3039 30323238 30373037
30325A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 33393436
32323230 3130819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100A3BC E9CB1010 D677E1A3 190D1E2D 22308759 0BC5010F F24D0707 6A82E7AF
734C57D4 C74D9E6A 24BEDE52 A7B66E8C 4EB821BA F25EA757 E536E58E 9213EE2E
5A9216BF F03C7BF3 3CD3E67F A024C8CF D8E9BAC1 A1914EC5 08EEC71A 2AF001C1
750986F5 837BD4DE 8FCD54FC D58EC962 A434DC5F D309DAE8 1E43C347 6A3BF107
D11D0203 010001A3 66306430 0F060355 1D130101 FF040530 030101FF 30110603
551D1104 0A300882 06523138 30302E30 1F060355 1D230418 30168014 65DB1FD3
3026CCAB 672D20EB 3BD49859 078D820F 301D0603 551D0E04 16041465 DB1FD330
26CCAB67 2D20EB3B D4985907 8D820F30 0D06092A 864886F7 0D010104 05000381
81004131 995799D6 3176FACD 55A55457 8EB5CAE1 6B80FB52 D7EE7D68 40C29353
67372F57 E778520F 8CE4AED7 BD1C8E07 58203DF7 8234F313 8ECD3A8A 222EB956
09F4A208 02DA2C83 E0CF6F8E DC220B4B DDA650F0 9968B50F CE0E0561 92B196F7
21CD91EC 11D6511D BD599AE8 6291EE07 02B0FA9B 245CC431 C3B3D857 3CF96222 912A
quit
username cisco privilege 15 password 0 123456
!
!
!
!
interface Loopback1
no ip address
!
interface FastEthernet0/0
ip address 192.168.50.2 255.255.255.0
ip nat inside
no ip route-cache
speed auto
half-duplex
no mop enabled
!
interface FastEthernet0/1
no ip address
no ip route-cache
speed auto
half-duplex
pppoe enable
pppoe-client dial-pool-number 1
!
interface Serial0/0/0
no ip address
no ip route-cache
shutdown
no fair-queue
clockrate 2000000
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap callin
ppp chap hostname bowkerhungfungvn
ppp pap sent-username bowkerhungfungvn password 0 nh3768233
!
ip classless
ip route 0.0.0.0 0.0.0.0 123.22.96.1
!
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 600 life 86400 requests 10000
ip nat inside source list 1 interface Dialer1 overload
!
access-list 1 permit 192.168.50.0 0.0.0.255
dialer-list 1 protocol ip permit
snmp-server community public RO
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
privilege level 15
password 123456
login local
transport input telnet ssh
!
end
Building configuration...
Current configuration : 3419 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1800
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$7/z8$QYdn3sqKa/4UKZi/2jfiK/
!
no aaa new-model
!
resource policy
!
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip subnet-zero
no ip routing
no ip cef
!
!
no ip dhcp use vrf connected
!
!
vpdn enable
vpdn ip udp ignore checksum
!
vpdn-group 1
request-dialin
protocol pppoe
!
!
!
!
!
!
!
!
!
!
!
!
!
!
crypto pki trustpoint TP-self-signed-3394622201
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3394622201
revocation-check none
rsakeypair TP-self-signed-3394622201
!
!
crypto pki certificate chain TP-self-signed-3394622201
certificate self-signed 01
3082023E 308201A7 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 33333934 36323232 3031301E 170D3039 30323238 30373037
30325A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 33393436
32323230 3130819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100A3BC E9CB1010 D677E1A3 190D1E2D 22308759 0BC5010F F24D0707 6A82E7AF
734C57D4 C74D9E6A 24BEDE52 A7B66E8C 4EB821BA F25EA757 E536E58E 9213EE2E
5A9216BF F03C7BF3 3CD3E67F A024C8CF D8E9BAC1 A1914EC5 08EEC71A 2AF001C1
750986F5 837BD4DE 8FCD54FC D58EC962 A434DC5F D309DAE8 1E43C347 6A3BF107
D11D0203 010001A3 66306430 0F060355 1D130101 FF040530 030101FF 30110603
551D1104 0A300882 06523138 30302E30 1F060355 1D230418 30168014 65DB1FD3
3026CCAB 672D20EB 3BD49859 078D820F 301D0603 551D0E04 16041465 DB1FD330
26CCAB67 2D20EB3B D4985907 8D820F30 0D06092A 864886F7 0D010104 05000381
81004131 995799D6 3176FACD 55A55457 8EB5CAE1 6B80FB52 D7EE7D68 40C29353
67372F57 E778520F 8CE4AED7 BD1C8E07 58203DF7 8234F313 8ECD3A8A 222EB956
09F4A208 02DA2C83 E0CF6F8E DC220B4B DDA650F0 9968B50F CE0E0561 92B196F7
21CD91EC 11D6511D BD599AE8 6291EE07 02B0FA9B 245CC431 C3B3D857 3CF96222 912A
quit
username cisco privilege 15 password 0 123456
!
!
!
!
interface Loopback1
no ip address
!
interface FastEthernet0/0
ip address 192.168.50.2 255.255.255.0
ip nat inside
no ip route-cache
speed auto
half-duplex
no mop enabled
!
interface FastEthernet0/1
no ip address
no ip route-cache
speed auto
half-duplex
pppoe enable
pppoe-client dial-pool-number 1
!
interface Serial0/0/0
no ip address
no ip route-cache
shutdown
no fair-queue
clockrate 2000000
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap callin
ppp chap hostname bowkerhungfungvn
ppp pap sent-username bowkerhungfungvn password 0 nh3768233
!
ip classless
ip route 0.0.0.0 0.0.0.0 123.22.96.1
!
!
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 600 life 86400 requests 10000
ip nat inside source list 1 interface Dialer1 overload
!
access-list 1 permit 192.168.50.0 0.0.0.255
dialer-list 1 protocol ip permit
snmp-server community public RO
!
!
!
control-plane
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
privilege level 15
password 123456
login local
transport input telnet ssh
!
end
Interface IP-Address OK? Method Status Prot
ocol
FastEthernet0/0 192.168.50.2 YES NVRAM up up
FastEthernet0/1 unassigned YES NVRAM up up
Serial0/0/0 unassigned YES NVRAM administratively down down
NVI0 unassigned YES unset up up
Virtual-Access1 unassigned YES unset up up
Dialer1 203.210.225.4 YES IPCP up up
Loopback1 unassigned YES NVRAM up up
ocol
FastEthernet0/0 192.168.50.2 YES NVRAM up up
FastEthernet0/1 unassigned YES NVRAM up up
Serial0/0/0 unassigned YES NVRAM administratively down down
NVI0 unassigned YES unset up up
Virtual-Access1 unassigned YES unset up up
Dialer1 203.210.225.4 YES IPCP up up
Loopback1 unassigned YES NVRAM up up
Comment