Ask Your Question
0

Single interface multinode

asked 2014-09-09 10:42:42 -0600

AmitA gravatar image

updated 2014-09-09 10:50:23 -0600

SamYaple gravatar image

Hi everyone I was hoping to get some help if anyone has some time Ive run into a real conundrum!

I have 3 Intel NUCs each with one interface (eno1). Im trying to get three node setup (controller, network, compute) and I am having diffuculty with the external network since I am VLAN'ing to create the three networks needed. It "seems" like everything else is working - here is my configuration.

Controller node: VLAN 5 10.7.5.11

Compute: VLAN 5 10.7.5.31

VLAN 6 10.7.6.31

Network: VLAN 5 10.7.5.21

VLAN 6 10.7.6.21

VLAN 10 This is the unnumbered interface used for the external network

The network gateway is 10.7.0.1

So basically what is happening, I can create two instances on the tenant network (192.168.1.2 and .4) and they are able to ping each other and the tenant gateway (192.168.1.4). Ive assigned floating IP address' (10.7.5.102 and 103) and they are able to ping each other on the floating ip address but not out to any other host on the 10.7.5.x network nor out to the internet. I believe this is beacuse the br-ex is not working correctly (maybe because of the VLAN on the single interface?)

Here are some more configurations

Network:

[root@network ~]#  ovs-vsctl show
4942d9b6-0406-4d87-80f7-a7de63d6ac85
    Bridge br-tun
        Port "gre-0a07061f"
            Interface "gre-0a07061f"
                type: gre
                options: {in_key=flow, local_ip="10.7.6.21", out_key=flow, remote_ip="10.7.6.31"}
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-int
        fail_mode: secure
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tap596ffb99-96"
            tag: 1
            Interface "tap596ffb99-96"
                type: internal
        Port br-int
            Interface br-int
                type: internal
        Port "qr-f77d4953-1a"
            tag: 1
            Interface "qr-f77d4953-1a"
                type: internal
    Bridge br-ex
        Port "eno1.10"
            Interface "eno1.10"
        Port br-ex
            Interface br-ex
                type: internal
        Port "qg-8a50284b-db"
            Interface "qg-8a50284b-db"
                type: internal
    ovs_version: "2.0.0"


[root@network ~]# ip netns list
qdhcp-a94024e7-6749-481b-a8e6-511c95fb22e6
qrouter-8a29f0cf-34ef-42bb-a16f-d849402b386f

[root@network ~]# ip netns exec qrouter-8a29f0cf-34ef-42bb-a16f-d849402b386f route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.7.5.0        0.0.0.0         255.255.255.0   U     0      0        0 qg-8a50284b-db
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 qr-f77d4953-1a


[root@network ~]# ip netns exec qrouter-8a29f0cf-34ef-42bb-a16f-d849402b386f ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
5: qg-8a50284b-db: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
    link/ether fa:16:3e:2b:dc:0d brd ff:ff:ff:ff:ff:ff
    inet 10.7.5.101/24 brd 10.7.5.255 scope global qg-8a50284b-db
       valid_lft forever preferred_lft forever
    inet 10.7.5.102/32 brd 10 ...
(more)
edit retag flag offensive close merge delete

Comments

I too have 3 physical machines with just a single NIC. Can we contact over email or other means? Direct communication instead of commenting?

mbtamuli gravatar imagembtamuli ( 2016-01-30 00:43:42 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-16 04:37:36 -0600

Yuri gravatar image

Can you do a 'ovs-dpctl show' to see what data paths ovs has? We've had to recreate them as ovs is confused by the interface aliases.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-09-09 10:42:42 -0600

Seen: 370 times

Last updated: Sep 09 '14