All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Stucked with assigning additional ip blocks to opennebula kvm centos 7
Hello guys,
I just bought a server with following ip assignments when i ask my provider for additional ip configuration help they gave me the link to this tutorial https://www.unixmen.com/linux-basics-assign-multiple-ip-addresses-single-network-interface-card-centos-7/ as it was for multiple addresses in the same subnet I just google more and found this tutorial https://zubayr.github.io/virtual-ip-assignment/ and i did exactly as it say by creating 2 range file for each of the following assignments but it didn't work.
IPv4 Assignment #1: xy3.208.x53.242/29
IPv4 Assignment #2: y4.9x.25.xx2/28
I can successfully configure the server with only one ip block with bridged networking but i need to know how to configure it with the additional ip block.
I really appreciate if you guys can provide me with a solution as soon as possible.
Thank you.
Comments
Bump
paste your interface configs (including bridge) and perhaps we can see what the issue is?
so you are trying to configure the server with both the /29 and /28?
because if you want to do that; we all would need to see how the server is configured(interface,bridges,etc) to know what you are doing wrong.
[root@node5 network-scripts]# cat ifcfg-br0
DEVICE="br0"
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Bridge
BOOTPROTO=static
DNS1=8.8.8.8
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="br0"
[root@node5 network-scripts]# cat ifcfg-br0-range0
TYPE="Ethernet"
IPADDR="173.208.172.250"
PREFIX=29
GATEWAY="173.208.172.249"
IPADDR_START="173.208.172.250"
IPADDR_END="173.208.172.254"
IPV6INIT=no
CLONENUM_START=0
[root@node5 network-scripts]# cat ifcfg-br0-range1
IPADDR="173.208.201.224"
PREFIX=28
GATEWAY="173.208.201.225"
IPADDR_START=173.208.201.226
IPADDR_END=173.208.201.238
IPV6INIT=no
CLONENUM_START=5
[root@node5 network-scripts]# cat ifcfg-ens9
Generated by dracut initrd
NM_CONTROLLED=no
NAME="ens9"
DEVICE="ens9"
ONBOOT=yes
NETBOOT=yes
UUID="02f7b335-b340-4ae6-9317-bbf2f9431329"
IPV6INIT=no
TYPE=Ethernet
IPV4_FAILURE_FATAL=yes
DEFROUTE=yes
BRIDGE=br0
HWADDR=00:02:c9:b9:0f:92
[root@node5 network-scripts]#
IPv4 Assignment #1: 173.208.172.250/29
IPv4 Assignment #2: 173.208.201.224/28
I didn't receive the gateway info and other things for IPv4 Assignment #2: 173.208.201.224/28 from my provider
It's a /28, so you lose 2 of the 16 if it's assigned normally (netmask 255.255.255.240). Hope that helps, because without knowing if they sent it as /32s..
what, you have 3 bridges configured, 1 of them is randomly configured as type "Ethernet", the main bridge interface holds no HW address or IP's.
Sorry mate, that's a complete mess.
Start again.