Hello Valetin and ONE team:

I have done some work to make the TTYLinux image (from ONE template)
fully boot, in addition to having the Marketplace Vyatta router boot
OK.   They can ping & and SSH to each other, on their 10.0.0.0/24
network.  They cannot "see" any external network.

What I am attempting to do is have at least complete network-routing,
from the "external" network, to the VMs "internal" network, and back
again.   I have made little progress, so any steps to help make this
possible, are greatly appreciated.   (I am currently looking at
establishing OpenFlow flows, across the OpenVSwitch, to "route"
packets... not sure about that, even).

Here's what I have, now:

oneadmin@sealion:~ > onehost show 8 | dpaste
https://dpaste.de/5hd5/raw


oneadmin@sealion:~ > onevm show --all 48 | dpaste
https://dpaste.de/OEmz/raw
oneadmin@sealion:~ > onevm show --all 49 | dpaste
https://dpaste.de/LW8n/raw

oneadmin@sealion:~ > onevnet show --all 10 | dpaste
https://dpaste.de/nupU.raw

# the overview:
oneadmin@sealion:~ > onevnet show  10

VIRTUAL NETWORK 10
INFORMATION                                                 
ID             : 10                 
NAME           : ovsnet_02          
USER           : oneadmin           
GROUP          : oneadmin           
CLUSTER        : -                  
TYPE           : RANGED             
BRIDGE         : vbr0               
VLAN           : Yes                
VLAN ID        : 1                  
USED LEASES    : 2                  

PERMISSIONS                                                                    

OWNER          : um-                
GROUP          : ---                
OTHER          : ---                

VIRTUAL NETWORK
TEMPLATE                                                       
DNS="10.0.0.1"
GATEWAY="10.0.0.1"
NETWORK_ADDRESS="10.0.0.0/24"
NETWORK_MASK="255.255.255.0"

RANGE                                                                          

IP_START       : 10.0.0.1           
IP_END         : 10.0.0.254         

USED
LEASES                                                                    
LEASE=[ MAC="02:00:0a:00:00:02", IP="10.0.0.2",
IP6_LINK="fe80::400:aff:fe00:2", USED="1", VID="48" ]
LEASE=[ MAC="02:00:0a:00:00:03", IP="10.0.0.3",
IP6_LINK="fe80::400:aff:fe00:3", USED="1", VID="49" ]

VIRTUAL MACHINES

    ID USER     GROUP    NAME            STAT UCPU    UMEM
HOST             TIME
    48 oneadmin oneadmin ttylinux-00     runn   14    192M sealion.in  
0d 22h11
    49 oneadmin oneadmin Vyatta Router 6 runn    0    768M sealion.in  
0d 22h07


## the current OpenVSwitch "setup" (this needs to be a Gist!)   << The
"external network" is now 10.7.1.0/24 >>
#
sealion.ine.corp:2396 $ cat boot-fscking-br0.sh | dpaste
https://dpaste.de/YO5O

oneadmin@sealion:~ > netstat -nr | dpaste
https://dpaste.de/mUUK/raw

oneadmin@sealion:~ > BRIDGE_DEV=vbr0

oneadmin@sealion:~ > sudo ovs-vsctl show | dpaste
https://dpaste.de/toFu/raw

oneadmin@sealion:~ > sudo ovs-ofctl show $BRIDGE_DEV | dpaste
https://dpaste.de/nLAy/raw

oneadmin@sealion:~ > sudo ovs-ofctl dump-flows $BRIDGE_DEV | dpaste
https://dpaste.de/m4PT/raw

Would it be "advantageous" to install another Ethernet port on my W-530
notebook, and have that be the OpenVSwitch "hardware" port?

thank you!
(MarkB1 on #opennebula, freenode.net)


On 11/22/2013 07:47 AM, Valentin Bud wrote:
> Hello Mark,
>
> On Thu, Nov 21, 2013 at 01:01:17PM -0600, Mark Biggers wrote:
>> Hello Valentin, thanks for the reply.
>>
>> On 11/21/2013 03:30 AM, Valentin Bud wrote:
>> Hello Mark,
>>
>> Before pointing you to the problem I think your config has you should also
>> check that you have routing enabled in the machine
>>
>> Are you speaking of "ip route" routes?   Or some sysconf variable?   Or, 
>> route(s) on the VMs themselves??
> I was actually speaking about IP Forwarding, to be precise. That is
> attained via a sysctl. It should be set to 1. To make the changes
> persistent after reboot you have /etc/sysctl.conf. 
>
> --
> Valentin Bud
> http://databus.pro | valen...@databus.pro<mailto:valen...@databus.pro>
>

_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to