How to add IP range to a server?
Posted
by Efe Cakinberk
on Server Fault
See other posts from Server Fault
or by Efe Cakinberk
Published on 2009-08-19T15:04:56Z
Indexed on
2010/04/10
13:43 UTC
Read the original article
Hit count: 417
Hello,
First of all I must say that I'm ver inexperienced server and network user. But I rented a unmanaged dedicated server. Well I didn't know what unmanaged really means, then I learned it when I needed support. Well I must do everything by myself.
I have a problem. I had already 4 IPs on my server when I rented it. But then I needed more Ips and my server assigned me 32 Ips in which I can only use 27 of them.
85.25.230.0 - 85.25.230.31 this is my Ip range and they say the following Ips must not be configured on the server:
85.25.230.0 - network address 85.25.230.1 - gateway address 85.25.230.2 - router redundancy 85.25.230.3 - router redundancy 85.25.230.31 - broadcast address
But the problem is ok Ips are assigned to me but they are not setup on my server. How will I setup Ips to work on my server?
I did this after my reseach on google:
I used this command on command prompt:
route add 85.25.230.0 mask 255.255.255.224 85.25.230.1 metric 1 if
then it said OK!. and I thought they should be working.
(btw, mask is given to me by my ISP and I don't know metric 1 and if means I just saw it on the net and write it here)
I setup my domains via using Plesk Kontrol Panel. So i added one domain and setup one of my new Ips 85.25.230.5 to it. But no it is not working. When I visit the domain via browser, there is a Plesk page comes and says this domain is not configured on the server.
Then I changed the domains Ip to one of my old Ips which are given to me with the server and which I have been using for my other domains for a long time. Ok in a second, domain started working. I set it back to my new Ip and domain did not work.
As I said, I'm not an expert and do not now the logic. But I'm eager to learn. Can you tell me what might couse the problem and did I do wrong while setting up IP RANGE to my server, if so how can I set them up?
Thank you,
Efe
© Server Fault or respective owner