Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    43

    Default I setup a new server. How do I add more IP's I have?

    Hi, I've just setup a new server with whm/cpanel, etc. And I have a question.
    Right now I connect to it via the main ip (69.94.131.240). But My Datacenter gave me the information below for the additional ip's hooked up to it.

    How do I go about adding these to the server via whm? Or do I have to ssh in and manually add them..

    I saw the Add a New IP Option in WHM, but I'm confused what to put where, and what to put for subnet mask. Do I put the 192.168... assigned to each ip? Or do I put the same default or the one below the data they gave me. THANKS!!

    Code:
    IP on firewall   ->  ip on your server
    69.94.131.240 -> 192.168.18.240
    69.94.131.241 -> 192.168.18.241
    69.94.131.242 -> 192.168.18.242
    69.94.131.243 -> 192.168.18.243
    69.94.131.244 -> 192.168.18.244
    69.94.131.245 -> 192.168.18.245
    69.94.131.246 -> 192.168.18.246
    69.94.131.247 -> 192.168.18.247
    69.94.131.248 -> 192.168.18.248
    69.94.131.249 -> 192.168.18.249
    69.94.131.250 -> 192.168.18.250
    69.94.131.251 -> 192.168.18.251
     
    subnet mask = 255.255.0.0

  2. #2
    Member
    Join Date
    Jan 2004
    Posts
    755

    Default

    I'm going to go with adding the 192 series. It looks as though your IP addresses are natted 1 to 1 with the public IP on the firewall. If your box is using a 192 address (check with ifconfig via ssh), that would just confirm it.

    since the public IP is on the firewall, if you try to put it on your box, it won't work.

  3. #3
    Member
    Join Date
    Nov 2003
    Posts
    43

    Default

    Code:
    root@localhost [~]# ifconfig
    eth2      Link encap:Ethernet  HWaddr 00:E0:81:40:11:00
              inet addr:192.168.18.240  Bcast:192.168.255.255  Mask:255.255.0.0
              inet6 addr: fe80::2e0:81ff:fe40:1100/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:2710 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1962 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:334464 (326.6 KiB)  TX bytes:1465488 (1.3 MiB)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:2597 errors:0 dropped:0 overruns:0 frame:0
              TX packets:2597 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:2371988 (2.2 MiB)  TX bytes:2371988 (2.2 MiB)
    Is the result from ifconfig. So basically

    Goto Add Ip in Whm, then what exactly should i type?

    -sorry, first time I've added ip's manually myself

  4. #4
    Member
    Join Date
    Nov 2003
    Posts
    43

    Default

    *bump*
    ***

  5. #5
    Member
    Join Date
    Nov 2003
    Posts
    43

    Default

    anyone?
    ???

  6. #6
    Member
    Join Date
    Jan 2004
    Posts
    755

    Default

    According to the output above, your mask is 255.255.0.0

    So, you'd add 192.168.18.241 with a mask of 255.255.0.0

Similar Threads & Tags
Similar threads

  1. Nameserver setup problems (unable to add/resolve)
    By Chris-777 in forum New User Questions
    Replies: 3
    Last Post: 04-10-2011, 12:34 PM
  2. Server Setup - Setup Remote Access Key?
    By SoftmegUK in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-24-2010, 01:34 PM
  3. Remote mysql server setup - ssh for setup only?
    By Alcedema in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-08-2009, 01:29 PM
  4. Replies: 2
    Last Post: 09-17-2009, 02:57 PM
  5. Add hostname... (dns setup)
    By dennis in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-19-2003, 03:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube