Quay Lại   Trung Tâm Đào Tạo Quản Trị Và An Ninh Mạng Athena | Ứng Cứu Máy Tính > QUẢN TRỊ MẠNG VÀ BẢO MẬT MẠNG > CCNA/ CCNP / CCIE

Athena kỷ niệm 5 năm thành lập 12/10/2004 -12/10/2009
Học tại Athena | HỌC PHÍ THẤP NHẤT – ĐÀO TẠO & TUYỂN DỤNG LÀM VIỆC TẠI TT AN NINH MẠNG (lịch khai giảng)
Loading

Gửi trả lời
 
LinkBack Công Cụ Xếp Bài
  #1 (permalink)  
Old 09-07-2009, 09:29 AM
Avatar của nhanld83
Super Moderator
 
Gia nhập: Sep 2009
Bài gởi: 76
Thanks: 4
Thanked 15 Times in 10 Posts
Smile Cấu hình ADSL

Cấu hình ADSL


Ta có mô hình bài Lab ADSL như sau:
[IMG][/IMG]

Ta có file cấu hình cho Router ADSL như bên dưới

ADSL#show run
Building configuration...

Current configuration : 1085 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname adsl2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
ip cef
!
!
!
ip dhcp pool adsl2
import all
network 192.168.100.0 255.255.255.0
default-router 192.168.100.254

!
ip audit po max-events 100
!
!
!
!
!
interface ATM0/0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
pvc 8/35
pppoe-client dial-pool-number 100

!
!
interface Ethernet0/0
ip address 192.168.100.254 255.255.255.0
ip nat inside

half-duplex
!
interface Dialer100
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 100
ppp authentication chap callin
ppp chap hostname cisco
ppp chap password 0 cisco
ppp ipcp dns request accept
!

ip nat inside source list 1 interface Dialer100 overload
ip http server
no ip http secure-server
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer100
!
!
access-list 1 permit 192.168.100.0 0.0.0.255
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end

ADSL#

File cấu hình cho BRAS như bên dưới

BRAS#show running-config
Building configuration...

Current configuration : 1072 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname BRAS
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
ip cef
!
!
!
ip audit po max-events 100
vpdn enable
!
vpdn-group test
accept-dialin
protocol pppoe
virtual-template 100

!
!
!
!
username cisco password 0 cisco
!
!
!
interface Loopback0
ip address 172.16.0.254 255.255.255.0
ip ospf network point-to-point
!
interface Ethernet0/0
no ip address
half-duplex
pppoe enable
!
interface Serial0/0
ip address 172.16.1.1 255.255.255.252
clock rate 64000
!
interface Virtual-Template100
ip unnumbered Loopback0
peer default ip address pool ADSL
ppp authentication chap
ppp ipcp dns 203.162.4.1 203.162.4.191

!
router ospf 1
log-adjacency-changes
network 172.16.0.0 0.0.255.255 area 0
!
ip local pool ADSL 172.16.0.1 172.16.0.200
ip http server
no ip http secure-server
ip classless
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
privilege level 15
no login
!
!
end

BRAS#

Last edited by nhanld83; 09-07-2009 at 09:36 AM.
Trả lời ngay kèm theo trích dẫn này
The Following User Says Thank You to nhanld83 For This Useful Post:
thienbang (10-05-2009)
Gửi trả lời

Công Cụ
Xếp Bài

Quyền Hạn Của Bạn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Hình Diễn tả đang Mở
[IMG] đang Mở
Mã HTML đang Tắt
Trackbacks are Mở
Pingbacks are Mở
Refbacks are Mở



Tất cả thời gian được tính theo GMT +7. Bây giờ là 07:22 PM.

Mã nguồn vBulletin. Copyright ©2000 - 2010.All rights Reserved.


Search Engine Friendly URLs by vBSEO 3.3.0