ispCP - Board - Support
multiple ip on debian - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: multiple ip on debian (/thread-2610.html)



multiple ip on debian - DJSADERS - 03-01-2008 09:50 AM

Hi,

no matter what i try i cant get my second ip to work on debian etch

my interfaces file is below...

# The loopback network interfaces
auto lo eth0
iface lo inet loopback

# The primary network interface
iface eth0 inet static
address 78.86.194.110
netmask 255.255.240.0
network 78.86.192.0
broadcast 78.86.207.255
gateway 78.86.192.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 87.194.0.51 87.194.0.52
dns-search zone2.bethere.co.uk

any help would be greatly appreciated


RE: multiple ip on debian - joximu - 03-01-2008 10:05 AM

maybe you ask in a debian forum?


RE: multiple ip on debian - DJSADERS - 03-01-2008 10:28 AM

i figured that as ispcp supports multiple ip's someone on here would have successfully done it


RE: multiple ip on debian - joximu - 03-01-2008 10:46 AM

yes - that's correct.
You need to tell the operating system to use/add the new IPs.

Then you can add the ip in ispcp so it can be used for some domains/resellers..

/J


RE: multiple ip on debian - DJSADERS - 03-01-2008 10:53 AM

thats the problem i cant get the os to accept the new ip


RE: multiple ip on debian - rsmithgs - 03-01-2008 11:00 AM

I only see one IP listed in your /etc/network/interfaces file.

Is this an issue adding the IP to the Operating System or to ISPCP?

I have a feeling its an issue adding the IP to the Operating System?

You would need something like:

# The loopback network interfaces
auto lo eth0
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 78.86.194.110
netmask 255.255.240.0
network 78.86.192.0
broadcast 78.86.207.255
gateway 78.86.192.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 87.194.0.51 87.194.0.52
dns-search zone2.bethere.co.uk

auto eth0:1
iface eth0:1 inet static
address 78.86.194.111
netmask 255.255.240.0
network 78.86.192.0
broadcast 78.86.207.255


I've put the changes in red.

How are you finding BeUnlimited anyway? I'm not getting great service from them Sad


RE: multiple ip on debian - joximu - 03-01-2008 11:01 AM

you know google?

they offer a very good search service over many many websites.

And among theese many websites there are some with exactly this topic - I can tell you, you won't believe it!!!

this is one of them http://www.servepath.com/support/debian_ip_configuration.htm and another method here http://tumbleweed.org.za/2007/12/05/multiple-ip-addresses-on-debian


RE: multiple ip on debian - rsmithgs - 03-01-2008 11:05 AM

joximu Wrote:you know google?

they offer a very good search service over many many websites.

And among theese many websites there are some with exactly this topic - I can tell you, you won't believe it!!!

this is one of them http://www.servepath.com/support/debian_ip_configuration.htm and another method here http://tumbleweed.org.za/2007/12/05/multiple-ip-addresses-on-debian

Come on Joximu, I know people should really search around first but its only a interfaces file.

DJSaders, are you fairly new to Linux? If so please make sure your not hosting the box on your LAN as the box may become comprimised.