hostname r1
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
ip unnumbered Loopback0
no clns route-cache
!
interface Dialer1
ip address 144.1.1.4 255.255.255.0
encapsulation ppp
dialer pool 1
no clns route-cache
!
router ospf 1
log-adjacency-changes
area 0 authentication message-digest
network 40.1.1.0 0.0.0.255 area 0
network 134.1.1.0 0.0.0.255 area 0
r4#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
143.1.0.0/32 is subnetted, 1 subnets
C 143.1.1.3 is directly connected, Dialer1
144.1.0.0/24 is subnetted, 1 subnets
C 144.1.1.0 is directly connected, Dialer1
40.0.0.0/24 is subnetted, 1 subnets
C 40.1.1.0 is directly connected, Loopback0
10.0.0.0/32 is subnetted, 1 subnets
O 10.1.1.1 [110/65537] via 30.1.1.1, 04:34:33, Virtual-Access1
131.1.0.0/24 is subnetted, 1 subnets
O 131.1.1.0 [110/65600] via 30.1.1.1, 04:34:33, Virtual-Access1
133.1.0.0/24 is subnetted, 1 subnets
O 133.1.1.0 [110/65599] via 30.1.1.1, 04:34:34, Virtual-Access1
134.1.0.0/24 is subnetted, 1 subnets
C 134.1.1.0 is directly connected, Serial0/0
30.0.0.0/32 is subnetted, 1 subnets
C 30.1.1.1 is directly connected, Virtual-Access1
r4#
r4#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 unassigned YES unset up up
Serial0/0 134.1.1.4 YES manual up up
TokenRing0/0 unassigned YES unset administratively down down
Serial0/1 unassigned YES unset administratively down down
Ethernet3/0 unassigned YES unset administratively down down
TokenRing3/0 unassigned YES unset administratively down down
Virtual-Access1 40.1.1.1 YES TFTP up up
Virtual-Template1 40.1.1.1 YES TFTP down down
Virtual-Access2 unassigned YES unset down down
Virtual-Access3 unassigned YES unset up up
Dialer1 144.1.1.4 YES manual up up
Loopback0 40.1.1.1 YES manual up up
r4#
r4#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
===============================================
hostname r3
vpdn enable
!
vpdn-group 1
accept-dialin
protocol pppoe
virtual-template 3
pppoe limit per-mac 50
!
interface Loopback0
ip address 30.1.1.1 255.255.255.0
!
interface FastEthernet0/0
ip address 33.1.1.3 255.255.255.0
duplex auto
speed auto
pppoe enable
!
interface Serial0/0
no ip address
encapsulation frame-relay
no frame-relay inverse-arp
!
interface Serial0/0.1 multipoint
ip address 133.1.1.3 255.255.255.0
frame-relay interface-dlci 301 ppp Virtual-Template1
frame-relay interface-dlci 304 ppp Virtual-Template2
!
interface Virtual-Template1
ip unnumbered Loopback0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
!
interface Virtual-Template2
ip unnumbered Loopback0
!
interface Virtual-Template3
mtu 1492
ip address 143.1.1.3 255.255.255.0
router ospf 1
log-adjacency-changes
area 0 authentication message-digest
network 30.1.1.0 0.0.0.255 area 0
network 133.1.1.0 0.0.0.255 area 0
r3#sh ip route
33.0.0.0/24 is subnetted, 1 subnets
C 33.1.1.0 is directly connected, FastEthernet0/0
141.1.0.0/32 is subnetted, 1 subnets
C 141.1.1.1 is directly connected, Virtual-Access4.2
143.1.0.0/24 is subnetted, 1 subnets
C 143.1.1.0 is directly connected, Virtual-Access4.1
is directly connected, Virtual-Access4.2
144.1.0.0/32 is subnetted, 1 subnets
C 144.1.1.4 is directly connected, Virtual-Access4.1
40.0.0.0/32 is subnetted, 1 subnets
C 40.1.1.1 is directly connected, Virtual-Access1
10.0.0.0/32 is subnetted, 1 subnets
C 10.1.1.1 is directly connected, Virtual-Access3
131.1.0.0/24 is subnetted, 1 subnets
O 131.1.1.0 [110/65] via 10.1.1.1, 00:22:57, Virtual-Access3
133.1.0.0/24 is subnetted, 1 subnets
C 133.1.1.0 is directly connected, Serial0/0.1
134.1.0.0/24 is subnetted, 1 subnets
O 134.1.1.0 [110/65] via 40.1.1.1, 00:22:57, Virtual-Access1
30.0.0.0/24 is subnetted, 1 subnets
C 30.1.1.0 is directly connected, Loopback0
r3# sh vpdn
%No active L2TP tunnels
%No active L2F tunnels
%No active PPTP tunnels
PPPoE Tunnel and Session Information Total tunnels 1 sessions 2
PPPoE Session Information
UID SID RemMAC OIntf Intf Session
LocMAC VASt state
12 5 0003.e374.0e80 Fa0/0 Vi4.2 CNCT_PTA
000c.30a1.8300 UP
8 2 00b0.642f.81c1 Fa0/0 Vi4.1 CNCT_PTA
000c.30a1.8300 UP
r3#
r3#ping 141.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 141.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
r3#ping 144.1.1.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 144.1.1.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
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
ip unnumbered Loopback0
no clns route-cache
!
interface Dialer1
ip address 144.1.1.4 255.255.255.0
encapsulation ppp
dialer pool 1
no clns route-cache
!
router ospf 1
log-adjacency-changes
area 0 authentication message-digest
network 40.1.1.0 0.0.0.255 area 0
network 134.1.1.0 0.0.0.255 area 0
r4#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
143.1.0.0/32 is subnetted, 1 subnets
C 143.1.1.3 is directly connected, Dialer1
144.1.0.0/24 is subnetted, 1 subnets
C 144.1.1.0 is directly connected, Dialer1
40.0.0.0/24 is subnetted, 1 subnets
C 40.1.1.0 is directly connected, Loopback0
10.0.0.0/32 is subnetted, 1 subnets
O 10.1.1.1 [110/65537] via 30.1.1.1, 04:34:33, Virtual-Access1
131.1.0.0/24 is subnetted, 1 subnets
O 131.1.1.0 [110/65600] via 30.1.1.1, 04:34:33, Virtual-Access1
133.1.0.0/24 is subnetted, 1 subnets
O 133.1.1.0 [110/65599] via 30.1.1.1, 04:34:34, Virtual-Access1
134.1.0.0/24 is subnetted, 1 subnets
C 134.1.1.0 is directly connected, Serial0/0
30.0.0.0/32 is subnetted, 1 subnets
C 30.1.1.1 is directly connected, Virtual-Access1
r4#
r4#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 unassigned YES unset up up
Serial0/0 134.1.1.4 YES manual up up
TokenRing0/0 unassigned YES unset administratively down down
Serial0/1 unassigned YES unset administratively down down
Ethernet3/0 unassigned YES unset administratively down down
TokenRing3/0 unassigned YES unset administratively down down
Virtual-Access1 40.1.1.1 YES TFTP up up
Virtual-Template1 40.1.1.1 YES TFTP down down
Virtual-Access2 unassigned YES unset down down
Virtual-Access3 unassigned YES unset up up
Dialer1 144.1.1.4 YES manual up up
Loopback0 40.1.1.1 YES manual up up
r4#
r4#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
===============================================
hostname r3
vpdn enable
!
vpdn-group 1
accept-dialin
protocol pppoe
virtual-template 3
pppoe limit per-mac 50
!
interface Loopback0
ip address 30.1.1.1 255.255.255.0
!
interface FastEthernet0/0
ip address 33.1.1.3 255.255.255.0
duplex auto
speed auto
pppoe enable
!
interface Serial0/0
no ip address
encapsulation frame-relay
no frame-relay inverse-arp
!
interface Serial0/0.1 multipoint
ip address 133.1.1.3 255.255.255.0
frame-relay interface-dlci 301 ppp Virtual-Template1
frame-relay interface-dlci 304 ppp Virtual-Template2
!
interface Virtual-Template1
ip unnumbered Loopback0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
!
interface Virtual-Template2
ip unnumbered Loopback0
!
interface Virtual-Template3
mtu 1492
ip address 143.1.1.3 255.255.255.0
router ospf 1
log-adjacency-changes
area 0 authentication message-digest
network 30.1.1.0 0.0.0.255 area 0
network 133.1.1.0 0.0.0.255 area 0
r3#sh ip route
33.0.0.0/24 is subnetted, 1 subnets
C 33.1.1.0 is directly connected, FastEthernet0/0
141.1.0.0/32 is subnetted, 1 subnets
C 141.1.1.1 is directly connected, Virtual-Access4.2
143.1.0.0/24 is subnetted, 1 subnets
C 143.1.1.0 is directly connected, Virtual-Access4.1
is directly connected, Virtual-Access4.2
144.1.0.0/32 is subnetted, 1 subnets
C 144.1.1.4 is directly connected, Virtual-Access4.1
40.0.0.0/32 is subnetted, 1 subnets
C 40.1.1.1 is directly connected, Virtual-Access1
10.0.0.0/32 is subnetted, 1 subnets
C 10.1.1.1 is directly connected, Virtual-Access3
131.1.0.0/24 is subnetted, 1 subnets
O 131.1.1.0 [110/65] via 10.1.1.1, 00:22:57, Virtual-Access3
133.1.0.0/24 is subnetted, 1 subnets
C 133.1.1.0 is directly connected, Serial0/0.1
134.1.0.0/24 is subnetted, 1 subnets
O 134.1.1.0 [110/65] via 40.1.1.1, 00:22:57, Virtual-Access1
30.0.0.0/24 is subnetted, 1 subnets
C 30.1.1.0 is directly connected, Loopback0
r3# sh vpdn
%No active L2TP tunnels
%No active L2F tunnels
%No active PPTP tunnels
PPPoE Tunnel and Session Information Total tunnels 1 sessions 2
PPPoE Session Information
UID SID RemMAC OIntf Intf Session
LocMAC VASt state
12 5 0003.e374.0e80 Fa0/0 Vi4.2 CNCT_PTA
000c.30a1.8300 UP
8 2 00b0.642f.81c1 Fa0/0 Vi4.1 CNCT_PTA
000c.30a1.8300 UP
r3#
r3#ping 141.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 141.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
r3#ping 144.1.1.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 144.1.1.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms