[ovs-discuss] Anyway to bind eth5 to dhcp interface when eth5 got IP addr
严超
yanchao727 at gmail.com
Tue Aug 19 06:15:10 UTC 2014
Hi, All:
I configued my eth5 as dhcp interface but neutron default is
tapeb8c2d34-77.
So I patched eth5 and tapeb8c2d34-77, but it doesn't work. eth5
receives dhcp request but not responding. Please help me out.
*stack at undercloud-undercloud-cojbsmi35biq:~$ sudo ovs-vsctl show*
0a8c01cc-9917-4171-a013-ce025b3d8db2
Bridge "eth5"
Port "eth5"
Interface "eth5"
type: internal
Port "patch-for-eth5"
Interface "patch-for-eth5"
type: patch
options: {peer="patch-for-eth5_in-br-int"}
Bridge br-ctlplane
Port phy-br-ctlplane
Interface phy-br-ctlplane
type: patch
options: {peer=int-br-ctlplane}
Port br-ctlplane
Interface br-ctlplane
type: internal
Bridge br-int
fail_mode: secure
Port int-br-ctlplane
Interface int-br-ctlplane
type: patch
options: {peer=phy-br-ctlplane}
Port br-int
Interface br-int
type: internal
Port "patch-for-eth5_in-br-int"
Interface "patch-for-eth5_in-br-int"
type: patch
options: {peer="patch-for-eth5"}
Port "tapeb8c2d34-77"
tag: 1
Interface "tapeb8c2d34-77"
type: internal
ovs_version: "2.0.1"
*stack at undercloud-undercloud-cojbsmi35biq:~$ ifconfig *
br-ctlplane Link encap:Ethernet HWaddr e2:65:04:49:10:4b
inet6 addr: fe80::380e:a8ff:fec1:d8a6/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:54427 errors:0 dropped:0 overruns:0 frame:0
TX packets:3611 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17600239 (17.6 MB) TX bytes:1232874 (1.2 MB)
br-int Link encap:Ethernet HWaddr 7e:85:45:4d:6c:4c
inet6 addr: fe80::d0d7:aff:fe64:35bd/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:671 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:237249 (237.2 KB) TX bytes:648 (648.0 B)
eth0 Link encap:Ethernet HWaddr 00:1b:21:4e:76:20
inet addr:10.79.53.130 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::21b:21ff:fe4e:7620/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:113585 errors:0 dropped:0 overruns:0 frame:0
TX packets:7197 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28238469 (28.2 MB) TX bytes:1098162 (1.0 MB)
Memory:b3020000-b3040000
eth1 Link encap:Ethernet HWaddr 00:1b:21:4e:76:21
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Memory:b3000000-b3020000
eth2 Link encap:Ethernet HWaddr 00:1b:21:4e:76:24
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Memory:b2420000-b2440000
eth3 Link encap:Ethernet HWaddr 00:1b:21:4e:76:25
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Memory:b2400000-b2420000
eth4 Link encap:Ethernet HWaddr 68:ef:bd:f6:21:e4
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Memory:b3160000-b3180000
eth5 Link encap:Ethernet HWaddr 68:ef:bd:f6:21:e5
inet addr:192.0.2.12 Bcast:192.0.2.255 Mask:255.255.255.0
inet6 addr: fe80::6aef:bdff:fef6:21e5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1543203 errors:0 dropped:0 overruns:0 frame:0
TX packets:193422 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2105531583 (2.1 GB) TX bytes:29155463 (29.1 MB)
Memory:b3120000-b3140000
*Best Regards!*
*Chao Yan--------------**My twitter:Andy Yan @yanchao727
<https://twitter.com/yanchao727>*
*My Weibo:http://weibo.com/herewearenow
<http://weibo.com/herewearenow>--------------*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140819/4e29cd5b/attachment-0002.html>
More information about the discuss
mailing list