vlan manager - network host functionality

Asked by Rohit Agarwalla

I know that network host acts as the gateway for traffic from vm's in a project to the outside but does it also act as gateway for vm's in different project (subnets) to talk to each other ?

I have a setup with with 2 projects each mapped to different networks i.e different subnets and vlans. (10.10.14.0/24 and 10.10.15.0/24) (vlan 14 and vlan 15)
node 1 acts as network host and is not acting as the compute node
node 2 acts as a compute node for the vm's spun in each project.
nova-network configures bridge interfaces (br_14 and br_15) with the gateway ip addresses for both networks on the network host
route entries are populated on the network host routing table (10.10.14.0 out of br_14 and 10.10.15.0 out of br_15)
nova-network-FORWARD iptables configured to ACCEPT -i and -o traffic on br_14 and br_15
ip forwarding is enabled on the network host

This permits vm's on a project to be to reach vm's on another project via the network host.

Can you please advice if this is the correct behavior ?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Rohit Agarwalla
Solved:
Last query:
Last reply:
Revision history for this message
Rohit Agarwalla (rohitagarwalla) said :
#1

had a discussion with vishy on IRC and the above is the correct behavior. thanks !