How to set up provider network?
Hi, I have been trying to set up provider network for Openstack on my all-in-one node. The interface on the server that I am using for this purpose is eth1, which is connected to my provider network (172.16.xx.0/24). After I create the bridge br-eth1, I added eth1 to br-eth1, I lost internet connectivity. This is upsetting as my instances need to access the outside world using the provider network. I follow these commands to create the bridge and add eth1 to it:
ovs-vsctl add-br br-eth1
ovs-vsctl add-port br-eth1 eth1
ifconfig br-eth1 172.16.xx.xx up
ip link set br-eth1 promisc on
ifconfig eth1 0
dhclient br-eth1
As you can see, I have forwarded eth1's ip address (172.16.xx.xx) to br-eth1. However, I still can't get internet connectivity. Please help.
How is your routing table looking after the changes (netstat -nr)? maybe br-eth1 is not getting dhcp information as it has a static IP address. Have you tried setting the complete br-eth1 network parameters at /etc/network/interfaces and then restarting networking? (After adding eth1 to br-eth1)
Thanks for the reply. My issue has been solved. You are correct. The dhclient does not work properly because thr bridge has already been assigned an ip address using ifconfig.