On Tue, Dec 25, 2018 at 05:37:53PM +0800, luckydog xf wrote: > I'm using OpenVswitch and Openstack to build an instance with two NICs > named eth0 and eth1, both NICs get IP by DHCP of DNSmasq. > > I also build a SoftEther VPN serice, eth0 is as management IP for SSH, > while eth1 as IP assignment when VPN user dials in. > > Eth0 is 105.6/24 and eth1 is 108.7/24, when user dials in, eth1 cannot > get an IP for him. I use ` tcpdump` to find that phsical NIC(name ethX) > which eth2 of this instance attach to does not receive any dhcp request at > all. > > I use `dhcpclient eth1`, ethX gets dhcp reqest and reply. > > I guess `flow table` or something may drop requests sent by users when > he dials in. But it's hard to debug.
It sounds like you've added eth0 and eth1 to a bridge and afterward tried to get an IP address on eth1. That won't work, you have to get the IP address on an internal port (e.g. br0) instead. See the FAQ for more information. _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
