PPPoE/PPPoFR R3 is FR Hub/PPPoE server, R1 an…
2008-02-23 04:53:29来源:互联网 阅读 ()
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
interface Loopback0
ip address 10.1.1.1 255.255.255.0
!
interface Ethernet0/0
no ip address
half-duplex
pppoe enable
pppoe-client dial-pool-number 1
!
interface Serial0/0
ip address 131.1.1.1 255.255.255.0
encapsulation frame-relay
frame-relay interface-dlci 103 ppp Virtual-Template1
no frame-relay inverse-arp
interface Virtual-Template1
ip unnumbered Loopback0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
!
interface Dialer1
ip address 141.1.1.1 255.255.255.0
encapsulation ppp
dialer pool 1
!
router ospf 1
log-adjacency-changes
area 0 authentication message-digest
network 10.1.1.0 0.0.0.255 area 0
network 131.1.1.0 0.0.0.255 area 0
r1#sh ip route
141.1.0.0/24 is subnetted, 1 subnets
C 141.1.1.0 is directly connected, Dialer1
143.1.0.0/32 is subnetted, 1 subnets
C 143.1.1.3 is directly connected, Dialer1
40.0.0.0/32 is subnetted, 1 subnets
O 40.1.1.1 [110/3] via 30.1.1.1, 00:13:04, Virtual-Access1
10.0.0.0/24 is subnetted, 1 subnets
C 10.1.1.0 is directly connected, Loopback0
131.1.0.0/24 is subnetted, 1 subnets
C 131.1.1.0 is directly connected, Serial0/0
133.1.0.0/24 is subnetted, 1 subnets
O 133.1.1.0 [110/65] via 30.1.1.1, 00:13:05, Virtual-Access1
134.1.0.0/24 is subnetted, 1 subnets
O 134.1.1.0 [110/66] via 30.1.1.1, 00:13:06, Virtual-Access1
30.0.0.0/32 is subnetted, 1 subnets
C 30.1.1.1 is directly connected, Virtual-Access1
r1#
r1#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 unassigned YES manual up up
Serial0/0 131.1.1.1 YES manual up up
Serial0/1 unassigned YES unset administratively down down
Virtual-Access1 10.1.1.1 YES TFTP up up
Virtual-Template1 10.1.1.1 YES manual down down
Virtual-Access2 unassigned YES unset up up
Dialer1 141.1.1.1 YES manual up up
Loopback0 10.1.1.1 YES manual up up
r1#
r1#sh interface dialer1
Dialer1 is up, line protocol is up (spoofing)
Hardware is Unknown
Internet address is 141.1.1.1/24
MTU 1500 bytes, BW 56 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
DTR is pulsed for 1 seconds on reset
Interface is bound to Vi2
Last input never, output never, output hang never
Last clearing of "show interface" counters 05:35:03
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/16 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 42 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
215 packets input, 4330 bytes
215 packets output, 5030 bytes
Bound to:
Virtual-Access2 is up, line protocol is up
Hardware is Virtual Access interface
MTU 1500 bytes, BW 100000 Kbit, DLY 100000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
Interface is bound to Di1 (Encapsulation PPP)
LCP Open
Listen: CDPCP
Open: IPCP
Last input 00:00:05, output never, output hang never
Last clearing of "show interface" counters 00:09:02
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
117 packets input, 2512 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
117 packets output, 2914 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
r1#
r1#ping 143.1.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 143.1.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
r1#sh vpdn
%No active L2TP tunnels
%No active L2F tunnels
%No active PPTP tunnels
PPPoE Tunnel and Session Information Total tunnels 1 sessions 1
PPPoE Tunnel Information
VPDN group: 1
Session count: 1
PPPoE Session Information
SID RemMAC LocMAC Intf VASt OIntf VLAN/
VP/VC
5 000c.30a1.8300 0003.e374.0e80 Vi2 UP Et0/0
=================================================
hostname r4
interface Loopback0
ip address 40.1.1.1 255.255.255.0
!
interface Ethernet0/0
no ip address
pppoe enable
pppoe-client dial-pool-number 1
!
interface Serial0/0
ip address 134.1.1.4 255.255.255.0
encapsulation frame-relay
no clns route-cache
frame-relay interface-dlci 403 ppp Virtual-Template1
no frame-relay inverse-arp
interface Virtual-Template1
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash