Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


[Ask] How to setup networking during OS setup?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

[Ask] How to setup networking during OS setup?

BayuBayu Member
edited February 2014 in Help

I just bought a dedicated server to learn more about linux.
I get information about my dedicated server ip address:

IP Address: 123.154.255.123 *

Netmask: 255.255.255.255

Gateway: 123.154.255.1

* not the actual ip

How to input with netmask 255.255.255.255 during os setup? (i'm using ubuntu)

Thanks for help.

Comments

  • CharlesACharlesA Member
    edited February 2014

    When you are doing the install, tell it you want to configure networking manually.

  • Yes I'm doing configure network manually, but refused when I using netmask 255.255.255.255 during os installation.
    If I using netmask 255.255.255.0, setup process can continue until completed. But after few hours network will RTO, and I have to restarting the server again to make ip is accessible.

  • Hello,

    Do not use mask 255.255.255.255 on a dedicated.

  • What racksx said. 255.255.255.255 is not a valid netmask. You should have gotten the correct information from your provider.

  • BayuBayu Member
    edited February 2014

    Hello, thank you for trying to help my problem. I've got a solution, although not sure if it is correct.

    Seems need to edit /etc/network/interface manually after os setup is complete, and then adding pointopoint to gateway ip to make it work with /32 netmask.

    Because if I'm using 255.255.255.0 for netmask after a while, ip address will always become rto.

  • The netmask you need to use depends on what IP you have and what the provider assigned you. If you do not know what the correct values are supposed to be, you need to contact the provider.

    I've always edited the network during install. Sometimes if the installer grabs an IP via DHCP, you have to go back a screen and do it manually. You should already know your IP, netmask, gateway and DNS servers from when you set up the dedi.

  • Find out what IP allocation your have /29 etc and use the below to determine your netmask:

    http://www.aelius.com/njh/subnet_sheet.html

  • mikegmikeg Member
    edited February 2014

    @Bayu said:
    I just bought a dedicated server to learn more about linux.
    I get information about my dedicated server ip address:

    IP Address: 123.154.255.123 *

    Netmask: 255.255.255.255

    Gateway: 125.154.255.1

    * not the actual ip

    How to input with netmask 255.255.255.255 during os setup? (i'm using ubuntu)

    Thanks for help.

    If your gateway is .1, then your netmask is 255.255.255.0 or /24 if you are using cidr format. This might help you:

    http://www.subnet-calculator.com/

  • fileMEDIAfileMEDIA Member
    edited February 2014

    mikeg said: If your gateway is .1, then your netmask is 255.255.255.0 or /24 if you are using cidr format.

    This is not correct. You can have /29, /28, /27,.. on this range too and have the same gateway of .1 when the subnet starts from 0. 192.168.0.0/27 can also have .1 as gateway..and the gateway can use every ip address in this network range. So you cannot calculate the gateway from the network and range.

  • mikegmikeg Member
    edited February 2014

    @fileMEDIA said:
    This is not correct. You can have /29, /28, /27,.. on this range too and have the same gateway of .1 when the subnet starts from 0. 192.168.0.0/27 can also have .1 as gateway..and the gateway can use every ip address in this network range. So you cannot calculate the gateway from the network and range.

    Sorry, you are correct, I guess it depends on what is the last digit of their IP is.

    @Bayu what subnet mask did your provider give you?

    Have a look at this basic guide for setting up your network on Ubuntu:

    http://www.howtoforge.com/linux-basics-set-a-static-ip-on-ubuntu

  • NDTNNDTN Member, Patron Provider, Top Host
  • mikeg said: what subnet mask did your provider give you?

    my provider give me subnet mask 255.255.255.255

    The solution is a using 255.255.255.0 during the installation process. But once completed, I change it manually to 255.255.255.255 and add pointopoint to gateway ip.

    Because if I still using 255.255.255.0, after few hour my ip will be inacessible.

Sign In or Register to comment.