Cisco 7505, поднят pptp сервер, надо поднять pppoe.aaa new-model
!
!
aaa authentication ppp default group radius
aaa authorization network default group radius
aaa accounting update periodic 2
aaa accounting network default start-stop group radius
aaa nas port extended
aaa session-id common
vpdn enable
vpdn ip udp ignore checksum
!
vpdn-group pppoe
description PPPoE
accept-dialin
protocol pppoe
virtual-template 2
!
vpdn-group PoPtoP
! Default PPTP VPDN group
accept-dialin
protocol pptp
virtual-template 1interface Loopback2
ip address xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy
interface FastEthernet0/0/0.700
encapsulation dot1Q 700
no ip redirects
pppoe enableinterface Virtual-Template1
ip unnumbered Loopback2
peer default ip address pool VPN_POOL
keepalive 15
ppp authentication pap
!
interface Virtual-Template2
ip unnumbered Loopback2
peer default ip address pool pppoe
keepalive 15
ppp authentication pap callin
ip local pool VPN_POOL www.www.www.www vvv.vvv.vvv.vvv
ip local pool pppoe 192.168.99.2 192.168.99.10
pptp работает нормально, а вот pppoe не поднимается.
Может я чего забыл или напутал?
deb ppp neg
>deb ppp neg4d03h: ppp40 PPP: Send Message[Dynamic Bind Response]
4d03h: ppp40 PPP: Using default call direction
4d03h: ppp40 PPP: Treating connection as a dedicated line
4d03h: ppp40 PPP: Session handle[80000051] Session id[40]
4d03h: ppp40 PPP: Phase is ESTABLISHING, Active Open
4d03h: ppp40 LCP: O CONFREQ [Closed] id 1 len 18
4d03h: ppp40 LCP: MRU 1492 (0x010405D4)
4d03h: ppp40 LCP: AuthProto PAP (0x0304C023)
4d03h: ppp40 LCP: MagicNumber 0x1552CDFE (0x05061552CDFE)
4d03h: ppp40 LCP: TIMEout: State REQsent
4d03h: ppp40 LCP: O CONFREQ [REQsent] id 2 len 18
4d03h: ppp40 LCP: MRU 1492 (0x010405D4)
4d03h: ppp40 LCP: AuthProto PAP (0x0304C023)
4d03h: ppp40 LCP: MagicNumber 0x1552CDFE (0x05061552CDFE)
4d03h: ppp40 LCP: TIMEout: State REQsent
4d03h: ppp40 LCP: O CONFREQ [REQsent] id 3 len 18
4d03h: ppp40 LCP: MRU 1492 (0x010405D4)
4d03h: ppp40 LCP: AuthProto PAP (0x0304C023)
4d03h: ppp40 LCP: MagicNumber 0x1552CDFE (0x05061552CDFE)
4d03h: ppp40 LCP: TIMEout: State REQsent
4d03h: ppp40 LCP: O CONFREQ [REQsent] id 4 len 18
4d03h: ppp40 LCP: MRU 1492 (0x010405D4)
4d03h: ppp40 LCP: AuthProto PAP (0x0304C023)
4d03h: ppp40 LCP: MagicNumber 0x1552CDFE (0x05061552CDFE)
4d03h: ppp40 LCP: TIMEout: State REQsent
4d03h: ppp40 LCP: O CONFREQ [REQsent] id 5 len 18
4d03h: ppp40 LCP: MRU 1492 (0x010405D4)
4d03h: ppp40 LCP: AuthProto PAP (0x0304C023)
4d03h: ppp40 LCP: MagicNumber 0x1552CDFE (0x05061552CDFE)
4d03h: ppp40 LCP: TIMEout: State REQsent
4d03h: ppp40 LCP: O CONFREQ [REQsent] id 6 len 18
4d03h: ppp40 LCP: MRU 1492 (0x010405D4)
4d03h: ppp40 LCP: AuthProto PAP (0x0304C023)
4d03h: ppp40 LCP: MagicNumber 0x1552CDFE (0x05061552CDFE)
4d03h: ppp40 LCP: TIMEout: State REQsent
4d03h: ppp40 LCP: O CONFREQ [REQsent] id 7 len 18
4d03h: ppp40 LCP: MRU 1492 (0x010405D4)
4d03h: ppp40 LCP: AuthProto PAP (0x0304C023)
4d03h: ppp40 LCP: MagicNumber 0x1552CDFE (0x05061552CDFE)
4d03h: ppp40 LCP: TIMEout: State REQsent
4d03h: ppp40 LCP: O CONFREQ [REQsent] id 8 len 18
4d03h: ppp40 LCP: MRU 1492 (0x010405D4)
4d03h: ppp40 LCP: AuthProto PAP (0x0304C023)
4d03h: ppp40 LCP: MagicNumber 0x1552CDFE (0x05061552CDFE)
4d03h: ppp40 LCP: TIMEout: State REQsent
4d03h: ppp40 LCP: O CONFREQ [REQsent] id 9 len 18
4d03h: ppp40 LCP: MRU 1492 (0x010405D4)
4d03h: ppp40 LCP: AuthProto PAP (0x0304C023)
4d03h: ppp40 LCP: MagicNumber 0x1552CDFE (0x05061552CDFE)
4d03h: ppp40 LCP: TIMEout: State REQsent
4d03h: ppp40 LCP: O CONFREQ [REQsent] id 10 len 18
4d03h: ppp40 LCP: MRU 1492 (0x010405D4)
4d03h: ppp40 LCP: AuthProto PAP (0x0304C023)
4d03h: ppp40 LCP: MagicNumber 0x1552CDFE (0x05061552CDFE)
4d03h: ppp40 LCP: TIMEout: State REQsent
4d03h: ppp40 LCP: O TERMREQ [REQsent] id 10 len 4
4d03h: ppp40 PPP: Phase is TERMINATING
4d03h: ppp40 LCP: State is Listen
4d03h: ppp40 PPP: Sending Acct Event[Down] id[12C6]
4d03h: ppp40 LCP: State is Closed
4d03h: ppp40 PPP: Phase is DOWN
4d03h: ppp40 PPP: Send Message[Disconnect]
Сорри за беспокойство, разобрался...
Проблема была не в кошке, а в клиенте.
>Cisco 7505, поднят pptp сервер, надо поднять pppoe.
>
>aaa new-model
>!
>!
>aaa authentication ppp default group radius
>aaa authorization network default group radius
>aaa accounting update periodic 2
>aaa accounting network default start-stop group radius
>aaa nas port extended
>aaa session-id common
>vpdn enable
>vpdn ip udp ignore checksum
>!
>vpdn-group pppoe
> description PPPoE
> accept-dialin
> protocol pppoe
> virtual-template 2
>!
>vpdn-group PoPtoP
>! Default PPTP VPDN group
> accept-dialin
> protocol pptp
> virtual-template 1
>
>interface Loopback2
> ip address xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy
>
>
>interface FastEthernet0/0/0.700
> encapsulation dot1Q 700
> no ip redirects
> pppoe enable
>
>interface Virtual-Template1
> ip unnumbered Loopback2
> peer default ip address pool VPN_POOL
> keepalive 15
> ppp authentication pap
>!
>interface Virtual-Template2
> ip unnumbered Loopback2
> peer default ip address pool pppoe
> keepalive 15
> ppp authentication pap callin
>
>
>ip local pool VPN_POOL www.www.www.www vvv.vvv.vvv.vvv
>ip local pool pppoe 192.168.99.2 192.168.99.10
>
>
>pptp работает нормально, а вот pppoe не поднимается.
>Может я чего забыл или напутал?Может лучше вот так сделать ? :
1.
bba-group pppoe PPPoE
virtual-template 2
sessions per-mac limit x
sessions per-vlan limit x
sessions per-mac throttle a y z
sessions auto cleanup
2.
interface Virtual-Template2
ip unnumbered Loopback2
peer default ip address pool pppoe
keepalive 15
ppp authentication pap callin
3.
interface FastEthernet0/0/0.700
encapsulation dot1Q 700
pppoe enable group PPPoE