X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=README-native-tunneling.md;h=985deb3ea887330b84ff0dca2d6bbefc91558202;hb=585a5beaa2a45dd43f41543b7c9800d13083bc1a;hp=e7a2ddcde4cea3277f27508a226efd22d20f8e74;hpb=d98e14985fa69e25989c98677e9d60e886d52691;p=cascardo%2Fovs.git diff --git a/README-native-tunneling.md b/README-native-tunneling.md index e7a2ddcde..985deb3ea 100644 --- a/README-native-tunneling.md +++ b/README-native-tunneling.md @@ -1,3 +1,5 @@ +Native Tunneling in Open vSwitch userspace +------------------------------------------ Open vSwitch supports tunneling in userspace. Tunneling is implemented in platform independent way. @@ -20,28 +22,27 @@ Configure OVS bridges as follows. ovs-appctl ovs/route/show Add tunnel route if not present in OVS route table. ovs-appctl ovs/route/add 172.168.1.1/24 br-eth1 -3. Add integration brdge int-br and add tunnel port using standard syntax. +3. Add integration bridge int-br and add tunnel port using standard syntax. ovs-vsctl add-port int-br vxlan0 -- set interface vxlan0 type=vxlan options:remote_ip=172.168.1.2 4. Assign IP address to int-br, So final topology looks like: - - 192.168.1.1/24 - +--------------+ - | int-br | 192.168.1.2/24 - +--------------+ +--------------+ - | vxlan0 | | vxlan0 | - +--------------+ +--------------+ - | | - | | - | | - 172.168.1.1/24 | - +--------------+ | - | br-eth1 | 172.168.1.2/24 - +--------------+ +---------------+ - | eth1 |----------------------------------| eth1 | - +--------------+ +---------------- - - Host A with OVS. Remote host. + 192.168.1.1/24 + +--------------+ + | int-br | 192.168.1.2/24 + +--------------+ +--------------+ + | vxlan0 | | vxlan0 | + +--------------+ +--------------+ + | | + | | + | | + 172.168.1.1/24 | + +--------------+ | + | br-eth1 | 172.168.1.2/24 + +--------------+ +---------------+ + | eth1 |----------------------------------| eth1 | + +--------------+ +---------------+ + + Host A with OVS. Remote host. With this setup, ping to VXLAN target device (192.168.1.2) should work There are following commands that shows internal tables: @@ -49,14 +50,14 @@ There are following commands that shows internal tables: Tunneling related commands: =========================== Tunnel routing table: - These commands are only available on Linux platform. - To Add route: ovs-appctl ovs/route/add / To see all routes configured: ovs-appctl ovs/route/show To del route: ovs-appctl ovs/route/del / + To look up and display the route for a destination: + ovs-appctl ovs/route/lookup ARP: To see arp cache content: