Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th May 2013, 01:41
yucktoufoo yucktoufoo is offline
Member
 
Join Date: Feb 2011
Posts: 36
Thanks: 1
Thanked 1 Time in 1 Post
 
Default Multiple IPs for OpenVZ containers

What I am trying to achieve is this...

The master ispconfig db is on the hardware node with a public and private ip address, I have a DB container on a private network only, a Webserver container and a mailserver container that both have public and private addresses. The mail and web should communicate with the DB server over the private network.

I dont see any way to add additional addresses to the containers through ISPConfig?

I added with vzctl but then the traffic to the DB is routed from the public address and the firewall on the DB container disallows it so I added the route...

Code:
ip route add 192.168.100.0/24 via 192.0.2.1 src 192.168.100.102

Which means the webserver can now connect to the DB server. This however results in a permissions issue when server.sh contacts the master, because of course when the ispconfig install was performed, the route did not exist so all of the permissions on the master were set for the public address.

I guess I could change the server ip address in server config and/or grant the permissions on the master accordingly? but ultimately there must be a better solution because any change to the container config in the ispconfig interface blows away the second address assignment for the container.

Maybe I am just missing something, anyone have any ideas?
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Heartbeat w/no load balancer multiple IP's wxman Server Operation 0 11th September 2009 18:06
SPF and multiple IPs Spaetzle Installation/Configuration 3 3rd January 2008 12:50
Multiple IPs on a single ISPConfig install? Craig Installation/Configuration 4 14th December 2006 19:22
Ldirectord and heartbeat with multiple IPs cracker54 Server Operation 5 30th November 2006 17:31
ssl on multiple internal IPs bruma Installation/Configuration 1 9th October 2006 12:30


All times are GMT +2. The time now is 01:39.


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