Ask Your Question

AndriusF47's profile - activity

2018-09-13 03:38:03 -0500 received badge  Nice Answer (source)
2018-03-12 04:38:55 -0500 received badge  Necromancer (source)
2017-10-30 16:35:58 -0500 received badge  Enthusiast
2017-04-20 17:30:41 -0500 received badge  Editor (source)
2017-04-20 17:28:14 -0500 answered a question How to configure multiple Floating IP for one instance?

Well, this one is old, but in case anyone need this. You can assign as many floating ip as you have interfaces Assuming you already have a setup with private networks and corresponding external networks.

  1. Add second network port to instance
  2. Ifup interface (private network)
  3. Let's say you added eth1 with
  4. network 192.168.1.0/24 and ip 192.168.1.3 and gateway as 192.168.1.1
  5. Attach second floating ip
  6. Add 2nd routing table and routing rules.

echo "1 rt2" >> /etc/iproute2/rt_tables

ip route add 192.168.1.0/24 dev eth1 src 192.168.1.3 table rt2

ip route add default via 192.168.1.1 dev eth1 table rt2

ip rule add from 192.168.1.3/32 table rt2

ip rule add to 192.168.1.3/32 table rt2

And there you go, you have multiple floating ip's. It's useful for any setups with already existing networking infrastructure, as floating ip's adds flexibility to it.

2017-04-02 22:53:30 -0500 received badge  Teacher (source)
2017-04-02 02:38:12 -0500 answered a question cannot add the default external network to an instance

You cannot add external network directly to instance. Use neutron routers to link private network to external networks and assign floating ip.

2017-04-02 02:38:12 -0500 commented question instances couldn't ping Internet or gateway

Hello, please confirm that your eth0 on Ubuntu 14.04 is in range of 95.173.191.144/28 get output from ip netns exec qrouter-30d4b743-0a4e-4243-94d1-6e767e2f49d6 traceroute 8.8.8.8

2017-04-02 02:38:12 -0500 answered a question How to get status of an instance

Nova list | grep <id>

2017-04-02 02:38:12 -0500 answered a question can not access floating ip

Hello, have you created and modified Neutron Routers ? Your privare network needs some way to communicate with external.

  1. neutron router-create RouterName
  2. neutron router-gateway-set PrivateNetwork ExternalNetwork
  3. neutron router-interface-add PrivateNetwork PrivateSubnet

If you done that check out what Neutron Namespace is telling you

  1. ip netns list
  2. neutron router-list
  3. ip netns exec qrouter-........ route (it supports standart tools such as ping, traceroute, iptables etc...)
2017-04-02 02:38:11 -0500 answered a question [RESOLVED] Error when trying to launch a VMDK image

Hello,

It's best practise to convert VMDK to qcow2. Use qemu-tools for that. (Also availible on windows).

On linux it would be like 1. apt-get install qemu-utils 2. qemu-img convert -O qcow2 path-to-disk1.flat.vmdk path-to-output-disk1.qemu 3. glance image-create --disk-format qcow2 --file path-to-output-disk1.qemu --is-public False --name disk1 --container-format bare 3. or upload via GUI