Ubuntu LTS server

>ubuntu LTS server
>set up static IP
>it worked for 8 hours
>lost connection, no route to host

Do I need to nuke DHCP alltogether? It's installed but shouldn't try to change IP when I have static, no?

Other urls found in this thread:

swiftstack.com/docs/install/configure_networking.html
twitter.com/SFWRedditGifs

Turn off NetworkManager.

edit /etc/network/interfaces file. Make sure it says "static"

Setup your router's DHCP service to permanently assign the desired IP to the MAC address your PC reports.

Try turning off DHCP

>Do I need to nuke DHCP alltogether?
What do you mean?

>>>>edit /etc/network/interfaces file. Make sure it says "static"

>ubuntu LTS server
>lets tether this shit
>USB tethering creates a random network
>server can access to internet but all ots services are blocked in this random network
>only phone can see server's services
Fucking android tethering, I upgraded its OS solely for this

There is no router It's a University network that gives fixed static IPs. I told dhcp to reale all leases, rebooted once. It found no net. Rebooted one more time and it worked. Went home and after ~8 hours the network lost IP. It's Saturday. Fucking hell.

>What do you mean?
I mean purge dhcp package

you just tell the interface to use static IP from the config in /etc/networks/interfaces

like so,
# The primary network interface
auto eth0
iface eth0 inet static
address 10.0.0.41
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.1
dns-nameservers 10.0.0.1 8.8.8.8
dns-domain acme.com
dns-search acme.com

>8.8.8.8
fuck off pajeet

literally 2 seconds on google

swiftstack.com/docs/install/configure_networking.html

It just wurkz

>google
I TOLD YOU TO FUCK OFF PAJEET

then use whatever you want then, moron.

dumb frogposter

Fine. Use 8.8.4.4 instead.

is kot ok

Sometimes routers try to force DHCP anyway, even if static IP is configured on the client device, which causes it to fuck up the lease.
Either contact your sysadmin or live with having a dynamic IP.
What are you trying to gain by having a static IP on a public network anyway, user?

Every lab gets a static ip for their server. I have no choice other than to physically solve this problem on monday because admin is a lazy fuck and doesn't work on weekends. I wonder how come the server lost the IP when it was working fine for several hours.

>giving your dns queries(browsing history) to the botnet

Who gives a fuck when it's a University server?