Tag Archives: networking

How to check the DHCP server on Ubuntu

This is if you need to know which server gave you your dynamic IP: cat /var/lib/dhcp/dhclient.leases That’s it, Enjoy!

Posted in Ubuntu | Tagged , , , | Leave a comment

How to use the ip command to bring up/down the network interface on Linux

The ip command is replacing ifconfig, which is getting deprecated and some distros have already removed it. To bring a network interface down, simply run the following: sudo ip link set enp0s25 down To bring it back up: sudo ip … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment