Linux: Instructions for using the Networking configuration command on Linux

  • Show interface and IP Address
  • /etc/hosts: is one of several system facilities that assists in addressing network nodes in a computer network. It is a common part of an operating system’s Internet Protocol (IP) implementation, and servers the function of translating human-friendly hostnames into numeric protocol addresses, called IP addresses, that identify and locate a host in an IP network
  • /etc/resolv.conf is resolver configuration file for Linux and UNIX
  • Persistent network configuration
  • Using DHCP
  • Using static IP
  • nmcli command: define a new connection named “default” which will autoconnect as an Ethernet connection on the eth0 device using DHCP
  • Create a new connection named “static” and specify the IP address and gateway. Do not autoconnect
  • Create a new connection named “static” and specify the IP address and gateway. Do not connect
  • Specify a DNS server
  • Add more DNS server
  • Set IPv4
  • To active the changes, the connection needs to be activated or reactivated
  • nmtui command
  • Display Existing Routes command
  • Set, change, delete static route
  • To add a static route to a host address, in other words to a single IP address, issue a command as root
  • To add a static route to a network
  • Traceroute command
  • ss command
  • List all udp connections
  • List all tcp connections
  • Print summary statistics

** If you have difficulty in configuring Sophos products in Viet Nam, please contact us:

Hotline: 02862711677

Email: info@thegioifirewall.com

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.