Showing posts with label CCNP Route(300-101 and 642-902}. Show all posts
Showing posts with label CCNP Route(300-101 and 642-902}. Show all posts

Tuesday, April 14, 2015

PPPoE Server & Client Configuration {CCNP Route}









PPPoE Server (ISP) Side Configuration:-

Create a Virtual-temples interface to face the customer side. When client initiate the session the router automatically spawns a virtual interface and show that a PPP connection
Ø  ISP(config)#interface virtual-template 1        
Ø  ISP(config-if)#ip address 100.100.100.5 255.255.255.252
Ø  ISP(config)#i peer default ip address pool CLIENT                {assigned the ip address to client using this Pool of Address}
Ø  ISP(config-if)#no shutdown
Ø  ISP(config-if)#exit

Configuration of BBA (Broadband Aggregation) group which will manage the incoming PPPoE connection attempts and bind them with Virtual-templet interface
Ø  ISP(config)#bba-group pppoe POINT-TO-POINT        
ü  POINT-TO-POINT:- bba group name
Ø  ISP(config-bba-group)# virtual-template 1         {associate Virtual Templet interface}
Ø  ISP(config-bba-group)#exit

Enable the PPPoE bba group
Ø  ISP(config)#interface fastEthernet 0/0
Ø  ISP(config-if)#description CONNECTED WITH R2
Ø  ISP(config-if)#pppoe enable group POINT-TO-POINT        
Ø  ISP(config-if)#no shutdown
Ø  ISP(config-if)#exit

Creating a pool that automatic assign the ip address to client
Ø  ISP(config)#ip local pool CLIENT 100.100.100.6    

To Authenticate the Clients {Customer}
Ø  ISP(config)#aaa new-model
Ø  ISP(config)#aaa authentication ppp R2_CLIENT local
ü  PPP :- Point-to-Point
ü  R2_CLIENT:- Authentication list name
ü  Local:- local username and password {see below}
Ø  ISP(config)#username ccnaccnplinux.com password 123456

Enable Authentication in Virtual interface
Ø  ISP(config)#interface virtual-template 1
Ø  ISP(config-if)# ppp authentication pap chap R2_CLIENT         {enable aaa authentication}

PPPoE Client {Customer} Side Configuration:-
Ø  R2(config)#interface FastEthernet0/0
Ø  R2(config-if)# no ip address
Ø  R2(config-if)# no shut down
Ø  R2(config-if)# pppoe enable group global        
ü  enable Group Globally

Ø  R2(config-if)# pppoe-client dial-pool-number 10             
ü  Configures the PPPoE client and specifies the dialer interface to use for cloning

Ø  R2(config-if)#exit

Creating a Dialer interface which indicates how to handle traffic from the clients
Ø  R2(config)#interface Dialer 1           {Create a Dialer interface with interface number 1} 
Ø  R2(config-if)# ip address dhcp               
ü  obtained through DHCP Server
                          OR
Ø  R2(config-if)# ip address negotiate          
ü  obtained through PPP/IPCP (IP Control Protocol) address negotiation

Ø  R2(config-if)# ip mtu 1492
Ø  R2(config-if)# encapsulation ppp
Ø  R2(config-if)# dialer pool 10            
ü  Specifies the dialer pool to use to connect to a specific destination subnetwork
ü  10 :- Dialer pool number
Ø  R2(config-if)# ppp authentication pap chap callin           
ü  Authenticate remote on incoming call only

Authentication through CHAP Protocol   [Username and Password ISP Give you]
Ø  R2(config-if)# ppp chap hostname ccnaccnplinux.com  
Ø  R2(config-if)# ppp chap password 123456    

Authentication through PAP Protocol    [Username and Password ISP Give you]
Ø  R2(config-if)#ppp pap sent-username ccnaccnplinux.com password 123456    
Ø  R2(config-if)# ppp ipcp route default                {automatically use ISP to default route}

Configuration of NAT {allow Org to access the internet}:-
Ø  R2(config)#interface dialer 1
Ø  R2(config-if)#description WAN INTERFACE
Ø  R2(config-if)#ip nat outside
Ø  R2(config-if)#exit

