<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>The netmask on my network is 255.255.0.0, yet the VMs get plumbed with 255.255.255.0. <br>I have tried setting up the netmask using the onevnet command but I am not able to.  Please help.<br>
<br></div>here are the network details of the main host <br><br>- # ifconfig br0<br>br0       Link encap:Ethernet  HWaddr 00:25:90:E2:C5:98<br>          inet addr:172.16.192.60  Bcast:172.16.255.255  <span style="background-color:rgb(255,255,0)">Mask:255.255.0.0</span><br>
          inet6 addr: fe80::225:90ff:fee2:c598/64 Scope:Link<br>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>          RX packets:10352600 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:5714417 errors:0 dropped:0 overruns:0 carrier:0<br>
          collisions:0 txqueuelen:0<br>          RX bytes:6383539896 (5.9 GiB)  TX bytes:8971371821 (8.3 GiB)<br> <br># netstat -rn<br>Kernel IP routing table<br>Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface<br>
192.168.122.0   0.0.0.0         255.255.255.0   U         0 0          0 virbr0<br>169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 br0<br>172.16.0.0      0.0.0.0         255.255.0.0     U         0 0          0 br0<br>
0.0.0.0         172.16.192.1    0.0.0.0         UG        0 0          0 br0<br><br><br></div>Here are the networking details of the VM:<br><br># ifconfig eth0<br>eth0      Link encap:Ethernet  HWaddr 02:00:AC:10:C0:40<br>
          inet addr:172.16.192.64  Bcast:172.16.192.255  <span style="background-color:rgb(255,255,0)">Mask:255.255.255.0</span><br>          inet6 addr: fe80::acff:fe10:c040/64 Scope:Link<br>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>
          RX packets:165669946 errors:0 dropped:1041 overruns:0 frame:0<br>          TX packets:170954965 errors:0 dropped:0 overruns:0 carrier:0<br>          collisions:0 txqueuelen:1000<br>          RX bytes:27122115947 (25.2 GiB)  TX bytes:41114623111 (38.2 GiB)<br>
          Interrupt:10<br><br></div># netstat -rn<br>Kernel IP routing table<br>Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface<br>172.16.192.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0<br>
0.0.0.0         172.16.192.1    0.0.0.0         UG        0 0          0 eth0<br><br><br><br></div><div>Here is the onevnet definition - <br><br>[oneadmin@fermi ~]$ onevnet show 0<br>VIRTUAL NETWORK 0 INFORMATION<br>ID             : 0<br>
NAME           : private<br>USER           : oneadmin<br>GROUP          : oneadmin<br>CLUSTER        : -<br>TYPE           : FIXED<br>BRIDGE         : br0<br>VLAN           : No<br>USED LEASES    : 4<br><br>PERMISSIONS<br>
OWNER          : um-<br>GROUP          : ---<br>OTHER          : ---<br><br>VIRTUAL NETWORK TEMPLATE<br>GATEWAY="172.16.192.1"<br>NETMASK="255.255.0.0"<br><br>USED LEASES<br>LEASE=[ MAC="02:00:ac:10:c0:40", IP="172.16.192.64", IP6_LINK="fe80::400:acff:fe10:c040", USED="1", VID="20" ]<br>
LEASE=[ MAC="02:00:ac:10:c0:55", IP="172.16.192.85", IP6_LINK="fe80::400:acff:fe10:c055", USED="1", VID="13" ]<br>LEASE=[ MAC="02:00:ac:10:c0:56", IP="172.16.192.86", IP6_LINK="fe80::400:acff:fe10:c056", USED="1", VID="9" ]<br>
LEASE=[ MAC="02:00:ac:10:c0:5c", IP="172.16.192.92", IP6_LINK="fe80::400:acff:fe10:c05c", USED="1", VID="19" ]<br><br>FREE LEASES<br>LEASE=[ MAC="02:00:ac:10:c0:57", IP="172.16.192.87", IP6_LINK="fe80::400:acff:fe10:c057", USED="0", VID="-1" ]<br>
LEASE=[ MAC="02:00:ac:10:c0:58", IP="172.16.192.88", IP6_LINK="fe80::400:acff:fe10:c058", USED="0", VID="-1" ]<br>LEASE=[ MAC="02:00:ac:10:c0:59", IP="172.16.192.89", IP6_LINK="fe80::400:acff:fe10:c059", USED="0", VID="-1" ]<br>
LEASE=[ MAC="02:00:ac:10:c0:5a", IP="172.16.192.90", IP6_LINK="fe80::400:acff:fe10:c05a", USED="0", VID="-1" ]<br>LEASE=[ MAC="02:00:ac:10:c0:5b", IP="172.16.192.91", IP6_LINK="fe80::400:acff:fe10:c05b", USED="0", VID="-1" ]<br>
LEASE=[ MAC="02:00:ac:10:c0:5d", IP="172.16.192.93", IP6_LINK="fe80::400:acff:fe10:c05d", USED="0", VID="-1" ]<br><br>VIRTUAL MACHINES<br><br>    ID USER     GROUP    NAME            STAT UCPU    UMEM HOST             TIME<br>
     9 oneadmin oneadmin testvm9         runn    0    512M test    32d 20h47<br>    13 oneadmin oneadmin testvm1         runn    0      2G test    29d 02h33<br>    19 oneadmin oneadmin testvm2         runn    0      2G test    3d 17h13<br>
    20 oneadmin oneadmin testvm3         runn    1      2G test    3d 15h54<br>[oneadmin@fermi ~]$<br><br><br></div><div>Regards.<br></div></div>