Versions Compared

Key

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

OVSDB VTEP with Midonet Configuration

...

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and copy and paste the commands into the CLI.

SW1 Configure:


Code Block
set interface gigabit-ethernet te-1/1/33 speed "1000"
set interface gigabit-ethernet te-1/1/33 family ethernet-switching native-vlan-id 1000
set interface gigabit-ethernet te-1/1/43 family ethernet-switching port-mode "trunk"
set interface gigabit-ethernet te-1/1/43 family ethernet-switching vlan members 100
set protocols ovsdb management-ip 10.10.51.157
set protocols ovsdb controller c1 protocol "ptcp"
set protocols ovsdb interface te-1/1/43
setset l3-interface vlan-interface interface 1000 vif 1000 address 192.168.10.1 prefix-length 24
set vlans vlan-id 100
set vlans vlan-id 1000 l3-interface "1000"
set vxlans source-interface 1000 address 192.168.10.1
set vxlans ovsdb-managed true 

...

  1. Configure the VLAN ID to 10 for vxlan domain. 

    Code Block
    set vlans vlan-id 100


  2. Configure the VLAN ID to 1000 for IP routing.

    Code Block
    set vlans vlan-id 1000 l3-interface vlan-1000


  3. Configure the te-1/1/1 interface VLAN ID to 1000.

    Code Block
    set interface gigabit-ethernet te-1/1/33 family ethernet-switching native-vlan-id 1000


  4. Configure VLAN trunk for te-1/1/43.

    Code Block
    set interface gigabit-ethernet te-1/1/43 family ethernet-switching port-mode "trunk"


  5. Configure the te-1/1/43 interface VLAN ID to 100.

    Code Block
    set interface gigabit-ethernet te-1/1/43 family ethernet-switching vlan members 100


  6. Configure IP address for the loopback interface.

    Code Block
    set vlanset l3-interface loopback lo address 10.10.10.1 prefix-length 32


  7. Configure IP address for the vlan-interface vlan-1000.

    Code Block
    set vlanl3-interface interface vlan-1000 vifinterface vlan-1000 address 192.168.10.1 prefix-length 24


  8. Configure VTEP interface sources IP address.

    Code Block
    set vxlans source-interface vlan-1000 address 192.168.10.1


  9. Enable VXLAN managed by ovsdb

    Code Block
    set vxlan ovsdb-managed true


  10. Configure ovsdb management interface IP address

    Code Block
    set protocols ovsdb management-ip 10.10.51.157


  11. Configure ovsdb controller protocol

    Code Block
    set protocols ovsdb controller c1 protocol ptcp


  12. Configure ovsdb controller port

    Code Block
    set protocols ovsdb controller ovsdb port 6632


  13. Configure ovsdb the interface on the VTEP

    Code Block
    set protocols ovsdb interface te-1/1/43


...