Ø  R2(config)#interface fastEthernet 0/1
Ø  R2(config-if)#description LAN INTERFACE
Ø  R2(config-if)#ip address 192.168.2.1 255.255.255.0
Ø  R2(config-if)#ip nat inside
Ø  R2(config-if)#no shut
Ø  R2(config-if)#exit

Ø  R2(config)#access-list 20 permit any                          (Access-list)
Ø  R2(config)#ip nat inside source list 20 interface dialer 1 overload



  Now Test using PC1 to Ping “ccnaccnplinux.com”



Read More

Tuesday, April 7, 2015

RIP Configuration in IPv6 {CCNP Part2}

RIPng Configuration
Ø  R1(config)#ipv6 unicast-routing         {enable IPv6 on Router}
Ø  R1 (config)#ipv6 cef                                {enable cisco express forwarding (CEF) for IPv6.
CEF is a highly-efficient packet switching technology supported by Cisco router.}

v  Router1 interfaces Configuration
Ø  R1(config)#interface serial 2/0
Ø  R1(config-if)#description CONNECTED WITH R2
Ø  R1(config-if)#ipv6 address 2001:1::1/64
Ø  R1(config-if)#clock rate 64000
Ø  R1(config-if)#no shut
Ø  R1(config-if)#exit

Ø  R1(config)#interface fastEthernet 0/0
Ø  R1(config-if)#description CONNECTED WITH SW1
Ø  R1(config-if)#ipv6 address 2001:4::1/64              
Ø  R1(config-if)#no shut
Ø  R1(config-if)#exit

v  Router2 Enable IPv6
Ø  R2(config)#ipv6 unicast-routing
Ø  R2(config)#ipv6 cef

v  Router2 interfaces Configuration
Ø  R2(config)#interface serial 2/0
Ø  R2(config-if)#description CONNECTED WITH R1
Ø  R2(config-if)#ipv6 address 2001:1::2/64
Ø  R2(config-if)#no shut
Ø  R2(config-if)#exit

Ø  R2(config)#interface serial 2/1
Ø  R2(config-if)#description CONNECTED WITH R3
Ø  R2(config-if)#ipv6 address 2001:2::1/64
Ø  R2(config-if)#clock rate 64000
Ø  R2(config-if)#no shut
Ø  R2(config-if)#exit

v  Router3 Enable IPv6
Ø  R3(config)#ipv6 unicast-routing
Ø  R3(config)#ipv6 cef


v  Router2 interfaces Configuration
Ø  R3(config)#interface serial 2/1
Ø  R3(config-if)#description CONNECTED WITH R2
Ø  R3(config-if)#ipv6 address 2001:2::2/64
Ø  R3(config-if)#no shut
Ø  R3(config-if)#exit

Ø  R3(config)#interface fastEthernet 0/0
Ø  R3(config-if)#description CONNECTED WITH SW2
Ø  R3(config-if)#ipv6 address 2001:3::1/64
Ø  R3(config-if)#no shut
Ø  R3(config-if)#exit

v  RIPng Protocol Configuration in R1 under the interface:-
Ø  R1(config)#interface serial 2/0
Ø  R1(config-if)#ipv6 rip DEMO-RIP enable   {DEMO-RIP:- name to identify the RIP Process}
Ø  R1(config-if)#exit

Ø  R1(config)#interface fastEthernet 0/0
Ø  R1(config-if)#ipv6 rip DEMO-RIP enable
Ø  R1(config-if)#exit

v  RIPng Protocol Configuration in R2 :-
Ø  R2(config)#interface serial2/0
Ø  R2(config-if)#ipv6 rip DEMO-RIP enable
Ø  R2(config-if)#exit

Ø  R2(config)#interface serial 2/1
Ø  R2(config-if)#ipv6 rip DEMO-RIP enable
Ø  R2(config-if)#exit

v  RIPng Protocol Configuration in R3 :-
Ø  R3(config)#interface serial 2/1
Ø  R3(config-if)#ipv6 rip DEMO-RIP enable
Ø  R3(config-if)#exit

Ø  R3(config)#interface fastEthernet 0/0
Ø  R3(config-if)#ipv6 rip DEMO-RIP enable
Ø  R3(config-if)#exit

{Configuration is done}

v  Troubleshooting & Verification Commands
Ø  Show ipv6 route
Ø  Show ipv6 interface brief
Ø  Show ipv6 protocols
Ø  Show ipv6 rip {option}

