Em đang cấu hình Cisco878 dùng FTTH của VNPT nhưng chưa được, các bác xem giúp em cấu hình của em còn thiếu gì nữa:
!
hostname Cisco878
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$ZOji$2U1oldXQoVOK6WJNmH/oS.
enable password bcth
!
no aaa new-model
!
!
ip cef
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!
!
!
!
!
archive
log config
hidekeys
!
!
controller DSL 0
line-term cpe
!
!
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
no cdp enable
!
interface FastEthernet0
pppoe enable group global
pppoe-client dial-pool-number 1
no cdp enable
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
ip address 192.168.100.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username abc password 0 abc
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer1
!
ip http server
no ip http secure-server
ip nat inside source list 100 interface Dialer1 overload
!
access-list 1 permit 192.168.100.0 0.0.0.255
dialer-list 1 protocol ip permit
snmp-server community public RO
!
!
control-plane
!
!
line con 0
password bcth
login
no modem enable
line aux 0
password bcth
login
line vty 0 4
password bcth
login
!
scheduler max-task-time 5000
no process cpu extended
no process cpu autoprofile hog
end
với mạng LAN của me 192.168.100.0/24
!
hostname Cisco878
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$ZOji$2U1oldXQoVOK6WJNmH/oS.
enable password bcth
!
no aaa new-model
!
!
ip cef
!
!
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!
!
!
!
!
archive
log config
hidekeys
!
!
controller DSL 0
line-term cpe
!
!
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
no cdp enable
!
interface FastEthernet0
pppoe enable group global
pppoe-client dial-pool-number 1
no cdp enable
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
ip address 192.168.100.1 255.255.255.0
ip nat inside
ip virtual-reassembly
!
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username abc password 0 abc
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer1
!
ip http server
no ip http secure-server
ip nat inside source list 100 interface Dialer1 overload
!
access-list 1 permit 192.168.100.0 0.0.0.255
dialer-list 1 protocol ip permit
snmp-server community public RO
!
!
control-plane
!
!
line con 0
password bcth
login
no modem enable
line aux 0
password bcth
login
line vty 0 4
password bcth
login
!
scheduler max-task-time 5000
no process cpu extended
no process cpu autoprofile hog
end
với mạng LAN của me 192.168.100.0/24
Comment