Hello
I want to use DHCP on the "internal" network interface of ovs, but it
can't works. I can exactly set the static ip using "ifconfig", but when I
use the "dhclient " to set DHCP on the interface, it fails, I am sure
that the DHCP server works well ! the steps like this:
root@liuxy506:~# ovs-vsctl add-br br0
root@liuxy506:~# ifconfig -a
br0 Link encap:Ethernet HWaddr 9a:77:91:5f:25:49
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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr 08:00:27:b1:22:fb
inet addr:192.168.4.221 Bcast:192.168.4.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feb1:22fb/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:38491 errors:0 dropped:0 overruns:0 frame:0
TX packets:4420 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4438152 (4.4 MB) TX bytes:523114 (523.1 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1582 errors:0 dropped:0 overruns:0 frame:0
TX packets:1582 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:420274 (420.2 KB) TX bytes:420274 (420.2 KB)
root@liuxy506:~# dhclient br0 -v
Internet Systems Consortium DHCP Client 4.1-ESV-R4
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Corrupt lease file - possible data loss!
Listening on LPF/br0/9a:77:91:5f:25:49
Sending on LPF/br0/9a:77:91:5f:25:49
Sending on Socket/fallback
DHCPDISCOVER on br0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on br0 to 255.255.255.255 port 67 interval 8
....
and the message "DHCPDISCOVER on br0 to 255.255.255.255 port 67" loops
thanks for help!!!
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss