Web Hosting Talk







View Full Version : Ensim 4.0.1 - problem adding second IP address


brian73
09-17-2004, 06:36 PM
I have a dedicated server at AIT. I have two IP addresses assigned to me. I have not tried to use the second IP address before.

I added a new IP-based site through Ensim. From the server, I can ping the new site, and I can get to it through lynx. Outside the server, I can't access it. A tracert gets as far as the AIT gateway.

Does Ensim really do everything that is needed to add a new IP address? I expected it to add an eth0:0 entry in ifconfig. If I manually add the entry and then remove the site from Ensim, it does remove the entry, but it does not appear to add a new entry.

I am using iptables firewall, do I need to change it to allow the new IP? I do not see any dropped packets in the logs for the new IP address.

Thanks for any help.

Brian

ffeingol
09-19-2004, 06:38 PM
Yes, ensim does add the IP address, but it does not use the eth0:1 like you are used to. It won't show up if you do an ipconfig either.

You will need to modify your firewall rules (more than likely) to allow things to get through to the new IP address. What firewall/program are you using?

Frank

ffeingol
09-19-2004, 07:55 PM
Brian,

I just published a quick how to at Control Panel Gurus on how to list the Ensim assigned IP's: http://www.cpguru.com/content/view/32/37/

Frank

T3ch
09-19-2004, 08:08 PM
having the same problem , going to try to see if there's info on CPGuru

ffeingol
09-19-2004, 08:16 PM
T3ch,

Prob. not, the site is only a week old ;-) Are you running a firewall/script and if so what one? Ensim does add the IP addresses just fine.

Frank

brian73
09-20-2004, 01:25 AM
Frank

Thanks for the help. After adding a new IP-based domain, 'ip addr list' shows that the new IP address is active, however, I am still not able to access that site outside of my server.

I have stopped the iptables service and that did not help. I am just running iptables as a firewall, not a specific script (like shorewall, etc.).

It may be a problem with AIT. Maybe the IP address they gave me is the problem. I have six more that I can ask for, so maybe I will try that tomorrow.

Thanks,
Brian

brian73
09-21-2004, 05:46 PM
I got a new list of IP addresses from AIT today. The IP address I was trying to use was not valid. Using the new list from them, everything works ok now.

Thanks for your help.