Determining the status of resources
To check the actual status of the network interface, use the IP netstat and ifconfig commands.
The netstat command provides the names of all network interfaces together with addressing and statistical information. The ifconfig command shows the current parameters of a specified network interface.
- The netstat command provides the names of all network interfaces together
with addressing and statistical information. To list all network interfaces,
from the Connection Manager command line, enter:
netstat -i
An example on a Linux is shown in Sample output of netstat command - Linux
Figure 1. Sample output of netstat command - Linux . The figure shows a sample output of the netstat command showing the status of the network interface on Linux™ # netstat -i Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue lo0 8232 loopback localhost 785614 0 785614 0 0 0 trp0 4472 Jlj Jlj 16401177 0 135886 0 0 0 mn0 1500 10.150.1.0 10.150.1.1 0 0 0 0 0 0 # pwd /user/dt/bin #
- To show the current parameters of a specified network interface, from the SafeLinx Server
command line on UNIX-based systems, enter:
ifconfig mn0
On Windows systems, enter:ipconfig mn0
An example on a Linux is shown in Sample output of ifconfig command - Linux
Figure 2. Sample output of ifconfig command - Linux . The figure shows a sample output of the ifconfig command showing the current parameters of the network interface on a Linux™. # ifconfig mn0 mn0: flags=043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.150.1.1 netmask ffffff00 broadcast 10.150.1.255 ether 0:6:13:19:58:0 #