ISCW10S02L04DSL配置.ppt

上传人:小飞机 文档编号:6508818 上传时间:2023-11-07 格式:PPT 页数:44 大小:2.03MB
返回 下载 相关 举报
ISCW10S02L04DSL配置.ppt_第1页
第1页 / 共44页
ISCW10S02L04DSL配置.ppt_第2页
第2页 / 共44页
ISCW10S02L04DSL配置.ppt_第3页
第3页 / 共44页
ISCW10S02L04DSL配置.ppt_第4页
第4页 / 共44页
ISCW10S02L04DSL配置.ppt_第5页
第5页 / 共44页
点击查看更多>>
资源描述

《ISCW10S02L04DSL配置.ppt》由会员分享,可在线阅读,更多相关《ISCW10S02L04DSL配置.ppt(44页珍藏版)》请在三一办公上搜索。

1、Teleworker Connectivity,配置 CPE 作为 PPPoE或PPPoA 客户端,配置路由器作为PPPoE 客户端,配置任务:配置以太网接口上的PPPoE拨号,配置以太网接口配置拨号接口配置 PAT配置 DHCP 服务器配置一条静态默认路由,示例:配置以太网接口上的PPPoE拨号,示例:配置以太网接口上的PPPoE拨号(Cont.),配置任务:配置ATM接口 作为PPPoE 客户端,配置 ATM 接口配置拨号接口配置PAT配置 DHCP 服务配置静态默认路由,示例:配置ATM接口 作为PPPoE 客户端,示例:配置ATM接口 作为PPPoE 客户端(Cont.),配置 PPP

2、oE 客户,PPPoE Client Configuration,Configures the Ethernet interface,interface ethernet number,router(config)#,pppoe enable,router(config-if)#,pppoe-client dial-pool-number number,router(config-if)#,Enables PPPoE on Ethernet interface,Binds a dialer profile to the Ethernet interface,示例:配置 PPPoE Client

3、,配置 PPPoE DSL 拨号接口,配置 PPPoE 拨号接口,Configures the dialer interface.,interface dialer number,router(config)#,encapsulation ppp,router(config-if)#,ip address negotiated,router(config-if)#,Specifies PPP encapsulation for the dialer interface.,Sets IP address to be negotiated with the remote peer using IP

4、CP.,Configuring the PPPoEDialer Interface(Cont.),Binds dialer interface to the dialer pool,dialer pool pool_number,router(config-if)#,ip mtu mtu_size,router(config-if)#,ppp authentication chap callin,router(config-if)#,Reduces the maximum Ethernet payload size because the PPPoE header requires 8 byt

5、es,(Optional)Configures PPP authentication CHAP,示例:配置PPPoE 拨号接口,配置 PAT,Port Address Translation,配置PAT,Specifies the addresses that may be translated,access-list ACL_num permit|deny protocol source_network source_wildcard destination_network destination_wildcard,router(config)#,ip nat inside source l

6、ist ACL_num interface interface number overload,router(config)#,ip nat inside|outside,router(config-if)#,Enables dynamic translation of addresses using the assigned IP address of the interface,Specifies the interface as inside or outside related to PAT,示例:PAT 配置,配置 DHCP 扩展 DSL应用,配置 DHCP Server,Enabl

7、es a DHCP pool for use by hosts and enters DHCP pool configuration mode.,ip dhcp pool pool_name,router(config)#,import all,router(dhcp-config)#,network network_address subnet_mask,router(dhcp-config)#,Imports DNS and WINS information from IPCP.,Specifies the network and subnet mask of the pool.,defa

8、ult-router address,router(dhcp-config)#,Specifies the default router for the pool to use.,示例:DHCP Server 配置,配置静态默认路由,Configuring a Static Default Route,The CPE can use a static default route to reach all remote destinations.,ip route 0.0.0.0 0.0.0.0 interface number,router(config)#,Example:Static De

9、fault Route,检验 PPPoE 配置,检验 PPPoE配置,Displays PPPoE protocol messages about events that are part of normal session establishment or shutdown,debug pppoe events,router#,debug ppp authentication,router#,show pppoe session,router#,Displays authentication protocol messages,including CHAP and PAP packet ex

