16 Configuration Examples
17 Configuration Examples
This directory contains example configurations for setting up the L3 datacenter network.
17.1 Files
17.1.1 frr-host-example.conf
FRR (Free Range Routing) configuration for a host. This configures: - BGP peering with both ToRs - Advertisement of host loopback /32 - Route learning from ToRs
Usage:
# Copy to /etc/frr/frr.conf on the host
# Adjust AS numbers, IPs, and host numbers for your setup
sudo cp frr-host-example.conf /etc/frr/frr.conf
sudo systemctl restart frr17.1.2 frr-tor-example.conf
FRR configuration for a ToR switch. This configures: - BGP peering with hosts - BGP peering with spines - Route advertisement of host /32s to spines
Usage:
# Copy to /etc/frr/frr.conf on the ToR
# Adjust AS numbers, IPs, and neighbor lists for your setup
sudo cp frr-tor-example.conf /etc/frr/frr.conf
sudo systemctl restart frr17.1.3 ovn-host-setup.sh
Script to configure OVN on a host using the loopback IP as the GENEVE Tunnel Endpoint (TEP).
Usage:
# Set your host loopback and OVN central IP
./ovn-host-setup.sh 10.255.1.11/32 10.254.0.10017.1.4 network-setup-host.sh
Script to configure basic network interfaces on a host: - Loopback IP - Host-to-ToR links - Interface configuration
Usage:
# Set rack number and host number
./network-setup-host.sh 1 1117.2 Customization
All configurations are examples and need to be customized for your specific: - IP address ranges - AS numbers - Interface names - Rack and host numbering - Spine count and IPs
17.3 Verification
After applying configurations, verify:
BGP Status:
vtysh -c "show ip bgp summary" vtysh -c "show ip bgp"OVN Status:
ovs-vsctl show ovn-sbctl showConnectivity:
ping -I <loopback> <remote-loopback>