Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
57 views7 pages

VXLAN With Multicast Underlay

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 7

Download PNETLab Platform

PNETLAB Store
PNETLab.com

VXLAN WITH MULTICAST UNDERLAY

Lab Topology:
Please use the following topology to complete this lab exercise:

https://user.pnetlab.com/store/labs/detail?id=16017035165831

1
Download PNETLab Platform
PNETLAB Store
PNETLab.com

Lab Objective:
The objective of this lab exercise is for you to learn and understand how can you configure
VXLAN with Multicast Underlay.

Task list:
Task 1: Configure the hostname and IP address for the interface for Routers (CSR2-4, R4, R5)
as topo. Check the reachability between Routers CSR after configuration OSPF between CSRs.
Task 2: Configure Multicast bi-directional PIM in all CSRs Routers.
Task 3: Config VXLAN Part on VTEP Routers (CSR, CSR2).
Task 4: Check VXLAN State on 2 VTEP Router (CSR, CSR2).

//This lab will use Router CSR 1000v as VTEP and Core Router. Please download and install it to
PNETLAB before practice.

SOLUTION:
Task 1: Configure the hostname and IP address for the interface for Routers (CSR2-4, R4, R5)
as topo. Check the reachability between Routers CSR after configuration OSPF between CSRs.
On CSR
!
interface Loopback0
ip address 1.1.1.1 255.255.255.255
ip ospf 1 area 0
!
interface GigabitEthernet1
ip address 10.1.12.1 255.255.255.0
ip ospf network point-to-point
ip ospf 1 area 0
!
On CSR1
!
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip ospf 1 area 0
!
interface GigabitEthernet1
ip address 10.1.12.2 255.255.255.0
ip ospf network point-to-point
ip ospf 1 area 0
!
interface GigabitEthernet2
ip address 10.1.23.2 255.255.255.0
ip ospf network point-to-point

2
Download PNETLab Platform
PNETLAB Store
PNETLab.com

ip ospf 1 area 0
!
On CSR2
!
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
ip ospf 1 area 0
!
interface GigabitEthernet2
ip address 10.1.23.3 255.255.255.0
ip ospf network point-to-point
ip ospf 1 area 0
!
On R4
!
interface Ethernet0/0
ip address 192.168.45.4 255.255.255.0
ip ospf network point-to-point
ip ospf 1 area 0
!
On R5
!
interface Ethernet0/0
ip address 192.168.45.5 255.255.255.0
ip ospf network point-to-point
ip ospf 1 area 0
!
Verification:
CSR#ping 3.3.3.3 source l0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 2/2/4 ms

Task 2: Configure Multicast bi-directional PIM in all CSRs Routers.


On CSR
!
ip multicast-routing distributed
!
ip pim bidir-enable
ip pim rp-address 2.2.2.2 bidir
!
interface Loopback0
3
Download PNETLab Platform
PNETLAB Store
PNETLab.com

ip pim sparse-mode
!
interface GigabitEthernet1
ip pim sparse-mode
!
On CSR1
!
ip multicast-routing distributed
!
ip pim bidir-enable
ip pim rp-address 2.2.2.2 bidir
!
interface Loopback0
ip pim sparse-mode
!
interface GigabitEthernet1
ip pim sparse-mode
!
interface GigabitEthernet2
ip pim sparse-mode
!
On CSR2
!
ip multicast-routing distributed
!
ip pim bidir-enable
ip pim rp-address 2.2.2.2 bidir
!
interface Loopback0
ip pim sparse-mode
!
interface GigabitEthernet2
ip pim sparse-mode
!

Task 3: Config VXLAN Part on VTEP Routers (CSR, CSR2).


On CSR
!
interface nve1
no ip address
source-interface Loopback0
member vni 310595 mcast-group 239.0.150.220
!
interface GigabitEthernet3
service instance 1 ethernet

4
Download PNETLab Platform
PNETLAB Store
PNETLab.com

