Ask Your Question

drolfe_au's profile - activity

2014-10-29 09:20:15 -0500 answered a question unable to access internet on VM using Devstack

Hi,

Yeah the nat didn't sound like a good answer to me as the neutron router should be looking after the nat for the network it looks after, as longs as it's been linked to an external network.

my devstack install, ubuntu14.04 , juno

I just needed to add a physical interface into the ovs br_ex

My my 10g interface is call em1 under ubuntu14

    Bridge br-ex
    Port "qg-1fb6b173-12"
        Interface "qg-1fb6b173-12"
            type: internal
    Port br-ex
        Interface br-ex
            type: internal
    Port "qg-1cd63bd8-d2"
        Interface "qg-1cd63bd8-d2"
            type: internal
ovs_version: "2.0.2"

So there isn't a physical interface attached to the external bridge

Changed the em1 interface config to look like below:

auto em1
iface em1 inet manual
up ifconfig $IFACE 0.0.0.0 up
up ip link set $IFACE promisc on
down ip link set $IFACE promisc off
down ifconfig $IFACE down

Then run the below:

sudo ifdown em1
sudo ifup em1
sudo ovs-vsctl add-port br-ex em1

Check the bridge:

Bridge br-ex
    Port "em1"
        Interface "em1"
    Port "qg-1fb6b173-12"
        Interface "qg-1fb6b173-12"
            type: internal
    Port br-ex
        Interface br-ex
            type: internal
    Port "qg-1cd63bd8-d2"
        Interface "qg-1cd63bd8-d2"
            type: internal
ovs_version: "2.0.2"

Confirm it's working from the VM:

stack@enc2-blade01:~$ ssh cirros@10.0.0.2
cirros@10.0.0.2's password:
$ uname -a
Linux test1 3.2.0-60-virtual #91-Ubuntu SMP Wed Feb 19 04:13:28 UTC 2014 x86_64 GNU/Linux

$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=51 time=8.273 ms
64 bytes from 8.8.8.8: seq=1 ttl=51 time=6.664 ms
64 bytes from 8.8.8.8: seq=2 ttl=51 time=6.458 ms
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 6.458/7.131/8.273 ms

$ id
uid=1000(cirros) gid=1000(cirros) groups=1000(cirros)

$ ifconfig eth0
eth0      Link encap:Ethernet  HWaddr FA:16:3E:08:AF:CA
          inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe08:afca/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:614 errors:0 dropped:0 overruns:0 frame:0
          TX packets:419 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:59794 (58.3 KiB)  TX bytes:47489 (46.3 KiB)
2014-10-28 22:46:26 -0500 received badge  Popular Question (source)
2014-10-28 22:46:26 -0500 received badge  Notable Question (source)
2014-10-28 22:46:26 -0500 received badge  Famous Question (source)
2014-07-04 08:55:21 -0500 asked a question 10Gbe guest networking ?

HI,

I'd like to know in openstack can I have 10gbe guest networking, I haven't figured this out in either xen or kvm, I'd rather not start using ESXi but I know this can be done with their VMXNET 3 guest driver

Running on hp blade servers G6 , G7 and G8

Regards, Daniel