La configuración del servidor mínima consta de lo siguiente:
Nombre y clave para la autenticación del cliente
username R2 password 0 CISCO
Servidor DHCP (de alguna forma hay que dar ip al lciente)
ip dhcp pool MYPOOL network 10.0.0.0 255.255.255.0 ip dhcp excluded-address 10.0.0.1Un BBA group y su virtual template correspondiente (con la ip asignada a la fa0/0)
bba-group pppoe 1 virtual-template 1 interface Virtual-Template1 ip address 10.0.0.1 255.255.255.0
Lo aplicamos a la fa0/0
interface FastEthernet0/0 no ip address pppoe enable group 1 end
La configuración del cliente sería la siguiente:
Interfaz física
interface FastEthernet0/0 no ip address pppoe enable group global pppoe-client dial-pool-number 1 endDialer
interface Dialer0 ip address dhcp encapsulation ppp dialer pool 1 ppp authentication pap callin ! autenticación clinete-servidor ppp pap sent-username R2 password 0 CISCO endEjecutando el comando who sobre el cliente podemos ver la sesión establecida:
R2#who Line User Host(s) Idle Location * 0 con 0 idle 00:00:00 Interface User Mode Idle Peer Address Vi2 PPPoE 00:01:09 10.0.0.1Log ppp del cliente:
*Mar 1 00:53:46.523: Vi2 PPP: Using dialer call direction *Mar 1 00:53:46.523: Vi2 PPP: Treating connection as a callout *Mar 1 00:53:46.523: Vi2 PPP: Session handle[5700000E] Session id[0] *Mar 1 00:53:46.527: Vi2 PPP: Authorization required *Mar 1 00:53:46.527: Vi2 PPP: No remote authentication for call-out *Mar 1 00:53:46.531: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state t o up *Mar 1 00:53:46.755: Vi2 PPP: No authorization without authentication *Mar 1 00:53:47.763: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Ac cess2, changed state to up
Log ppp del servidor:
*Mar 1 00:51:13.699: PPPoE 0: I PADI R:cc01.15b8.0000 L:ffff.ffff.ffff Fa0/0 *Mar 1 00:51:13.699: Service tag: NULL Tag *Mar 1 00:51:13.699: PPPoE 0: O PADO, R:cc00.15b8.0000 L:cc01.15b8.0000 Fa0/0 *Mar 1 00:51:13.703: Service tag: NULL Tag R1# *Mar 1 00:51:15.727: PPPoE 0: I PADR R:cc01.15b8.0000 L:cc00.15b8.0000 Fa0/0 *Mar 1 00:51:15.731: Service tag: NULL Tag *Mar 1 00:51:15.731: PPPoE : encap string prepared *Mar 1 00:51:15.731: [10]PPPoE 10: Access IE handle allocated *Mar 1 00:51:15.731: [10]PPPoE 10: pppoe SSS switch updated *Mar 1 00:51:15.731: [10]PPPoE 10: AAA unique ID allocated *Mar 1 00:51:15.735: [10]PPPoE 10: No AAA accounting method list *Mar 1 00:51:15.735: [10]PPPoE 10: Service request sent to SSS *Mar 1 00:51:15.735: [10]PPPoE 10: Created, Service: None R:cc00.15b8.0000 L:cc01.15b8.0000 Fa0/0 *Mar 1 00:51:15.743: [10]PPPoE 10: State NAS_PORT_POLICY_INQUIRY Event SSS_LOCAL *Mar 1 00:51:15.743: [10]PPPoE 10: O PADS R:cc01.15b8.0000 L:cc00.15b8.0000 Fa0/0 *Mar 1 00:51:15.747: [10]PPPoE 10: State PPP_START Event DYN_BIND *Mar 1 00:51:15.751: [10]PPPoE 10: data path set to PPP *Mar 1 00:51:16.015: [10]PPPoE 10: State LCP_NEGOTIATION Event PPP_LOCAL *Mar 1 00:51:16.015: PPPoE 10/SB: Sent vtemplate request on base Vi1 *Mar 1 00:51:16.043: [10]PPPoE 10: State VACCESS_REQUESTED Event VA_RESP *Mar 1 00:51:16.043: [10]PPPoE 10: Vi1.1 interface obtained *Mar 1 00:51:16.051: [10]PPPoE 10: State PTA_BINDING Event STAT_BIND *Mar 1 00:51:16.051: [10]PPPoE 10: data path set to Virtual Acess *Mar 1 00:51:16.051: [10]PPPoE 10: Connected PTA
No hay comentarios:
Publicar un comentario