Ask Your Question

How to set up provider network?

asked 2017-05-08 02:50:23 -0600

arsch.sharma gravatar image

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.

edit retag flag offensive close merge delete


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)

gianpietro gravatar imagegianpietro ( 2017-05-08 09:12:19 -0600 )edit

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.

arsch.sharma gravatar imagearsch.sharma ( 2017-05-08 13:09:51 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-05-08 13:08:30 -0600

arsch.sharma gravatar image

Problem solved. I followed these commands to forward my eth1 address to my br-eth1 address:

#ifconfig eth1 0
#ifconfig br-eth1 172.16.xx.xx netmask up

Of course, the changes can be made to the /etc/network/interfaces file to have br-eth1 and eth1 configured.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-05-08 02:50:23 -0600

Seen: 93 times

Last updated: May 08 '17