Sentora Support Forums
Adding multiple static ips to sentora - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: Adding multiple static ips to sentora (/showthread.php?tid=3202)



Adding multiple static ips to sentora - baeuser - 11-15-2016

Hello

I just installed Sentora 1.0.3 for the first time on my VPS and I am having problems understanding how can I add my purchased static IPs to Sentora in order to use them on my server.

I want each domain to have its own static IP, is that possible? My hosting company enabled those Ips, i just need to add them to Sentora to assign them to my domains.

Thank you very much for your help!


RE: Adding multiple static ips to sentora - Me.B - 11-15-2016

Yes you can that, as sentora currently bind to all server ip's.

So all you have to is to set the DNS to the right ip. But the domain will not default on that IP.

M B


RE: Adding multiple static ips to sentora - baeuser - 11-22-2016

Thank you Me.B

I had to add the ips to my centos, they were enabled server-wise but not on centos. Here are the settings if anyone else needs it.


nano /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=static
NM_CONTROLLED=yes
ONBOOT=yes
TYPE=Ethernet
IPADDR=10X.19X.25X.X
NETMASK=255.255.255.192

nano /etc/sysconfig/network-scripts/ifcfg-eth0:0

DEVICE=eth0:0
BOOTPROTO=static
ONBOOT=yes
IPADDR=10X.19X.25X.X
NETMASK=255.255.255.255

nano /etc/sysconfig/network-scripts/ifcfg-eth0:1

DEVICE=eth0:1
BOOTPROTO=static
ONBOOT=yes
IPADDR=10X.19X.25X.X
NETMASK=255.255.255.255


RE: Adding multiple static ips to sentora - Me.B - 11-22-2016

If you use an ip range you can use:

IPADDR_START=172.16.16.126
IPADDR_END=172.16.16.130