Last active
August 29, 2015 13:58
-
-
Save brylor/10136542 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEVICE=br-ex | |
DEVICETYPE=ovs | |
TYPE=OVSBridge | |
BOOTPROTO=static | |
IPADDR=172.24.4.10 | |
GATEWAY=172.24.4.1 | |
DNS1=172.24.4.1 | |
NETMASK=255.255.255.240 | |
ONBOOT=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEVICE=em2 | |
TYPE=Ethernet | |
HWADDR=78:2B:CB:39:46:6A | |
ONBOOT=yes | |
TYPE=OVSPort | |
DEVICETYPE=ovs | |
OVS_BRIDGE=br-ex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@hv1 ~(keystone_admin)]# ip a l br-ex | |
52: br-ex: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN | |
link/ether 78:2b:cb:39:46:6a brd ff:ff:ff:ff:ff:ff | |
inet 172.24.4.10/28 brd 172.24.4.15 scope global br-ex | |
inet6 fe80::5cb7:a1ff:febb:e72/64 scope link | |
valid_lft forever preferred_lft forever | |
[root@hv1 ~(keystone_admin)]# ip a l em1 | |
2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 | |
link/ether 78:2b:cb:39:46:68 brd ff:ff:ff:ff:ff:ff | |
inet 172.24.1.229/24 brd 172.24.1.255 scope global em1 | |
inet6 fe80::7a2b:cbff:fe39:4668/64 scope link | |
valid_lft forever preferred_lft forever | |
[root@hv1 ~(keystone_admin)]# ip a l em2 | |
3: em2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000 | |
link/ether 78:2b:cb:39:46:6a brd ff:ff:ff:ff:ff:ff | |
inet6 fe80::7a2b:cbff:fe39:466a/64 scope link | |
valid_lft forever preferred_lft forever |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@hv1 ~(keystone_admin)]# ovs-vsctl show | |
39910e0d-9ecc-4261-80df-951687ecf094 | |
Bridge br-ex | |
Port "em2" | |
Interface "em2" | |
Port br-ex | |
Interface br-ex | |
type: internal | |
Bridge br-int | |
Port int-br-ex | |
Interface int-br-ex | |
Port "qvo3829b071-ea" | |
tag: 1 | |
Interface "qvo3829b071-ea" | |
Port "qr-685f3692-4f" | |
tag: 2 | |
Interface "qr-685f3692-4f" | |
type: internal | |
Port br-int | |
Interface br-int | |
type: internal | |
Port "tap5bc69bfb-c2" | |
tag: 2 | |
Interface "tap5bc69bfb-c2" | |
type: internal | |
ovs_version: "1.11.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@hv1 ~(keystone_admin)]# ping -I br-ex 172.24.4.1 | |
PING 172.24.4.1 (172.24.4.1) from 172.24.4.10 br-ex: 56(84) bytes of data. | |
64 bytes from 172.24.4.1: icmp_seq=1 ttl=64 time=0.514 ms | |
64 bytes from 172.24.4.1: icmp_seq=2 ttl=64 time=0.172 ms | |
64 bytes from 172.24.4.1: icmp_seq=3 ttl=64 time=0.175 ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~ ssh root@172.24.4.13 | |
^C | |
➜ ~ ping 172.24.4.13 | |
PING 172.24.4.13 (172.24.4.13): 56 data bytes | |
Request timeout for icmp_seq 0 | |
Request timeout for icmp_seq 1 | |
Request timeout for icmp_seq 2 | |
Request timeout for icmp_seq 3 | |
36 bytes from 172.24.1.1: Destination Host Unreachable | |
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst | |
4 5 00 5400 f649 0 0000 40 01 264b 172.24.1.215 172.24.4.13 | |
Request timeout for icmp_seq 4 | |
36 bytes from 172.24.1.1: Destination Host Unreachable | |
Vr HL TOS Len ID Flg off TTL Pro cks Src Dst | |
4 5 00 5400 7108 0 0000 40 01 ab8c 172.24.1.215 172.24.4.13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment