🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.networking
11 messages
11 total messages Started by piotrek Tue, 14 Feb 2006 21:56
problem z pppoe na cisco 1841
#277844
Author: piotrek
Date: Tue, 14 Feb 2006 21:56
169 lines
4167 bytes
witam

mam problem z ustawieniem pppoe na cisco 1841.
konfiguruje to pod usluge neti, docelowo ma to byc lacze zapasowe.
konfiguracja przebiega wporzadku z jednym malym wyjatkiem.
przy probie ustawienia Virtual Private Dialup Network (VPDN) mam problem
po kolei:
-vpdn enable
-vpdn-group 1
-request-dialin
-protocol pppoe

i wlasnie przy tej ostatniej komendzie mam klopot. niema mozliwosci wybrania 
protokolu pppoe. sa trzy inne ale niema pppoe. juz zglupialem, na stronach 
cisco jest masa przykladow ale we wszystkich jest krok gdzie trzeba wpisac 
protocol pppoe. IOS na 99% obsluguje pppoe.

moze ktos pomoc?
ponizej runconf podsylam;)


!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname ******
!
boot-start-marker
boot system flash:c1841-advsecurityk9-mz.124-5a.bin
boot-end-marker
!
no logging console
enable secret *****
enable password *****
aaa new-model
!
!
aaa authentication login default local
aaa authentication ppp default local
!
aaa session-id common
!
resource policy
!
clock timezone MEST 1
clock summer-time MEST recurring last Sun Apr 2:00 last Sun Oct 3:00
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
ip cef
!
!
ip inspect name fwsite tcp
ip inspect name fwsite udp
ip inspect name fwsite http audit-trail on
!
!
ip domain name ****
ip sla monitor 1
 type echo protocol ipIcmpEcho 4.2.2.2 source-ipaddr *******
ip sla monitor schedule 1 life forever start-time now
vpdn enable
!
vpdn-group 1
 ip mtu adjust
!
!
!
!
track 123 rtr 1 reachability
!
!

!
bba-group pppoe global
!
!
interface FastEthernet0/0
 description ***************
 ip address ***************
 ip access-group 102 in
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
 crypto map SDM_CMAP_1
!
interface FastEthernet0/1
 description ****************
 ip address **************
 ip inspect fwsite in
 ip nat inside
 ip virtual-reassembly
 duplex auto
 speed auto
!
interface FastEthernet0/0/0
 pppoe enable
 pppoe-client dial-pool-number 1
!
interface FastEthernet0/0/1
!
interface FastEthernet0/0/2
!
interface FastEthernet0/0/3
!
interface Vlan1
 no ip address
!
interface Dialer1
 ip address negotiated
 ip mtu 1492
 encapsulation ppp
 no ip mroute-cache
 dialer pool 1
 dialer string 0
 dialer-group 1
 ppp lcp predictive
 ppp authentication pap optional
 ppp pap sent-username ********** password ******************
 ppp ipcp dns request accept
!
!
ip http server
ip http authentication local
ip http secure-server
ip nat inside source route-map SDM_RMAP_1 interface FastEthernet0/0 overload
!
route-map PBR permit 10
 match ip address 107
 set interface Null0
 set ip next-hop ***************
!
route-map SDM_RMAP_1 permit 10
 match ip address 131
 match interface FastEthernet0/0
!
route-map SDM_RMAP_2 permit 10
 match ip address 131
!
!
!
control-plane
!
alias exec t config t
alias exec i show ip int brief
alias exec r show run
!
line con 0
 exec-timeout 15 0
line aux 0
 exec-timeout 15 0
line vty 0 4
 exec-timeout 15 0
 transport input telnet ssh
line vty 5 15
 exec-timeout 15 0
 transport input telnet ssh
!
ntp server 192.168.12.19
end


-- 
pozdrawiam
piotrek
Re: problem z pppoe na cisco 1841
#277845
Author: Kyniu
Date: Tue, 14 Feb 2006 22:08
22 lines
1471 bytes
Tue, 14 Feb 2006 22:56:26 +0100, na pl.comp.networking, piotrek napisal(a):


> -protocol pppoe
> 
> i wlasnie przy tej ostatniej komendzie mam klopot. niema mozliwosci wybrania 
> protokolu pppoe. sa trzy inne ale niema pppoe. juz zglupialem, na stronach 
> cisco jest masa przykladow ale we wszystkich jest krok gdzie trzeba wpisac 
> protocol pppoe. IOS na 99% obsluguje pppoe.

Bo masz zapewne cos takiego:

Cisco(config-vpdn)#request-dialin
Cisco(config-vpdn-req-in)#protocol ?
  l2f   Use L2F
  l2tp  Use L2TP
  pptp  Use PPTP

Co jest IMHO poprawne - zwroc uwage ze konfigurujesz VPN. PPPoE
konfigurujesz na interfejsie. 

