Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
linux:openvswitch [2013/11/01 18:13] a [Installation/compile] |
linux:openvswitch [2013/11/01 18:33] (current) a [Configuration in Debian/Ubuntu via /etc/network/interfaces] |
||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ===== Configuration tips ===== | ===== Configuration tips ===== | ||
| + | ==== Configuration in Debian/ | ||
| + | Example: | ||
| + | < | ||
| + | allow-ovs br0 | ||
| + | iface br0 inet manual | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | allow-br0 mgt0 | ||
| + | iface mgt0 inet static | ||
| + | address 10.14.131.34 | ||
| + | netmask 255.255.255.224 | ||
| + | ovs_bridge br0 | ||
| + | ovs_type OVSIntPort | ||
| + | ovs_options vlan_mode=access | ||
| + | ovs_options tag=999 | ||
| + | allow-br0 eth1 | ||
| + | iface eth1 inet manual | ||
| + | ovs_bridge br0 | ||
| + | ovs_type OVSPort | ||
| + | ovs_options vlan_mode=native-untagged | ||
| + | ovs_options trunks=10, | ||
| + | ovs_options tag=999 | ||
| + | |||
| + | allow-br0 eth2 | ||
| + | iface eth2 inet manual | ||
| + | ovs_bridge br0 | ||
| + | ovs_type OVSPort | ||
| + | ovs_options vlan_mode=trunk | ||
| + | ovs_options trunks=30, | ||
| + | </ | ||
| + | |||
| + | ==== Creating GRE tunnel ==== | ||
| + | < | ||
| + | allow-ovs br0 | ||
| + | iface br0 inet manual | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | options: | ||
| + | .... | ||
| + | </ | ||
| ===== Frequently use (useful) command ===== | ===== Frequently use (useful) command ===== | ||
| Line 34: | Line 78: | ||
| | | ||
| + | |||
| + | ===== Troubleshooting ===== | ||
| + | |||
| + | ==== GRE problem ==== | ||
| + | |||
| + | "You need to unload '' | ||
| + | |||