encapsulation untagged
!
!
bridge-domain 1
member vni 310595
member GigabitEthernet3 service-instance 1
!
On CSR2
!
interface nve1
no ip address
source-interface Loopback0
member vni 310595 mcast-group 239.0.150.220
!
interface GigabitEthernet3
service instance 1 ethernet
encapsulation untagged
!
!
bridge-domain 1
member vni 310595
member GigabitEthernet3 service-instance 1
!
//VNI in 2 VTEP Router must be matched.
// Multicast Group 239.0.150.220 is group for Multcast Underlay, used to transport packet
between 2 VTEP Routers.
//Configure Service Instance Ethernet on interface towards to R4 and R5, specify the
encapsulation is untagged.
//Configure Bridge-Domain on 2 VTEP.

Task 4: Check VXLAN State on 2 VTEP Router (CSR, CSR2).

CSR#show ip mroute 239.0.150.220


IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C -
Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E -
Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP
Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
5
Download PNETLab Platform
PNETLAB Store
PNETLab.com

N - Received BGP Shared-Tree Prune, n - BGP C-Mroute


suppressed,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector, p - PIM Joins on route,
x - VxLAN group, c - PFP-SA cache created entry
Outgoing interface flags: H - Hardware switched, A - Assert winner, p
- PIM Join
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 239.0.150.220), 00:01:04/00:01:57, RP 2.2.2.2, flags: BCx


Bidir-Upstream: GigabitEthernet1, RPF nbr 10.1.12.2
Outgoing interface list:
Tunnel0, Forward/Sparse-Dense, 00:01:03/00:01:57
GigabitEthernet1, Bidir-Upstream/Sparse, 00:01:04/stopped

CSR2#show ip mroute 239.0.150.220


IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C -
Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E -
Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP
Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
G - Received BGP C-Mroute, g - Sent BGP C-Mroute,
N - Received BGP Shared-Tree Prune, n - BGP C-Mroute
suppressed,
Q - Received BGP S-A Route, q - Sent BGP S-A Route,
V - RD & Vector, v - Vector, p - PIM Joins on route,
x - VxLAN group, c - PFP-SA cache created entry
Outgoing interface flags: H - Hardware switched, A - Assert winner, p
- PIM Join
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 239.0.150.220), 00:02:39/00:00:22, RP 2.2.2.2, flags: BCx


Bidir-Upstream: GigabitEthernet2, RPF nbr 10.1.23.2
Outgoing interface list:
Tunnel0, Forward/Sparse-Dense, 00:02:38/00:00:22
GigabitEthernet2, Bidir-Upstream/Sparse, 00:02:39/stopped

//Building Multicast Underlay for VxLAN.


6
Download PNETLab Platform
PNETLAB Store
PNETLab.com

CSR#show nve interface nve1


Interface: nve1, State: Admin Up, Oper Up, Encapsulation: Vxlan,
BGP host reachability: Disable, VxLAN dport: 4789
VNI number: L3CP 0 L2DP 1
source-interface: Loopback0 (primary:1.1.1.1 vrf:0)

CSR#show nve vni


Interface VNI Multicast-group VNI state Mode BD cfg vrf
nve1 310595 239.0.150.220 Up L2DP 1 CLI N/A

CSR#show bridge-domain 1
Bridge-domain 1 (2 ports in all)
State: UP Mac learning: Enabled
Aging-Timer: 300 second(s)
GigabitEthernet3 service instance 1
vni 310595
AED MAC address Policy Tag Age Pseudoport
0 AABB.CC00.0200 forward dynamic 297 GigabitEthernet3.EFP1
0 AABB.CC00.0100 forward dynamic 299 nve1.VNI310595, VxLAN
src: 1.1.1.1 dst: 3.3.3.3

//Bridge-domain on VTEP Router will learn MAC address of Router R4 and R5.

R4#ping 192.168.45.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.45.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/3 ms

R4#show ip ospf neighbor

Neighbor ID Pri State Dead Time Address


Interface
192.168.45.5 0 FULL/ - 00:00:30 192.168.45.5
Ethernet0/0

//VxLAN will connect 2 Router R4 and R5. Now R4 could reach to R5 and could establish OSPF
neighbor with R5.

You might also like