Friday, 4 January 2008

IS-IS over PPPoE session

will demonstrate how to set up IS-IS over PPPoE seesion.
R3 - client, R6 - server.

!
hostname R3
!
interface FastEthernet0/1
description R6
no ip address
duplex auto
speed auto
pppoe enable
pppoe-client dial-pool-number 1
!
!
interface Dialer1
mtu 1492
ip address 10.1.63.3 255.255.255.0
ip router isis
encapsulation ppp
dialer pool 1
dialer persistent
!

______________________________________________
!
hostname R6
!
vpdn-group te
accept-dialin
protocol pppoe
virtual-template 1
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
pppoe enable
!
interface Virtual-Template1
ip address 10.1.63.6 255.255.255.0
ip router isis
!

some outputs:

R3#sho vpdn sess

%No active L2F tunnels

%No active L2TP tunnels

%No active PPTP tunnels

PPPoE Session Information Total tunnels 1 sessions 1

PPPoE Session Information
Uniq ID PPPoE RemMAC Port VT VA State
SID LocMAC VA-st
N/A 11 001b.d4f0.2101 Fa0/1 Di1 Vi1 N/A
001b.d503.a439 UP
R3#
R6#sho vpdn session

%No active L2F tunnels

%No active L2TP tunnels

%No active PPTP tunnels

PPPoE Session Information Total tunnels 1 sessions 1

PPPoE Session Information
Uniq ID PPPoE RemMAC Port VT VA State
SID LocMAC VA-st
13 11 001b.d503.a439 Fa0/1 1 Vi3.1 PTA
001b.d4f0.2101 UP
R6#


R3#sho isis nei

System Id Type Interface IP Address State Holdtime Circuit Id
R2 L1 Se0/1/0 24.1.23.2 UP 23 R3.03
R2 L2 Se0/1/0 24.1.23.2 UP 22 R3.03
R6 L1L2 Di1 10.1.63.6 UP 24 02
R3#
R6#sho isis nei

System Id Type Interface IP Address State Holdtime Circuit Id
R3 L1L2 Vi3.1 10.1.63.3 UP 22 00
R6#

main issues:
1. pppoe problems ( do clear intterface dialer 1)
2. isis mtu problems ( examine mtu settings on interfaces and change them or ignore)


task 2 - same but server (R6) autheticates client using pap:


R3#sho runn int dial 1
Building configuration...

Current configuration : 181 bytes
!
interface Dialer1
mtu 1492
ip address 10.1.63.3 255.255.255.0
ip router isis
encapsulation ppp
dialer pool 1
dialer persistent
ppp pap sent-username R3 password 0 R3
end

R6#sho runn inc user
username R3 password 0 R3
R6#sho runn inc user
username R3 password 0 R3
R6#sho runn int virtual-t 1
Building configuration...

Current configuration : 113 bytes
!
interface Virtual-Template1
ip address 10.1.63.6 255.255.255.0
ip router isis
ppp authentication pap
end

R6#

main issues:
1. decide who is initaiting and who is cheking u/p

task 3 - same but server (R6) autheticates client using chap:

R3#sho runn int dial 1
Building configuration...

Current configuration : 187 bytes
!
interface Dialer1
mtu 1492
ip address 10.1.63.3 255.255.255.0
ip router isis
encapsulation ppp
dialer pool 1
dialer persistent
ppp chap hostname R3
ppp chap password 0 R3

end

R3#

R6#sho runn int virtual-t 1
Building configuration...

Current configuration : 114 bytes
!
interface Virtual-Template1
ip address 10.1.63.6 255.255.255.0
ip router isis
ppp authentication chap
end

R6#

task 4 - same but server (R6) allocates ip address for client :

R3#sho runn int dial 1
Building configuration...

Current configuration : 168 bytes
!
interface Dialer1
mtu 1492
ip address dhcp
ip router isis
encapsulation ppp
dialer pool 1
dialer persistent
ppp chap hostname R3
ppp chap password 0 R3
end

R3#

R6#sho runn int virtual-te 1
Building configuration...

Current configuration : 159 bytes
!
interface Virtual-Template1
ip address 10.1.63.6 255.255.255.0
ip router isis
peer default ip address dhcp-pool test_pool
ppp authentication chap
end

R6#sho runn be ip dhcp
!
ip dhcp pool test_pool
network 10.1.63.0 255.255.255.0
!

R3#clear int dial 1
R3#
*Jan 7 05:14:59.200: %DIALER-6-UNBIND: Interface Vi1 unbound from profile Di1
*Jan 7 05:14:59.204: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to down
*Jan 7 05:15:00.204: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed state to down
R3#
R3#sho dhcp lease
Temp IP addr: 10.1.63.1 for peer on Interface: Dialer1
Temp sub net mask: 255.255.255.0
DHCP Lease server: 10.1.63.6, state: 3 Bound
DHCP transaction id: 1B3C
Lease: 86400 secs, Renewal: 43200 secs, Rebind: 75600 secs
Next timer fires after: 11:47:22
Retry count: 0 Client-ID: cisco-001b.d503.a438-Di1
Client-ID hex dump: 636973636F2D303031622E643530332E
613433382D446931
Hostname: R3
R3#
R3#
R3#
*Jan 7 05:15:20.964: %CLNS-5-ADJCHANGE: ISIS: Adjacency to R6 (Dialer1) Down, hold time expired
*Jan 7 05:15:21.368: %DIALER-6-BIND: Interface Vi1 bound to profile Di1
*Jan 7 05:15:21.372: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up
*Jan 7 05:15:24.372: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed state to up
*Jan 7 05:15:24.376: %CLNS-5-ADJCHANGE: ISIS: Adjacency to R6 (Dialer1) Up, new adjacency

R6#sho ip dhcp bi
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
10.1.63.1 0063.6973.636f.2d30. Jan 08 2008 05:06 AM Automatic
3031.622e.6435.3033.
2e61.3433.382d.4469.
31
10.1.63.2 5233 Infinite On-demand
R6#

main issues:
1. mtu
2. non /32 address must be assigned to client (same with ospf)
3. on SP IOS image it is necessary to set dialer interface encapsulation. without it not establishes pppoe session. how deducted:



BB3#debug pppoe err
PPPoE protocol errors debugging is on
BB3#clear int dial 1
BB3#debug pppoe elo
*Mar 1 00:02:47.091: PPPoE: no ppp encapsulation configured under dialer interface.
BB3#

No comments: