cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

LISP Locator ID Separation Protocol

307
Views
0
Helpful
0
Comments

LISP Protocol (Location Identifier Separation Protocol)!

 

- The LISP protocol has become a brilliant stardom with the digital transformation that we are now experiencing.

- Today we will talk about the LISP protocol and its advantages and method of preparation by hands on lab together.

 - The current ip routing protocol use a single numbering space [Ip address] to devices identity and attaches to the network.

- The Lisp Protocol architecture design separates the EID [Endpoint Identifier] are assigned to end device, RLOC [Routing Locator] are assigned to the Getaway to make up global routing system is running.

- Some of Terminology

- RLOC--- Routing Locator.

- EID--- Endpoint identifier.

- ETR--- Egress Tunnel Router.

- ITR --- Ingress Tunnel Router.

- XTR – This is mean both functions ITR, ETR and we configure this feature on the core network which has map resolver and map server.

- Some of advantage for Lisp protocol: Simplify routing operation, Scalability, support data center Virtualization, Mobility, reduces the complexities.

 

  • Lab Topology -

 

LISP-TOPOPLO.JPG

Initial Configuration Part:

 

Router #1# Site 1

SITE-1(config) # Hostname SITE-1

SITE-1(config) # Ip cef

SITE-1(config) # Interface Loopback1

SITE-1(config) # Ip address 10.1.0.1 255.255.255.0

SITE-1(config) # Interface Ethernet0/0

SITE-1(config) # Ip address 1.1.1.1 255.255.255.0

SITE-1(config) # Ip route 0.0.0.0 0.0.0.0 1.1.1.2

 

------------------------------------------------------------------------------------------

 

Router #2# Site 2

SITE-2(config) # Hostname SITE-2

SITE-2(config) # Ip cef

SITE-2(config) # Interface Loopback1

SITE-2(config) # Ip address 10.2.0.1 255.255.255.0

SITE-2(config) # Interface Ethernet0/1

SITE-2(config) # Ip address 2.1.1.1 255.255.255.0

SITE-2(config) # Ip route 0.0.0.0 0.0.0.0 2.1.1.2

 

---------------------------------------------------------------------------------------------

 

Router #3, 10, 11# Core Network

Router #3#

MS-MR (config) #Hostname MS-MR

MS-MR (config) #Interface Loopback1

MS-MR (config) #ip address 5.1.1.1 255.255.255.255

MS-MR (config) #Interface Ethernet0/1

MS-MR (config) #Ip address 10.1.23.3 255.255.255.0

MS-MR (config) #Interface Ethernet0/2

MS-MR (config) # Ip address 10.1.34.3 255.255.255.0

MS-MR (config) # Router ospf 1

MS-MR (config) # Network 5.1.1.1 0.0.0.0 area 0

MS-MR (config) #Network 10.1.23.0 0.0.0.255 area 0

MS-MR (config) #Network 10.1.34.0 0.0.0.255 area 0

MS-MR (config) # Router bgp 6500

MS-MR (config) # Bgp log-neighbor-changes

MS-MR (config) #Redistribute ospf 1 match internal external 1 external 2

MS-MR (config) # Neighbor 10.1.23.2 remote-as 6500

MS-MR (config) # Neighbor 10.1.34.4 remote-as 6500

 

----------------------------------------------------------------------------------------

 

 

Router #10#

CORE-SITE-1(config) # Hostname CORE-SITE-1

CORE-SITE-1(config) # Interface Ethernet0/0

CORE-SITE-1(config) # Ip address 1.1.1.2 255.255.255.0

CORE-SITE-1(config) # Interface Ethernet0/1

CORE-SITE-1(config) # Ip address 10.1.23.2 255.255.255.0

CORE-SITE-1(config) # Router ospf 1

CORE-SITE-1(config) # Network 10.1.23.0 0.0.0.255 area 0

CORE-SITE-1(config) # Router bgp 6500

CORE-SITE-1(config) # Bgp log-neighbor-changes

CORE-SITE-1(config) # Network 1.1.1.0 mask 255.255.255.0

CORE-SITE-1(config) # Network 10.1.23.0 mask 255.255.255.0

CORE-SITE-1(config) # Neighbor 10.1.23.3 remote-as 6500

------------------------------------------------------------------------------------------------

 

Router #11#

CORe-Site-2(config) # Interface Ethernet0/1

CORe-Site-2(config) # Ip address 2.1.1.2 255.255.255.0

CORe-Site-2(config) # Interface Ethernet0/2

CORe-Site-2(config) # Ip address 10.1.34.4 255.255.255.0

