Ask Your Question
1

Is it possible to move a port from one bridge to another? [closed]

asked 2014-10-19 14:20:47 -0500

TheFueley gravatar image

updated 2014-10-19 14:22:53 -0500

Hello,

I'm having some trouble with my networking. I have the public network and a couple of tenant networks as well. I'm trying to implement some firewalling without FWaaS or security groups. I want a firewall appliance to do it all. So I'm firing up an instance of my firewall/router with one interface on the public and one on the first tenant network. I can set the interfaces and ping other devices. The problem is that I cannot ping anything on my public network as it doesn't know how to talk to it. Looking at my compute/network node I can see with "ip link show" that my public-facing interface is a tap device with a master of another port on the integration bridge. That port, on br-int, has no way to talk to the outside world since it doesn't link to anything on the br-ex bridge. How can I accomplish this? I know I could easily use an OpenStack router and set the gateway. This is not what I'm looking for. I want to use a different firewall/router solution. If I could somehow do "ovs-vsctl move-port port from_bridge to_bridge" that would be great. Any ideas? Thank you!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by TheFueley
close date 2015-01-23 14:39:10.477908

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-10-21 00:14:43 -0500

vthapar gravatar image

There is no 'ovs-vsctl move' command. You'll have to do delete followed by add. i.e. 'ovs-vsctl del-port from_bridge port' followed by 'ovs-vsctl add-port to_bridge port'.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-10-19 14:20:47 -0500

Seen: 790 times

Last updated: Oct 21 '14