Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • vbng/03-setupolt.sh                 

    • The script takes accepts exactly 6 parameters to specify tunnel characteristics. Already configured OLTs are kept in $HOME/oltmap.txt. E.g.:

      Code Block
      [centos@vbng ~]$ vbng/03-setupolt.sh 
      Usage: vbng/03-setupolt.sh <vxlan_data_ip> <vxlan_data_port> <vxlan_data_vni> <vxlan_dhcp_ip> <vxlan_dhcp_port> <vxlan_dhcp_vni>
      [centos@vbng ~]$ vbng/03-setupolt.sh 172.30.0.145 4789 88888 172.30.0.145 4789 100 
      Setting up VxLAN tunnel interface olt0 (172.30.0.145:4789 VNI=88888)
      Setting up VxLAN tunnel interface dhcp0 (172.30.0.145:4789 VNI=100)
      Adding port dhcp0 to bride dhcp...
      [centos@vbng ~]$ cat oltmap.txt 
      0 datavxlan_172.30.0.145_4789_88888_dhcpvxlan_172.30.0.145_4789_100
      [centos@vbng ~]$


...