I have an ethernet cable connected to the router and I set up the ubuntu server with the IP using the installation of Ubuntu Server 20.04 Manual IPv4. I used Set static IP on Ubuntu Core and tsteiner answer. This finally worked for installing apt-get commands such as upgrade and update. I am not sure if I set it up right. I really just want to setup a server I can use but access from my desktop computer.

The commands ifconfig, route, and arp all tell to install net-tools which I can't because it can't contact the internet. Sorry

IP Address says enp0s7 inet bed scope global enp0s7 valid_lft forever preferred_lft forever inet6 fe80::7285:c2ff:fe5a:9ae5/64 scope link valid_lft forever preferred_lft forever

IP Route default via dev enp0s7 proto static dev enp0s7 proto kernel scope link src

Also I know I don't have a proxy setup for it and I really don't know how. I know about it being in the /etc/something.

The Subnet that is showing is but then I need it in the CIDR form which it says doesn't exist for

  • Maybe you need to add a default route. If you could share the output you get from the ifconfig and route and arp commands, that could provide useful clues.
    – Elias
    Jun 21, 2020 at 4:41

1 Answer 1


The route, arp and ifconfig commands are a bit old-school - nowadays on Linux there are the iproute2 suite of commands:

Try running:

$ ip address
$ ip route

You definitely want to see an IP address to configured on your network device, but also check that the netmask is correct. In a home network, I would expect the mask to be either /24 or /16 - corresponding to either a class C (ex: 192.168.0.x) or class B (ex: 192.168.x.x) network. If it's /32 (I expect not) then that's definitely wrong!

In the routes, you want to see a default route set to the the router IP in that network - commonly ending in either .1 or maybe .254 but starting with same values as your server IP.

You generally should not need a proxy set up, that's also pretty old-school and/or for super-restrictive networks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.