Ø  Debug ipv6 rip {option}

Read More

RIP InTroDuction and ConFiguration in IPv4 {CCNA and CCNP Part-1}




Ø  VLSM(Variable Length Subnet Mask}:-Send the Network with their Subnet Mask
Ø  Algorithm First Developed In 1969!!!
Ø  Split Horizon:- Do not Send update for an interface that interface you receive the update
Ø  Poison Reverse:- if Routers any interfaces down it will update their neighbor that network is unreachable using metric {hop count} 16
Ø  Hop Count:- Rip Choose Best path using hop (router) count. Rip support only 15 hop 16 is unreachable
Ø  Full and Triggered Updates:- Rip Send their Routing table every 30 Seconds and it send Full update and if any network is added or down then it send Triggered update

Ø  RIP Update Timer:-every 30 Seconds
Ø  Rip Hold Timer:- 180 Seconds  {3minutes}
Ø  Flush Timer:- 240 Seconds  {4 minutes}

v  R1 interfaces Configuration:-
Ø  R1(config)#interface serial 1/0
Ø  R1(config-if)#description CONNECTED WITH R2
Ø  R1(config-if)#ip address 192.168.1.1 255.255.255.252
Ø  R1(config-if)#clock rate 64000
Ø  R1(config-if)#no shut
Ø  R1(config-if)#exit

Ø  R1(config)#interface fastEthernet 0/0
Ø  R1(config-if)#description CONNECTED WITH SW1
Ø  R1(config-if)#ip address 192.168.2.1 255.255.255.0
Ø  R1(config-if)#no shut
Ø  R1(config-if)#exit


v  R2 interfaces Configuration:-
Ø  R2(config)#interface serial 1/0
Ø  R2(config-if)#description CONNECTED WITH R1
Ø  R2(config-if)#ip address 192.168.1.2 255.255.255.252
Ø  R2(config-if)#no shut
Ø  R2(config-if)#exit

Ø  R2(config)#interface serial 1/1
Ø  R2(config-if)#description CONNECTED WITH R3
Ø  R2(config-if)#ip address 192.168.1.5 255.255.255.252
Ø  R2(config-if)#clock rate 64000
Ø  R2(config-if)#no shut
Ø  R2(config-if)#exit

v  R3 interfaces Configuration:-
Ø  R3(config)#interface fastEthernet 0/0
Ø  R3(config-if)#description CONNECTED WITH SW2
Ø  R3(config-if)#ip address 10.250.250.1 255.255.255.0
Ø  R3(config-if)#no shut
Ø  R3(config-if)#exit

Ø  R3(config)#interface serial 1/1
Ø  R3(config-if)#description CONNECTED WITH R2
Ø  R3(config-if)#ip address 192.168.1.6 255.255.255.252
Ø  R3(config-if)#no shut
Ø  R3(config-if)#exit

v  RIP Configuration
Ø  R1(config)#router rip                                  {Turns On Routing Protocols)
Ø  R1(config-router)#version 2          
Ø  R1(config-router)#network 192.168.1.0        
Ø  R1(config-router)#network 192.168.2.0
Ø  R1(config-router)#no auto-summary              {Do not Summarize These network as their Default Class network}              
Ø  R1(config-router)#exit

ü  Network:-Tells Rip What Network you advertise
ü  And Tells Rip What Interface you Send Hello msg.


Ø  R2(config-router)#version 2
Ø  R2(config-router)#network 192.168.1.4
Ø  R2(config-router)#network 192.168.1.0
Ø  R2(config-router)#no auto-summary
Ø  R2(config-router)#exit

Ø  R3(config)#router rip
Ø  R3(config-router)#version 2
Ø  R3(config-router)#network 10.250.250.0
Ø  R3(config-router)#network 192.168.1.4
Ø  R3(config-router)#no auto-summary                  {Do not Summarize These network as their Default Class network}
Ø  R3(config-router)#exit

v  Troubleshooting & Verification Commands
Ø  Show ip route
Ø  Show ip interface brief
Ø  Show ip protocols
Ø  Debug ip rip {option}

v  Now Test
Ø  Ping PC1 to PC2
Ø  Ping PC2 to PC1

Click Here To Download The PDF File
Read More