Kyniu
Re: problem z pppoe na cisco 1841
#277846
Author: piotrek
Date: Tue, 14 Feb 2006 22:12
22 lines
1427 bytes
> Bo masz zapewne cos takiego:
>
> Cisco(config-vpdn)#request-dialin
> Cisco(config-vpdn-req-in)#protocol ?
>  l2f   Use L2F
>  l2tp  Use L2TP
>  pptp  Use PPTP
>
> Co jest IMHO poprawne - zwroc uwage ze konfigurujesz VPN. PPPoE
> konfigurujesz na interfejsie.
>

dokladnie. niemam teraz dostepu do tego routera ale tak to wygladalo.
no to dwa pytania.
dlaczego wszedzie podane jes ze ma byc protocol pppoe??
i co mam ustawic jeszcze zeby to dzialalo, bo juz zglupialem;)

dzieki za pomoc

-- 
pozdrawiam
piotrek
Re: problem z pppoe na cisco 1841
#277847
Author: Kyniu
Date: Tue, 14 Feb 2006 22:22
7 lines
1112 bytes
Tue, 14 Feb 2006 23:12:09 +0100, na pl.comp.networking, piotrek napisal(a):

> dlaczego wszedzie podane jes ze ma byc protocol pppoe??

To pytanie do autorow tych materialow. A mozesz pokazac gdzie tak pisalo?

Kyniu
Re: problem z pppoe na cisco 1841
#277850
Author: Kyniu
Date: Tue, 14 Feb 2006 22:30
59 lines
3017 bytes
Tue, 14 Feb 2006 23:12:09 +0100, na pl.comp.networking, piotrek napisal(a):

> dlaczego wszedzie podane jes ze ma byc protocol pppoe??

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hvpdn_r/vpd_h.pdf

Ja znajduje takie przyklady:

The following example enables the tunnel server to accept Layer 2
Forwarding (L2F) tunnels from a NAS named router23. A virtual-access
interface will be cloned from virtual-template 1. 

Router(config)# vpdn-group 1
Router(config-vpdn)# accept-dialin
Router(config-vpdn-acc-in)# protocol l2f
Router(config-vpdn-acc-in)# virtual-template 1
Router(config-vpdn)# terminate-from hostname router23
__________________________

The following example configures the router so that tunnels requested by
the NAS named router16 are created with the tunnel attributes specified by
VPDN group 1, while any other incoming L2TP tunnel request will use the
settings configured in the default VPDN group, VPDN group 2: 

Router(config)# vpdn-group 1
Router(config-vpdn)# accept-dialin
Router(config-vpdn-acc-in)# protocol l2tp
Router(config-vpdn-acc-in)# virtual-template 2
!
Router(config-vpdn)# terminate-from hostname router16
Router(config)# vpdn-group 2
! Default L2TP VPDN group
Router(config-vpdn)# accept-dialin
Router(config-vpdn-acc-in)# protocol l2tp
Router(config-vpdn-acc-in)# virtual-template 3
__________________________

The following example configures a VPDN group on the NAS to accept L2TP
tunnels for dial-out calls from the tunnel server TS23 using dialer 2 as
its dialing resource: 

Router(config)# vpdn-group 1
Router(config-vpdn)# accept-dialout
Router(config-vpdn-acc-ou)# protocol l2tp
Router(config-vpdn-acc-ou)# dialer 2
!
Router(config-vpdn)# terminate-from hostname TS23
!
Router(config)# interface Dialer2
Router(config-if)# ip unnumbered Ethernet0
Router(config-if)# encapsulation ppp
Router(config-if)# dialer in-band
Router(config-if)# dialer aaa
Router(config-if)# dialer-group 1
Router(config-if)# ppp authentication chap

....

Kyniu
Re: problem z pppoe na cisco 1841
#277848
Author: Piotrek
Date: Wed, 15 Feb 2006 07:18
11 lines
1408 bytes
>> dlaczego wszedzie podane jes ze ma byc protocol pppoe??
>
> To pytanie do autorow tych materialow. A mozesz pokazac gdzie tak pisalo?
>

niemam juz linkow, wczoraj grzebalem po stronie cisco i co wklepalem cos o 
pppoe to za kazdym razem zatrzymywalem sie wlasnie na protocol pppoe......

-- 
pzdr
piotrek
Re: problem z pppoe na cisco 1841
#277851
Author: Piotrek
Date: Wed, 15 Feb 2006 07:22
87 lines
3019 bytes
>> dlaczego wszedzie podane jes ze ma byc protocol pppoe??
>
> http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hvpdn_r/vpd_h.pdf
>
> Ja znajduje takie przyklady:
>