10、changes,Displays basic information about currently active PPPoE sessions,Verifying a PPPoE Configuration(Cont.),Displays address bindings on the Cisco IOS DHCP server,show ip dhcp binding,router#,show ip nat translations,router#,ipconfig/all,C:Documents and SettingsUser,Displays active NAT translati

11、ons,Displays the complete IP configuration on Windows NT,2000,or XP system,CPE#show pppoe sessionTotal PPPoE sessions 1PPPoE Session InformationUID SID RemMAC Intf Intf Session LocMAC VASt state0 5989 0090.1a41.1a83 Et1 Vi2 N/A 000b.46e2.eb36 UP,Debug VPDN PPPoE Events,CPE#debug pppoe events15:13:41

12、.991:Sending PADI:Interface=Ethernet115:13:42.083:PPPoE 0:I PADO15:13:44.091:PPPOE:weve got our pado and the pado timer went off15:13:44.091:OUT PADR from PPPoE Session15:13:44.187:PPPoE 5989:I PADS15:13:44.187:IN PADS from PPPoE Session,Determine if the PPPoE connect phase is successful.,Get the st

13、atus of the PPPoE session.,Debug PPP Authentication,Enable debugging for PPP authentication to verify authentication success.,CPE#debug ppp authenticationCPE#configure terminalEnter configuration commands,one per line.End with CNTL/Z.CPE(config)#interface ATM 0/0CPE(config-if)#no shutdown00:19:05:%L

14、INK-3-UPDOWN:Interface ATM 0/0,changed state to up00:19:06:%LINEPROTO-5-UPDOWN:Line protocol on Interface ATM0/0,changed state to up00:19:29:%DIALER-6-BIND:Interface Vi2 bound to profile Di100:19:29:Vi2 PPP:Using dialer call direction00:19:29:Vi2 PPP:Treating connection as a callout00:19:29:Vi2 PPP:

15、Authorization required00:19:29:Vi2 PPP:No remote authentication for call-out00:19:29:%LINK-3-UPDOWN:Interface Virtual-Access2,changed state to up00:19:31:Vi2 CHAP:I CHALLENGE id 1 len 24 from ISP00:19:31:Vi2 CHAP:Using hostname from interface CHAP00:19:31:Vi2 CHAP:Using password from AAA00:19:31:Vi2

16、 CHAP:O RESPONSE id 1 len 25 from CPE00:19:32:Vi2 CHAP:I SUCCESS id 1 len 400:19:33:%LINEPROTO-5-UPDOWN:Line protocol on Interface Virtual-Access2,changed state to up,Verify DHCP Clients,C:Documents and SettingsUseripconfig/allWindows 2000 IP ConfigurationEthernet adapter LAB:Connection-specific DNS

17、 Suffix.:Description.:Intel(R)PRO/1000 MT Mobile Connection Physical Address.:00-11-25-AF-40-9B Dhcp Enabled.:Yes Autoconfiguration Enabled.:Yes Lease Obtained.:6.April 2006 16:36:31 Lease Expires.:7.April 2006 0:36:31,Verify how the IP address is assigned on the PC.,Verify DHCP Server,CPE#show ip d

18、hcp bindingIP address Client-ID/Lease expiration Type Hardware address10.0.0.2 0100.5056.4000.59 Jan 21 2006 12:50 AM Automatic10.0.0.3 0100.5056.4000.60 Jan 21 2006 12:50 AM Automatic,Verify the existing DHCP bindings on the router(DHCP server).,Verify how IP addresses are translated on the router.

19、,CPE#show ip nat translationsPro Inside global Inside local Outside local Outside globalicmp 192.168.1.202:512 10.0.0.2:512 192.168.123.100:512 192.168.123.100:512,检验PAT,PPPoE 案例配置,hostname CPE!ip dhcp pool MyPool!interface Ethernet0/1 no ip address pppoe enable pppoe-client dial-pool-number 1!inter

