Published using Google Docs
CCNA3_Practice5_ver1
Updated automatically every 5 minutes

Лабораторно упражнение N 5

Забележка:  Да се провежда след Модул 8

1. Конфигуриране на PPPoE:

ISP(config) # username Cust1 password ciscopppoe1

ISP(config) # username Cust2 password ciscopppoe2

ISP(config) # ip local pool PPPoEpool 10.0.0.1 10.0.0.10

ISP(config) # interface virtual-template 1

ISP(config-if) # ip address 10.0.0.254 255.255.255.0

ISP(config-if) # mtu 1492

ISP(config-if) # peer default ip address pool PPPoEpool

ISP(config-if) # ppp authentication chap callin

ISP(config-if) # exit

ISP(config) # bba-group pppoe global

ISP(config-bba-group) # virtual-template 1

ISP(config-if) # exit

ISP(config) # interface G 0/0

ISP(config-if) # pppoe enable group global

ISP(config-if) # no shutdown

Cust1(config) # interface G 0/0

Cust1(config-if) # pppoe enable

Cust1(config-if) # pppoe-client dial-pool-number 1

Cust1(config-if) # no shutdown

Cust1(config-if) # exit

Cust1(config) # interface dialer 1

Cust1(config-if) # mtu 1492

Cust1(config-if) # ip address negotiated

Cust1(config-if) # encapsulation ppp

Cust1(config-if) # dialer pool 1

Cust1(config-if) # ppp authentication chap callin

Cust1(config-if) # ppp chap hostname Cust1

Cust1(config-if) # ppp chap password ciscopppoe1

Cust1(config-if) # exit

Cust1(config) # ip route 0.0.0.0 0.0.0.0 dialer 1

Cust1 # debug ppp authentication

Cust1 # debug pppoe events

Cust1 # show ip interface brief

Cust1 # show ip route

Cust1 # show pppoe session

2. Конфигуриране на Point-to-Point GRE VPN Tunnel:

ISP(config) # ip route 0.0.0.0 0.0.0.0 10.0.0.1

Cust1 (config) # ip route 0.0.0.0 0.0.0.0 10.0.0.254

ISP(config) # interface tunnel 0

ISP(config-if) # ip address 172.16.12.1 255.255.255.252

ISP(config-if) # tunnel source 10.0.0.254

ISP(config-if) # tunnel destination 10.0.0.1

ISP(config) # interface G 0/1

ISP(config-if) # ip address 172.16.1.1 255.255.255.0

ISP(config-if) # no shutdown

Cust1(config) # interface tunnel 0

Cust1(config-if) # ip address 172.16.12.2 255.255.255.252

Cust1(config-if) # tunnel source 10.0.0.1

Cust1(config-if) # tunnel destination 10.0.0.254

Cust1(config) # interface G 0/1

Cust1(config-if) # ip address 172.16.2.1 255.255.255.0

Cust1(config-if) # no shutdown

ISP # show ip interface brief

Cust1 # show ip interface brief

ISP # ping 172.16.12.2

ISP(config) # router ospf 1

ISP(config-router) # network 172.16.1.0 0.0.0.255 area 0

ISP(config-router) # network 172.16.12.0 0.0.0.3 area 0

Cust1(config) # router ospf 1

Cust1(config-router) # network 172.16.2.0 0.0.0.255 area 0

Cust1(config-router) # network 172.16.12.0 0.0.0.3 area 0

ISP # show ip route

Cust1 # show ip route

PC1> ping 172.16.2.2   /PC2/

PC1> tracert 172.16.2.2