Linux network configuration files

On Ubuntu/debian we have the network configuration in /etc/netowrk/interfaces Example of file content: bob@vmUbuntu:~$ cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network … Continue reading Linux network configuration files

Advertisements

Linux network commands 1

Thanks to Elad Levi for the more deep insight of the netstat command. ifconfig - show basic network information for the different interfaces  on the computer. This include ip addresses, broadcast address, and net mask. The command can also be used to define network setting for the different interface. in some distributions, this command is missing, instead … Continue reading Linux network commands 1