[one-users] REG: onevnet list

Fabian Wenk fabian at wenks.ch
Thu Sep 22 07:24:40 PDT 2011


Hello Sriviatsan

On 22.09.2011 10:12, srivatsan jagannathan wrote:

> Having same problem with this configuration also,
> NAME   = "test150"
> TYPE   = FIXED
> BRIDGE = eth1
> LEASES = [IP=192.168.58.150]
>
> OUTPUT
> onevnet show 108
> VIRTUAL NETWORK 108 INFORMATION
> ID:       : 108
> UID:      : 0
> PUBLIC    : N
>
> VIRTUAL NETWORK TEMPLATE
> BRIDGE=eth1
> LEASES=[ IP=192.168.58.150 ]
> NAME=test150
> TYPE=FIXED
>
> LEASES INFORMATION
> LEASE=[ IP=192.168.58.100, MAC=02:00:c0:a8:3a:64, USED=0, VID=-1 ]
> LEASE=[ IP=192.168.58.150, MAC=02:00:c0:a8:3a:96, USED=0, VID=-1 ]

I have just tried your setup on my system, and everything looks good:

# cat test150.net
NAME   = "test150"
TYPE   = FIXED
BRIDGE = eth1
LEASES = [IP=192.168.58.150]
#

# onevnet create test150.net
#

# onevnet list
   ID USER     NAME              TYPE BRIDGE P #LEASES
[...]
    5 admin    test150          Fixed   eth1 N       0
#

# onevnet show 5
VIRTUAL NETWORK 5 INFORMATION 

ID:       : 5
UID:      : 0
PUBLIC    : N

VIRTUAL NETWORK TEMPLATE
BRIDGE=eth1 

LEASES=[ IP=192.168.58.150 ]
NAME=test150
TYPE=FIXED

LEASES INFORMATION
LEASE=[ IP=192.168.58.150, MAC=02:00:c0:a8:3a:96, USED=0, VID=-1 ]
#

Did the network named "test150" already exists when you created it 
with this template? This could explain why you are seeing two 
LEASE lines (192.168.58.100 and 192.168.58.150).

But it is rather strange, that your 'onevnet list' does not show 
any output at all. Could it be, that the database got hit by 
something which trashed it in some parts?

What are you using as backend database, sqlite or MySQL?


bye
Fabian



More information about the Users mailing list