[ovs-discuss] vm cannot get IP because of lost of dhcp offer.
顾兆伦
gu_zhaolun at 163.com
Tue Oct 17 12:02:48 UTC 2017
hi all,
sorry to bother, but I have a wired problem.
I have neutron and ovs in my environment, the server is alone, dhcp agent and ovs-agent is on the same host. I create a vm, but cannot get ip. I use tcpdump to catch the packages.
in tap device of dhcp port, it can receive the dhcp reply:
17:58:37.238634 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from fa:16:3e:6b:e4:29 (oui Unknown), length 300
17:58:37.238884 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from fa:16:3e:6b:e4:29 (oui Unknown), length 300
17:58:37.238924 IP 172.27.2.126.bootps > 172.27.2.7.bootpc: BOOTP/DHCP, Reply, length 332
17:58:37.239041 IP 172.27.2.126.bootps > 172.27.2.7.bootpc: BOOTP/DHCP, Reply, length 332
but in qvo of vm port, there is just dhcp discover, reply is disappear:
17:58:40.238597 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from fa:16:3e:6b:e4:29 (oui Unknown), length 300
17:58:40.238864 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from fa:16:3e:6b:e4:29 (oui Unknown), length 300
below is the mac learning rule of br-int, the port is 1,
|
port VLAN MAC Age
1 17 fa:16:3e:6b:e4:29 50
but the ofport is 17,
mac : []
mac_in_use : "26:88:26:d4:c0:89"
mtu : 1500
name : "qvof88133e6-86"
ofport : 27
ofport_request : []
options : {}
1 is the patch-tun
|
mac_in_use : "92:b7:0e:9a:6c:ec"
mtu : []
name : patch-tun
ofport : 1
ofport_request : []
options : {peer=patch-int}
other_config : {}
seems the br-int has learned the wrong mac-port-vlan mapping, why? and how to fix it?
thank you very much.
--
Zhaolun Gu,
Zhejiang university
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20171017/a1bfe28f/attachment.html>
More information about the discuss
mailing list