Client cannot access Internet through router VM

inesl

New Member
Dec 4, 2019
2
0
1
24
I have a router VM with openvswitch and a debian machine with a Ryu controller in the following topology:

After creating bridge br0, I added to it the ports eth1 (port 1), eth2 (port 2) and eth3 (port 3). Now, the bridge can ping the controller, as it was supposed to.

However, I also want the client to be able to access the Internet through eth1. First, I added the flow entry for forwarding between ports 1 and 3:

ovs-ofctl add-flow -O openflow13 br0 priority=500,in_port=1,actions=output:3
ovs-ofctl add-flow -O openflow13 br0 priority=500,in_port=3,actions=output:1


But the client still can't access the Internet... Without the OVS, the eth1 interface would get an IP from dhcp and correspondent gateway. Now, it has no IP.

What would be the right way to do this architecture so that the client can access the internet? Note that I'm trying to do an OVS only solution and it is a requirement that Ryu can control the client's interface.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!