Linux_Networking_Network Check
Interface check
ifconfig
cat /etc/network/interface
# interfaces(5) file used by ifup(8) and ifdown(8)
#auto ens33
#iface ens33 inet dhcp
auto lo
iface lo inet loopback
#auto ens33
#iface ens33 inet dhcp
#iface ens33 inet static
#address 10.175.4.197
#network 10.175.4.0
#netmask 255.255.252.0
#broadcast 10.175.7.255
#gateway 10.175.4.1
#dns-nameservers 10.175.2.11
auto ens33
iface ens33 inet static
address 10.175.38.10
network 10.175.38.0
netmask 255.255.255.0
broadcast 10.175.38.255
gateway 10.175.38.1
dns-nameservers 219.238.239.155
sudo systemctl restart NetworkManager.service
sudo service network-manager restart
sudo /etc/init.d/networking restart
OR
sudo /etc/init.d/network-manager restart
##### DNS ############
cat /etc/resolv.conf
nameserver 8.8.8.8
nslookup www.bing.com
########### routing #########3
route -nNvee