20、face Ethernet0/0 ip nat inside!interface Dialer0 ip address negotiated encapsulation ppp dialer pool 1 ip mtu 1492 ip nat outside ppp authentication chap callin ppp chap password mysecret!ip nat inside source list 101 interface Dialer0 overloadaccess-list 101 permit ip 10.0.0.0 0.255.255.255 any!ip

21、route 0.0.0.0 0.0.0.0 Dialer0,配置 PPPoA DSL 连接,DSL 配置总结,The CPE device encapsulates the PPP session based on RFC 1483 for transport across the DSLAM.The virtual access interface associates each PPP connection with an ATM VC.The virtual access interface obtains its configuration from a virtual interfa

22、ce template when the VC is created.The PPP subsystem starts and the router attempts to send a PPP configure request to the remote peer.The virtual access interface remains associated with a VC as long as the VC is configured.Three types of PPP over ATM connections are supported:IETF-compliant MUX en

23、capsulated PPPoAIETF-compliant LLC encapsulated PPPoACisco-proprietary PPPoA,PPPoE 与 PPPoA,interface Ethernet0/1 no ip address pppoe enable pppoe-client dial-pool-number 1!interface Dialer0 ip mtu 1492,interface ATM0/0 no ip address dsl operating-mode auto pvc 1/32 encapsulation aal5mux ppp dialer d

24、ialer pool-member 1,在 PPPoE 配置中,必须将以太口关联到拨号接口,并将以太口的MTU值从1500设为1492.在 PPPoA 配置中,必须配置ATM接口的正确封装,并且关联接口到拨号接口.,PPPoE,PPPoA,配置 DSL ATM 接口,配置 DSL ATM 接口,Step 1:Configure modulation mode,interface atm number,router(config)#,dsl operating-mode auto,router(config-if)#,pvc vpi/vci,router(config-if)#,Permits

25、the router to automatically determine the service provider DSL modulation;this is the default setting on the Cisco router.,Creates an ATM PVC for the router.Note:The PVC VPI/VCI must match the provider VPI/VCI.,Step 2:Create PVC,配置 DSL ATM 接口(Cont.),encapsulation aal5mux ppp dialer,router(config-atm

26、-vc)#,Identifies the Layer 2 encapsulation,dialer pool-member number,router(config-atm-vc)#,Specifies a dialer pool member,Step 4:Associate the interface with the pool,Step 3:Define the encapsulation,PPPoA 配置案例,hostname CPE!ip dhcp pool MyPool!interface ATM0/0 no ip address dsl operating-mode auto p

27、vc 8/35 encapsulation aal5mux ppp dialer dialer pool-member 1!interface Ethernet0/0 ip nat inside!interface Dialer0 ip address negotiated encapsulation ppp dialer pool 1 ip nat outside ppp authentication chap callin ppp chap password mysecret!ip nat inside source list 101 interface Dialer0 overloada

28、ccess-list 101 permit ip 10.0.0.0 0.255.255.255 any!ip route 0.0.0.0 0.0.0.0 Dialer0,Summary,Configuring DSL requires global and interface configuration commands.Enable PPPoE on Ethernet interface with the pppoe enable command and bind the Ethernet interface to a dialer interface.Configure the diale

29、r interface with MTU size of 1492 and,optionally,for PPP authentication.PAT enables you to use one registered IP address for the interface to access the Internet from all devices in the network.The Cisco IOS DHCP server was enhanced to allow configuration information to be updated automatically.,Sum

30、mary(Cont.),Configure a static default route on the Cisco router to allow the router to reach all unknown destinations toward the dialer interface.To verify proper PPPoE configuration,use debug ppp authentication,show pppoe session,show ip dhcp binding,show ip nat translations,and ipconfig/all comma

31、nds.Configuring a PPPoA connection requires configuration of ATM and dialer interfaces,PAT,DHCP,and static default route.Use the dsl operating-mode auto interface configuration command to specify that the router will automatically detect the DSL modulation that the service provider is using,and will set the DSL modulation to match.An ATM VCI/VPI pair must be configured to communicate with the service provider.,

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号