Results 1 to 3 of 3
-
10-15-2009, 01:44 PM #1Web Hosting Master
- Join Date
- Mar 2008
- Posts
- 606
how can i add additional IP to my server ?
i have an ubuntu server, i got new ip's from my host, i am supposed to bind it to the server and i dont know how.
-
10-15-2009, 01:55 PM #2Disabled
- Join Date
- Oct 2009
- Posts
- 22
Under /etc/network/interfaces scroll down until you find your network interface card in the file (usually named eth0 for an ethernet connection, or wlan0 or wifi0 for a wifi connection).
Change 'iface eth0 inet dhcp' to 'iface eth0 inet static'
Add the following lines, substituting the IP address numbers with your desired configuration:
address 192.168.0.10
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 216.10.119.241
-
10-15-2009, 03:38 PM #3Web Hosting Master
- Join Date
- Apr 2002
- Location
- Auckland - New Zealand
- Posts
- 1,575
As they are probably additional IP addresses, you will use for example
if eth0 is your current interface
auto eth0:1
iface eth0:1 inet static
address 192.168.0.10
netmask 255.255.255.0
auto eth0:2
iface eth0:2 inet static
address 192.168.0.11
netmask 255.255.255.0
Similar Threads
-
I need a server wid additional C Class IPs?
By mafid in forum Dedicated ServerReplies: 9Last Post: 01-15-2004, 02:38 PM -
Additional Server for mySQL??
By blaha in forum Dedicated ServerReplies: 9Last Post: 02-26-2003, 04:31 AM -
Provider that has additional hard drive space with no additional monthly fees?
By Sembiance in forum Dedicated ServerReplies: 1Last Post: 01-21-2003, 12:51 PM -
additional server help
By ivaninch in forum Dedicated ServerReplies: 0Last Post: 08-03-2002, 08:35 AM -
Additional Name Server Aliases under WHM
By wmac in forum Hosting Software and Control PanelsReplies: 2Last Post: 05-03-2002, 05:23 AM