Yet another Mark, here:

This is perhaps a related question.   I completely missed the  CONTEXT = [ 
NETWORK = YES ]  in my ONE templates, and thereby was screwed.  Fixed, thanks 
for this
( this needs to be **better documented**, please... )

However, I still can't get the ebtables / brN (Linux bridging) to work, for 
ping / ssh / VNC going , to my VM network 192.168.122.0.   Notes below.  Need 
the ONE
team's help, thank you.

Here's how I configured the "br0" bridge, on openSUSE 12.3 Linux :

sudo  ifdown br0 || echo "no way to down bridge br0 :)"
sudo  brctl delbr br0 || echo "no bridge br0 :)"

sudo  ifconfig eth0 promisc up
sudo  brctl show

sudo  brctl addbr br0
sudo  brctl show

sudo  ifconfig eth0 0.0.0.0 up
sudo  brctl addif br0 eth0
sudo  brctl show

sudo  ifconfig br0 192.168.1.250   # "previous" addr of eth0

sudo route add default gw 192.168.1.1
sudo route add -net 192.168.122.0  gw 192.168.1.250 netmask 255.255.255.0

======================== supporting info =============================

[email protected]:~ # ip addr | dpaste
 < http://dpaste.de/csGz >
 
oneadmin@sealion:~ > onevnet show -x 4 | dpaste
 < http://dpaste.de/594n >

oneadmin@sealion:~ > onetemplate show 18 -x | dpaste
 < http://dpaste.de/OIya >
 
oneadmin@sealion:~ > onevm show 20 -x | dpaste
 < http://dpaste.de/pXEZ >

[email protected]:~ # cat typescript | dpaste  ## pinging, netstats
 < http://dpaste.de/9OwD >


----mark


________________________________________
From: [email protected] [[email protected]] 
On Behalf Of Jaime Melis [[email protected]]
Sent: Wednesday, November 06, 2013 10:50 AM
To: Mark Kusch
Cc: Users OpenNebula
Subject: Re: [one-users] VM networking configuration CentOS

Hi Mark,

I think the problem is that you are not using the CONTEXT = [ NETWORK = YES ] 
option. If you don't, the VM will infer its IP from the MAC, converting the 
last 4 bytes of the MAC to decimal:

MAC="54:52:00:c0:de:0a", => 00 . c0 . de . 0a => 0.192.222.10

If you add the CONTEXT bit from before to your template everything should work 
OK.

cheers,
Jaime




On Mon, Oct 21, 2013 at 4:14 PM, Mark Kusch 
<[email protected]<mailto:[email protected]>> wrote:
Hi list!

Problem solved... Still it FEELS like NetworkManager broke networking
in the VMs, still not confirmed.

_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to