Skip to content

Commit 533c0de

Browse files
committed
ceos lab fixes ...
Assisted-By: Claude (claude-4.5-sonnet) Signed-off-by: Harald Jensås <hjensas@redhat.com>
1 parent 6c330f1 commit 533c0de

2 files changed

Lines changed: 63 additions & 6 deletions

File tree

scenarios/networking-lab/devstack-ceos-vxlan/TROUBLESHOOTING.md

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,61 @@
2222
- Verify BGP is running: `show bgp summary`
2323
- Check BGP EVPN neighbors: `show bgp evpn summary`
2424
- Verify loopback reachability: `ping 10.255.255.1 source 10.255.255.3`
25-
- Check BGP configuration: `show running-config section bgp`
25+
- Check BGP configuration: `show running-config | section router bgp`
26+
- View all EVPN routes: `show bgp evpn`
27+
- Check EVPN Type 2 routes (MAC-IP): `show bgp evpn route-type mac-ip`
28+
- Check EVPN Type 3 routes (IMET): `show bgp evpn route-type imet`
29+
- View EVPN instance for VLAN: `show bgp evpn instance vlan <vlan-id>`
30+
- Check detailed EVPN routes: `show bgp evpn route-type mac-ip detail`
31+
32+
## VXLAN/EVPN MAC Learning
33+
34+
### Check Learned MACs via VXLAN
35+
```bash
36+
# View all MAC addresses learned via VXLAN (Arista equivalent of Cisco's "show l2route evpn mac all")
37+
show vxlan address-table
38+
39+
# Check MACs for specific VLAN
40+
show vxlan address-table vlan <vlan-id>
41+
```
42+
43+
### Check EVPN MAC-IP Routes
44+
```bash
45+
# View all EVPN Type 2 routes (MAC-IP advertisements)
46+
show bgp evpn route-type mac-ip
47+
48+
# Check specific MAC or IP
49+
show bgp evpn route-type mac-ip <mac-address>
50+
show bgp evpn route-type mac-ip <ip-address>
51+
52+
# View with details (includes route distinguishers, extended communities)
53+
show bgp evpn route-type mac-ip detail
54+
```
55+
56+
### Check VXLAN VTEPs
57+
```bash
58+
# List remote VTEPs
59+
show vxlan vtep
60+
61+
# Check VXLAN interface status
62+
show interface Vxlan1
63+
64+
# View VXLAN flood lists for BUM traffic
65+
show vxlan flood vtep
66+
67+
# Check VXLAN counters
68+
show vxlan counters
69+
```
70+
71+
### Verify ARP Learning for EVPN
72+
```bash
73+
# Check if switch has learned IP-to-MAC bindings
74+
show ip arp
75+
76+
# For MAC+IP to be advertised in EVPN Type 2 routes, the switch must have
77+
# ARP entries. If empty, only MAC-only routes will be advertised.
78+
# ARP suppression/proxy requires MAC+IP routes to function.
79+
```
2680

2781
## Devstack Deployment Issues
2882
- Check network connectivity on trunk0: `ip link show trunk0`

scenarios/networking-lab/devstack-ceos-vxlan/local.conf.j2

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ SERVICE_PASSWORD=$ADMIN_PASSWORD
88
# Service timeouts
99
SERVICE_TIMEOUT=120
1010

11-
# MTU - running inside an encapsulated environment, restrict to 1442 on the
12-
# physical network so VXLAN tenant networks get 1442 - 50 = 1392 effective MTU.
13-
PUBLIC_BRIDGE_MTU=1442
11+
# MTU - running inside an encapsulated environment (cloud overlay on cloud underlay)
12+
# Undercloud networks have MTU 1442, so overlay needs to account for additional overhead
13+
# Setting to 1364 to ensure VXLAN packets fit within undercloud MTU constraints
14+
PUBLIC_BRIDGE_MTU=1364
1415

1516
# Networking
1617
HOST_IP=192.168.32.20
@@ -106,7 +107,7 @@ enable_plugin ironic https://opendev.org/openstack/ironic
106107
enable_plugin networking-generic-switch https://opendev.org/openstack/networking-generic-switch
107108

108109
# Enable networking-baremetal plugin
109-
enable_plugin networking-baremetal https://opendev.org/openstack/networking-baremetal
110+
enable_plugin networking-baremetal https://opendev.org/openstack/networking-baremetal refs/changes/92/981692/2
110111

111112

112113

@@ -118,7 +119,7 @@ disable_service horizon
118119

119120
[[post-config|$NEUTRON_CONF]]
120121
[DEFAULT]
121-
global_physnet_mtu = 1442
122+
global_physnet_mtu = 1364
122123

123124
[baremetal_agent]
124125
enable_ha_chassis_group_alignment = False
@@ -150,6 +151,7 @@ ngs_mac_address = 22:57:f8:dd:03:01
150151
ngs_disable_inactive_ports = true
151152
ngs_physical_networks = public
152153
ngs_nve_interface = Vxlan1
154+
ngs_bgp_asn = 65001
153155

154156
[genericswitch:leaf02]
155157
device_type = netmiko_arista_eos
@@ -160,3 +162,4 @@ ngs_mac_address = 22:57:f8:dd:04:01
160162
ngs_disable_inactive_ports = true
161163
ngs_physical_networks = public
162164
ngs_nve_interface = Vxlan1
165+
ngs_bgp_asn = 65001

0 commit comments

Comments
 (0)