Skip to main content

Posts

Showing posts with the label interface

Network Connection verification and Troubleshooting commands in Linux

There are several commands which can help to diagnose the computer networking in Linux. ifconfig Command Interface configuration(ifconfig) is a command-line interface tool used for configuring, controlling and querying TCP/IP network interface parameters.It is used to initialize an interface, set the IP address and netmask of a network interface and enabling or disabling an interface on demand.  This command is mainly used to know the IP address and MAC address assigned to an interface. -->ifconfig command with no arguments will display will display all network interfaces currently in operation. $ifconfig -a  It will display all available details of the system irrespective of status.It doesn't bother whether the interface is inactive or active.  $ifconfig eth0 It will show the configuration of a specific interface i.e. it will display the configuration of eth0 only. We can change the status of a specif...

Network Connection verification and Troubleshooting commands in Windows

To ensure the proper network connection in the system, we do the following three types of checking: ---   Check the NIC card --- Check whether we have an IP or not or our gateway is active or not by a ping test -----  Check if the port no or the service is active or not To check the connection go to command prompt and enter the commands >ping localhost  then NIC  working. >ping 172.29.0.1 then gateway working >ipconfig In computing, ipconfig (internet protocol configuration) is a console application (command line tool) in Microsoft Windows used to control the network connections on windows.It displays all current TCP/IP network configuration values and can modify DHCP and DNS settings. Usually, ipconfig command is used with the command-line switch  /all. > ipconfig /all This command shows the various network configurations, MAC address, default gateway and IP addresses of different servers on the ne...