← Back to team overview

openstack team mailing list archive

Re: vm on compute node cannot connect internet

 

Hi Jiaan,

The problem may relates to SNAT iptables set by nova-network. Based on the
description, I guess you have only one nova-network running on Controller.

Please try:

1. add the following line to /etc/nova/nova.conf
--mutil_host=true

2. start a nova-network instance on Compute Node
service nova-network start

3. reboot your instance, to enforce network filters on Controller
nova reboot $id

try to access your vm instance.


*Best Regards,
Xiaolin Zhang*



On Sat, Jul 14, 2012 at 10:58 AM, Jiaan Zeng <l.allen09@xxxxxxxxx> wrote:

> Hi List,
>
> I have a network problem while setting up essex.  The instances on control
> node can access internet, while instances on compute node cannot. I tcpdump
> the ping traffic and found something weird. VM on compute node can send
> ICMP request out and the src ip of the ICMP package is changed to ip of
> control node. Destination can receive the request and reply back to control
> node. But VM on compute node gets nothing back. I can ping control node
> from VM on compute node though. Based on that, I think there should be
> something wrong with the gateway set up by nova-network. But I don't know
> how to do further debug.
>
> Any suggestions would be greatly appreciated!
>
> I set up on two machines. Each has only *one* NIC. I use FlatDHCPManager
> and place the bridge on the public NIC. Below is my configuration file of
> network part.
>
> --network_manager=nova.network.manager.FlatDHCPManager
> --public_interface=eth0
> --flat_interface=eth0
> --flat_network_bridge=br100
> --fixed_range=192.168.22.32/27
> --floating_range=10.42.0.32/27
> --network_size=32
> --flat_network_dhcp_start=192.168.22.33
> --flat_injected=False
> --force_dhcp_release=True
>
> --
> Regards,
> Jiaan
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References