in this Lab I learn how vxlan works with Multicast as BUM ( Broadcast Unknown Multicast), meaning if a host ping to another ip in same segment switch will be check if its already at their local mac address table, if not ? they will broadcast to another port except where the request packet coming in, in this case switch will broadcast also using it multicast group meaning it would capability to broadcast to it Multicast Tunnel
This is my simple topology:
Hostname LEAF01 | Hostname LEAF02 | Hostname SPINE |
ip pim rp-address 3.3.3.3 | ip pim rp-address 3.3.3.3 | ip routing |
! | ! | ! |
ip routing | ip routing | ip multicast-routing |
! | ! | ! |
ip multicast-routing | ip multicast-routing | ! |
interface Ethernet6 | ||
interface Ethernet7 | interface Ethernet7 | no switchport |
! | no switchport | ip address 192.168.23.3/24 |
ip address 192.168.13.1/24 | ip address 192.168.23.2/24 | ip pim sparse-mode |
ip pim sparse-mode | ip pim sparse-mode | ! |
! | ! | interface Ethernet7 |
Vlan 10 | Vlan 10 | no switchport |
! | ! | ip address 192.168.13.3/24 |
interface Ethernet2 | interface Ethernet2 | ip pim sparse-mode |
switchport access vlan 10 | switchport access vlan 10 | ! |
! | ! | ! |
! | ! | interface Loopback0 |
interface Loopback0 ip address 1.1.1.1/32 |
interface Loopback0 ip address 2.2.2.2/32 |
ip address 3.3.3.3/32 |
! | ! | ip pim sparse-mode sg-expiry-timer 65535 |
interface Vxlan1 | interface Vxlan1 | ! |
vxlan multicast-group 239.1.1.1 | vxlan multicast-group 239.1.1.1 | ! |
vxlan source-interface Loopback0 | vxlan source-interface Loopback0 | ip pim rp-candidate Loopback0 224.0.0.0/4 |
vxlan udp-port 4789 | vxlan udp-port 4789 | ip pim bsr-candidate Loopback0 224.0.0.0/4 priority 64 hashmask 30 interval 60 |
vxlan vlan 10 vni 10010 | vxlan vlan 10 vni 10010 | ! |
router ospf 1 | ||
router ospf 1 | router ospf 1 | network 0.0.0.0/0 area 0.0.0.0 |
network 0.0.0.0/0 area 0.0.0.0 | network 0.0.0.0/0 area 0.0.0.0 | max-lsa 12000 |
between Leaf 01 and Leaf 02 we tunneling using Multicast.
this is my personal notes, I will try to deep packet capture to see the flow in the next posts.