[one-users] annoying IP allocation

François Thiebolt Francois.Thiebolt at irit.fr
Sat Aug 3 06:22:18 PDT 2013


Hello,

I've done the following setup for my production network :

NAME = "production"
TYPE = RANGED

BRIDGE = "br0"

NETWORK_ADDRESS = 172.28.112.0/23
IP_START        = 172.28.112.101
IP_END          = 172.28.113.240


Hence, when I start to allocate VMs, they got the right IP starting from 172.28.112.101 ... but when it's time to switch to the 172.28.113.xxx network, one of the VM get allocated the IP 172.28.112.255 (?!) and next one gets 172.28.113.0 ?!?!

May it be related to the NETWORK_SIZE=254 variable in oned.conf ? (indeed, what is it usefull for ?)

oneadmin at cloudmip[~] onevnet show 0
VIRTUAL NETWORK 0 INFORMATION
ID             : 0
NAME           : production
USER           : admin
GROUP          : oneadmin
CLUSTER        : -
TYPE           : RANGED
BRIDGE         : br0
VLAN           : No
USED LEASES    : 160

PERMISSIONS
OWNER          : um-
GROUP          : u--
OTHER          : u--

VIRTUAL NETWORK TEMPLATE
NETWORK_ADDRESS="172.28.112.0/23"
NETWORK_MASK="255.255.254.0"

RANGE
IP_START       : 172.28.112.101
IP_END         : 172.28.113.240

USED LEASES
LEASE=[ MAC="02:00:ac:1c:70:65", IP="172.28.112.101", IP6_LINK="fe80::400:acff:fe1c:7065", USED="1", VID="200" ]
LEASE=[ MAC="02:00:ac:1c:70:66", IP="172.28.112.102", IP6_LINK="fe80::400:acff:fe1c:7066", USED="1", VID="201" ]
LEASE=[ MAC="02:00:ac:1c:70:67", IP="172.28.112.103", IP6_LINK="fe80::400:acff:fe1c:7067", USED="1", VID="202" ]
LEASE=[ MAC="02:00:ac:1c:70:68", IP="172.28.112.104", IP6_LINK="fe80::400:acff:fe1c:7068", USED="1", VID="203" ]
LEASE=[ MAC="02:00:ac:1c:70:69", IP="172.28.112.105", IP6_LINK="fe80::400:acff:fe1c:7069", USED="1", VID="204" ]
LEASE=[ MAC="02:00:ac:1c:70:6a", IP="172.28.112.106", IP6_LINK="fe80::400:acff:fe1c:706a", USED="1", VID="205" ]
.............
.............
.............
LEASE=[ MAC="02:00:ac:1c:70:fe", IP="172.28.112.254", IP6_LINK="fe80::400:acff:fe1c:70fe", USED="1", VID="353" ]
LEASE=[ MAC="02:00:ac:1c:70:ff", IP="172.28.112.255", IP6_LINK="fe80::400:acff:fe1c:70ff", USED="1", VID="354" ] <------- ?!?!?!
LEASE=[ MAC="02:00:ac:1c:71:00", IP="172.28.113.0", IP6_LINK="fe80::400:acff:fe1c:7100", USED="1", VID="355" ] <------ ?!?!?!
LEASE=[ MAC="02:00:ac:1c:71:01", IP="172.28.113.1", IP6_LINK="fe80::400:acff:fe1c:7101", USED="1", VID="356" ]
LEASE=[ MAC="02:00:ac:1c:71:02", IP="172.28.113.2", IP6_LINK="fe80::400:acff:fe1c:7102", USED="1", VID="357" ]

Thanks
François


More information about the Users mailing list