HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   VPS Server with more than 2 IP (http://www.howtoforge.com/forums/showthread.php?t=59273)

abintipl 27th October 2012 10:48

VPS Server with more than 2 IP
 
Hello,

I am setting up a new Server with Debian 6 +ISPconfig3 and want to allocate seperate IP for my websites with SSL & have 3 Static IPS

I am setting up server as per instructions http://www.howtoforge.com/perfect-se...ispconfig-3-p3

When I am on step "vi /etc/network/interfaces" my interfaces looks as under;

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static

address xx.xxx.xxx.xxx
netmask 255.255.255.0
gateway xx.xxx.xxx.x

# add additional IP addresses this way
# up ip address add xxx.xxx.xxx.xxx dev eth0
~

Should I change above and make it as under;

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static

address add xxx.xxx.xxx.xxx dev eth0
address xx.xxx.xxx.xxx
netmask 255.255.255.0
gateway xx.xxx.xxx.x

# add additional IP addresses this way
# up ip address add xxx.xxx.xxx.xxx dev eth0
~

Please advice with correct settings

Thanks

falko 28th October 2012 12:48

Here's an example of how to do it: http://www.howtoforge.com/perfect_setup_debian_sarge_p3

You must set up virtual interfaces such as eth0:0, eth0:1, etc.

abintipl 2nd November 2012 18:41

2 Ips
 
Dear Sir,

I have followed the given example link as well as user manual chapter no.4.9.2.3

My set up Debain seqeeze 6 plus Ispconfig latest with Multi-server. Following set up is for Master with DNS

I have 3 IP static & are configured to
eth0 xx.xxx.xxx.11
eth0:0 xx.xxx.xxx.22
eth1:1 xx.xxx.xxx.33

Most of the websites would be pointed to xx.xxx.xxx.11

and 1 website to each on xx.xxx.xxx.22 & xx.xxx.xxx.33. These 2 websites being ssl

My question is Should I add all the above 3 IPS under System>Server Ip addresses or just 2 of xx.xxx.xxx.22 & xx.xxx.xxx.33

Please note I have not checked "Network configuration under System>Server Config

Please advice

Thanks & regards,

Abin

falko 4th November 2012 01:23

Quote:

Originally Posted by abintipl (Post 287695)
My question is Should I add all the above 3 IPS under System>Server Ip addresses or just 2 of xx.xxx.xxx.22 & xx.xxx.xxx.33

If you want to configure vhosts on all IPs in ISPConfig, please add all of them.

Quote:

Originally Posted by abintipl (Post 287695)
Please note I have not checked "Network configuration under System>Server Config

That's correct. It's an experimental feature and should not be used on production systems.


All times are GMT +2. The time now is 02:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.