你的位置: Home // cisco // CISCO: ccnp 642-825 lab Q

CISCO: ccnp 642-825 lab Q

分享到新浪微博

Acme is a small export comany that has an existing enterprise network that is made up exclusively of routers that are using EIGRP as the IGP. Their network is up and operating properly. As part of their network expansion, Acme has decided to connect to the internet via a broadband cable ISP. Your task is to enable this connection using the information below.

Connection Encapsulation: PPP

Connection Type: PPPoE client

Connection Authentication: None

Connection MTU: 1492 bytes

Address: Dynamically assigned by the ISP

Outbound Interface: E0/0

You will know that the connection has been successfully enabled when you can ping the simulated Internet address of 172.16.1.1

Note: Routing to the ISP: Manually configured default route

CPE# show ip route

….

Gateway of last resort is not set

192.168.1.0/27 is subnetted, 7 subnets

C 192.168.1.0 is directly connected, Ethernet0/1

D 192.168.1.32 [90/307200] via 192.168.1.2, 00:02:16,Ethernet0/1

D 192.168.1.64 [90/307200] via 192.168.1.2, 00:02:17,Ethernet0/1

D 192.168.1.96 [90/307200] via 192.168.1.2, 00:02:17,Ethernet0/1

D 192.168.1.128 [90/307200] via 192.168.1.3, 00:02:17,Ethernet0/1

D 192.168.1.192 [90/307200] via 192.168.1.3, 00:02:17,Ethernet0/1

D 192.168.1.224 [90/307200] via 192.168.1.3, 00:02:17,Ethernet0/1

CPE# show run

….

no service password-encryption

!

hostname CPE

!

boot-start-marker

boot-end-marker

!

no aaa new-model

resource policy

clock timezone PST 0

ip subnet-zero

no ip dhcp use vrf connected

!

interface Ethernet0/0

description link to cable modem

no ip address

shutdown

!

interface Ethernet0/1

description link to corporate nework

ip address 192.168.1.1 255.255.255.224

!

interface Ethernet0/2

no ip address

!

interface Ethernet0/3

no ip address

shutdown

!

router eigrp 1

network 192.168.1.0

auto-summary

!

line con 0

line vty 0 15

end

下面的答案由大笨牛提供:

配置顺序:

cpe(config)#int e0/0

cpe(config-if)#pppoe enable ——打开pppoe

cpe(config-if)#pppoe-client dial-pool-number 1 加入拨号池1

cpe(config-if)#no sh

cpe(config-if)#exit

cpe(config)#vpdn enable 打开vpdn(拨号必须打开)

cpe(config)#vpdn-group 1 配置vpnd组1

cpe(config-vpdn)#request-dialin 配置客户端为请求拨号

cpe(config-vpdn-req-in)#protocol pppoe 配置协议

cpe(config-vpdn-req-in)#exit

cpe(config-vpdn)#exit

cpe(config)#dialer-list 1 protocol ip permit 配置感兴趣数据流,触发拨号

cpe(config)#int dialer 1 配置拨号配置1

cpe(config-if)#encapsulation ppp 封装协议

cpe(config-if)#ip address negotiated 配置ip地址为协商,也就是自动获取。

cpe(config-if)#dialer pool 1 加入到拨号池1

cpe(config-if)#dialer-group 1 引用感兴趣数据流,触发拨号,【这里1和dialer-list 后面的1必须一致】

cpe(config-if)#ip mtu 1492 配置MTU

cpe(config-if)#exit

结果图:

Sh run:【实验使用fa0/0替代E0/0】

Current configuration : 1254 bytes

!

version 12.3

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname cpe

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

ip subnet-zero

!

!

!

ip cef

vpdn enable

!

vpdn-group 1

request-dialin

protocol pppoe

!

!

interface FastEthernet0/0

no ip address

duplex half

pppoe enable

pppoe-client dial-pool-number 1

!

interface Serial1/0

no ip address

shutdown

serial restart-delay 0

!

interface Serial1/1

no ip address

shutdown

serial restart-delay 0

!

interface Serial1/2

no ip address

shutdown

serial restart-delay 0

!

interface Serial1/3

no ip address

shutdown

serial restart-delay 0

!

interface Serial2/0

no ip address

shutdown

serial restart-delay 0

!

interface Serial2/1

no ip address

shutdown

serial restart-delay 0

!

interface Serial2/2

no ip address

shutdown

serial restart-delay 0

!

interface Serial2/3

no ip address

shutdown

serial restart-delay 0

!

interface Dialer1

ip address negotiated

ip mtu 1492

encapsulation ppp

dialer pool 1

dialer-group 1

!

ip classless

no ip http server

!

!

dialer-list 1 protocol ip permit

!

!

!!

!

!

gatekeeper

shutdown

!

!

line con 0

stopbits 1

line aux 0

line vty 0 4

!

!

end

本文热度: 1%

相关日志

点击此处,关注我的围脖
分类 : cisco 标签 : , , ,

留下评论

Copyright © 2009 Let's gotolab! . All rights reserved.
Designed by Theme Junkie . Powered by WordPress.