oki, moze zakrecony jestem ale cos nie wydaje mi sie zeby to pomoglo w moim 
przypadku.... moze masz pomysl jak zmusic do pracy ta usluge neti(taka 
neostrada tspy z tego co widze w dzialaniu:D

na stronie z "pomoca" jest tylko cos takiego.
  !
  version 12.3
  !
  hostname BiznesNetRouter
  !
  logging buffered 10000 debugging
  no logging console
  enable password HASLO_ENABLE
  !
  ip subnet-zero
  !
  ip dhcp pool 0
  network 10.0.0.0 255.255.255.0
  dns-server 10.0.0.1
  !
  vpdn enable
  !
  vpdn-group 1

  request-dialin
  protocol pppoe
  ip mtu adjust
  !
  interface Ethernet0/0
  no ip mroute-cache
  ip address 10.0.0.1 255.255.255.0
  ip nat inside
  !
  interface Ethernet0/1
  no ip mroute-cache
  pppoe enable
  pppoe-client dial-pool-number 1
  !
  interface Dialer1
  ip address negotiated
  ip mtu 1492

  ip nat outside
  no ip mroute-cache
  dialer pool 1
  dialer string 0
  dialer-group 1
  encapsulation ppp
  ppp lcp predictive
  ppp authentication pap optional
  ! UWAGA: zamiast pierwszego biznesnet24 należy w konfiguracji
  ! produkcyjnej użyć przyznanej nazwy użytkownika.
  ! Zamiast drugiego biznesnet24 należy podać hasło do usługi
  ! BiznesNet24
  ppp pap sent-username biznesnet24 password 0 biznesnet24
  ppp ipcp dns request accept
  !
  ip nat inside source list 1 interface Dialer1 overload
  ip http server
  no ip http secure-server
  ip classless
  ip route 0.0.0.0 0.0.0.0 Dialer1
  !
  ip dns server
  !
  access-list 1 permit 10.0.0.0 0.0.0.255
  dialer-list 1 protocol ip permit
  !
  line con 0
  exec-timeout 0 0
  line aux 0
  line vty 0 4
  password HASLO_TELNET
  login
  !
  end

  -- 
  pozdrawiam
  piotrek 
Re: problem z pppoe na cisco 1841
#277849
Author: Piotrek
Date: Wed, 15 Feb 2006 08:14
11 lines
1335 bytes
>> dlaczego wszedzie podane jes ze ma byc protocol pppoe??
>
> To pytanie do autorow tych materialow. A mozesz pokazac gdzie tak pisalo?


znalazlem np cos takiego.
http://www.cisco.com/en/US/products/sw/iosswrel/ps1834/products_feature_guide09186a00800800f4.html

-- 
pzdr
piotrek
Re: problem z pppoe na cisco 1841
#277852
Author: Marcin Ścieślicki
Date: Wed, 15 Feb 2006 19:59
30 lines
1820 bytes
Hej,


a zerknij proszę na ten przykład:

http://www.cisco.com/en/US/partner/tech/tk175/tk15/technologies_configuration_example09186a0080093e67.shtml


Interesujące jest fragment:

!
vpdn-group pppoe
  request-dialin

!--- You are the PPPoE client that asks to establish a session
!--- with the aggregation unit (6400 NRP). These VPDN commands
!--- are not needed with Cisco IOS Software Release 12.2(13)T
!--- or later.

   protocol pppoe
!

Znaczy, że jeśli masz soft nowszy niż 12.2(13)T a masz bo masz ISR'a to tej 
komendy wcale nie musisz wpisywać.

Nie mam teraz dostępu do łącza DSLowego lub innego z PPPoE także nie mogę 
sprawdzić - daj znać czy na tym przykładzie Ci ruszyło.

pozdrawiam
Marcin 
Re: problem z pppoe na cisco 1841
#277853
Author: piotrek
Date: Wed, 15 Feb 2006 22:17
17 lines
1644 bytes
> Znaczy, że jeśli masz soft nowszy niż 12.2(13)T a masz bo masz ISR'a to 
> tej komendy wcale nie musisz wpisywać.
>
> Nie mam teraz dostępu do łącza DSLowego lub innego z PPPoE także nie mogę 
> sprawdzić - daj znać czy na tym przykładzie Ci ruszyło.
>


soft 12.4 wiec sie juz lapie. dzisiaj popoludniu dostalem z techmexu 
odpowiedz ze rzeczywiscie ta komenda jest niepotrzebna. zassałem PDFa i 
jutro rano jade walczyc z tym dalej to popoludniu napisze jak mi poszlo.

dziekuje za pomoc

-- 
pozdrawiam
piotrek
Re: problem z pppoe na cisco 1841
#277854
Author: antylopa
Date: Thu, 16 Feb 2006 10:42
25 lines
1542 bytes
> Znaczy, że jeśli masz soft nowszy niż 12.2(13)T a masz bo masz ISR'a to tej 
> komendy wcale nie musisz wpisywać.
> 
> Nie mam teraz dostępu do łącza DSLowego lub innego z PPPoE także nie mogę 
> sprawdzić - daj znać czy na tym przykładzie Ci ruszyło.
> 
> pozdrawiam
> Marcin 
> 
> 

witam

utknelismy na pewnym problemie. przy debagowaniu dialera widze cos takiego
No free dialer - starting fast idle timer


dialer i porte fa jest w tej samej pool

o co moze chodzic??

-- 
pzdr
piotrek
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads