NAT problem on single server install / Can't connect to floating IPs from public internet
I'm running nova bexxar as a single server install on a remote web server (one physical internet connection, 4 public IP addresses. Everything works fine, I'm able to run and use instances (ping, ssh) , but I'm unable to use an associated public IP.
As you can see, I'm using FlatDHCPManager and all instances run with IPs out of the 10.0.1.0/24 network. I used nova-manage to create floating IPs and euca-associate-address to associate them to the instances. There's no sign of an error in the log files.
However, I'm unable to connect via SSH to the associated public IPs. I am able to ping though.
I also tried to figure out which iptables setup nova uses and run them directly, but I couldn't find any error messages. I am however not sure, if I got the commands right.
Any help on how figure out how to assign the additional IPs in the "correct" way would be very much appreciated.
See the attached config files for more information.
#cat /etc/nova/nova.conf --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --logdir=/var/log/nova --state_path=/var/lib/nova --verbose --my_ip=89.238.83.54 --daemonize=1 --state_path=/var/lib/nova --sql_connection=mysql://root:QZhUjpeQ@89.238.83.54/nova --s3_host=89.238.83.54 --rabbit_host=89.238.83.54 --cc_host=89.238.83.54 --network_host=192.168.1.60 --verbose --ec2_url=http://89.238.83.54:8773/services/Cloud --network_manager=nova.network.manager.FlatDHCPManager --fixed_range=10.0.0.0/12 --routing_source_ip=89.238.83.54 --flat_network_dhcp_start=10.0.1.2 --flat_injected=False --network_size=10 --public_interface=eth0
#ifconfig br100 Link encap:Ethernet HWaddr fe:16:3e:03:b8:d9 inet addr:10.0.1.1 Bcast:10.0.1.127 Mask:255.255.255.128 inet6 addr: fe80::c8e9:71ff:fec1:310f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4239 errors:0 dropped:0 overruns:0 frame:0 TX packets:6442 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:511487 (511.4 KB) TX bytes:5823020 (5.8 MB)
eth0 Link encap:Ethernet HWaddr 1c:6f:65:8d:6d:31 inet addr:89.238.83.54 Bcast:89.238.83.255 Mask:255.255.255.0 inet6 addr: fe80::1e6f:65ff:fe8d:6d31/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5274404 errors:0 dropped:0 overruns:0 frame:0 TX packets:5291 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:399808856 (399.8 MB) TX bytes:717974 (717.9 KB) Interrupt:29 Base address:0x8000
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:10057188 errors:0 dropped:0 overruns:0 frame:0 TX packets:10057188 errors:0 dropped:0 overruns:0 carrier:0 ...