How to create a tenant’s network and the packet will go out with the same fixed ip of the vm ?

68

The source is obviously ask.openstack.org. Question as it sounds originally :-
Can i create a tenant network and the packet will go out with the same fixed ip of the vm?  Assuming the tenant network created is routable or identifiable in the physical network.
   The answer is “YES”. Solution doesn’t require creating Neutron Router ( with or without SNAT enabled ).
Here is important to understand, that bridged neutron external networking won’t allow to disable SNAT, due to SNAT is used  for outbound internet connectivity , however in case of using external network provider non bridged external networking will come into play. Via tap-interface (tap-e3b5d93-e6) attached to br-int neutron  flow will be forwarded to  Port (int-br-ex) , which makes a veth-pair with Port (phy-br-ex) . The last one belongs to bridge br-ex, the bridge which due to OVS configuration (presumably been tuned properly)  will provide vice/versa Internet connectivity.

Complete text may be seen here