Re: [ovs-discuss] problem when using DHCP on "internal interface" of openvswitch

2012-11-12 Thread Ben Pfaff
I'd start by looking for the DHCP request and replies at eth0, using tcpdump or wireshark. On Tue, Nov 13, 2012 at 01:27:27PM +0800, liuxy wrote: > Sorry to touble you, I have the same opinions, but In my experiment, the > other internal interface can not get IP, Maybe there is something wrong,

Re: [ovs-discuss] problem when using DHCP on "internal interface" of openvswitch

2012-11-12 Thread liuxy
Sorry to touble you, I have the same opinions, but In my experiment, the other internal interface can not get IP, Maybe there is something wrong, the whole infomations are like this: -

Re: [ovs-discuss] problem when using DHCP on "internal interface" of openvswitch

2012-11-12 Thread Ben Pfaff
There's nothing special about DHCP from Open vSwitch's point of view. You should be able to use it in essentially the same situations where assigning a static address works. On Tue, Nov 13, 2012 at 12:46:20PM +0800, liuxy wrote: > thanks, I do it flowing the answer, and the br0 can get IP from DH

Re: [ovs-discuss] problem when using DHCP on "internal interface" of openvswitch

2012-11-12 Thread liuxy
thanks, I do it flowing the answer, and the br0 can get IP from DHCP, but when there are more than one "internal" interfaces in the bridge br0, can other interfaces get IP from DHCP? For example: ovs-vsctl add-br br0 ovs-vsctl add-port br0 eth0 ifconfig eth0 0.0.0.0 after execute the command ab

Re: [ovs-discuss] problem when using DHCP on "internal interface" of openvswitch

2012-11-12 Thread Ben Pfaff
On Mon, Nov 12, 2012 at 04:16:58PM +0800, liuxy wrote: > 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 serve

[ovs-discuss] problem when using DHCP on "internal interface" of openvswitch

2012-11-12 Thread liuxy
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:~# ov