New on LowEndTalk? Please Register and read our Community Rules.
[Ask] How to setup networking during OS setup?
I just bought a dedicated server to learn more about linux.
I get information about my dedicated server ip address:
IP Address: 22.214.171.124 *
* not the actual ip
How to input with netmask 255.255.255.255 during os setup? (i'm using ubuntu)
Thanks for help.
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.
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.
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:
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:
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:
Maybe it can help
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.