CORe-Site-2(config) # Router ospf 1

CORe-Site-2(config) # Network 10.1.34.0 0.0.0.255 area 0

CORe-Site-2(config) # Router bgp 6500

CORe-Site-2(config) # Bgp log-neighbor-changes

CORe-Site-2(config) # Network 2.1.1.0 mask 255.255.255.0

CORe-Site-2(config) # Network 10.1.34.0 mask 255.255.255.0

CORe-Site-2(config) # Neighbor 10.1.34.3 remote-as 6500

 

 

**** Lisp Configuration ****

Router #1# Site 1

SITE-1(config) # Router lisp 1

SITE-1(config) # Locator-table default

SITE-1(config) # Locator-set site-1

SITE-1(config) # 1.1.1.1 Priority 100 weight 50

 SITE-1(config) # Exit

 !

 SITE-1(config) # Eid-table default instance-id 0

 SITE-1(config) # Database-mapping 10.10.0.0/24 1.1.1.1 priority 100 weight 50

 SITE-1(config) # Ipv4 itr map-resolver 5.1.1.1

 SITE-1(config) # Ipv4 itr

 SITE-1(config) # Ipv4 etr map-server 5.1.1.1 key site1    {5.1.1.1 configure on the R 3}

 SITE-1(config) # Ipv4 etr

------------------------------------------------------------------------------------------------------------

 

Router #2# Site 2

SITE-2(config) # Router lisp 1

SITE-2(config) # Locator-table default

SITE-2(config) # Locator-set site2

SITE-2(config) # 2.1.1.1 Priority 100 weight 50

 SITE-2(config) #Exit

 !

 SITE-2(config) # Eid-table default instance-id 0

 SITE-2(config) # Database-mapping 10.2.0.0/24 2.1.1.1 priority 100 weight 50

 SITE-2(config) # Ipv4 itr map-resolver 5.1.1.1

 SITE-2(config) # Ipv4 itr

 SITE-2(config) # Ipv4 etr map-server 5.1.1.1 key site2

 SITE-2(config) # Ipv4 etr

 

----------------------------------------------------------

MS-MR (config) # router lisp 1

MS-MR (config) # locator-table default

MS-MR (config) #site site-1

MS-MR (config) #authentication-key site1

MS-MR (config) # eid-prefix 10.1.0.0/24

MS-MR (config) #exit

 !

MS-MR (config) #site site2

MS-MR (config) # authentication-key site2

MS-MR (config) #eid-prefix 10.2.0.0/24

MS-MR (config) # exit

 !

MS-MR (config) #ipv4 map-server

MS-MR (config) # ipv4 map-resolver

MS-MR (config) #ipv4 itr

MS-MR (config) # ipv4 etr

MS-MR (config) # exit

-----------------------------------------------------------------

Verification

MS-MR (config) #do show lisp 1 site summary

                     ----------- IPv4 ----------- ----------- IPv6 -----------

Site name            Configured Registered Incons Configured Registered Incons

Site-1                        1          1      0          0          0      0

site2                         1          1      0          0          0      0

 

Number of configured sites:                     2

Number of registered sites:                     2

Sites with inconsistent registrations:          0

IPv4

  Number of configured EID prefixes:            2

  Number of registered EID prefixes:            2

MS-MR (config) #do show lisp 1 instance-id 0 site

LISP Site Registration Information

 

Site Name      Last      Up   Who Last             Inst     EID Prefix

               Register       Registered           ID

Site-1         00:00:50       yes 1.1.1.1                      10.1.0.0/24

Site2          00:00:46      yes 2.1.1.1                       10.2.0.0/24

 

--------------------

SITE-1(config) #do show ip lisp 1 database

LISP ETR IPv4 Mapping Database for LISP 1 EID-table default (IID 0), LSBs: 0x0, 1 entries

*** ALL CONFIGURED LOCAL EID PREFIXES HAVE NO ROUTE ***

***      REPORTING LOCAL RLOCS AS UNREACHABLE       ***

10.10.0.0/24 *** NO ROUTE TO EID PREFIX ***

  Locator     Pri    / Wgt     Source     State

  1.1.1.1    100/    50   cfg-addr   site-self, reachable

----------------------

 

SITE-2(config) #do show ip lisp 1 database

LISP ETR IPv4 Mapping Database for EID-table default (IID 0), LSBs: 0x1, 1 entries

10.2.0.0/24

  Locator     Pri  /         Wgt  Source     State

  2.1.1.1    100   /     50   cfg-addr   site-self, reachable

***** I hope that has been informative for you and thank you *****

Mohamed Alhenawy

 

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here