Unix IP Configuration Using ifconfig
If your system was running on Unix platform and you need to check the IP configuration on the server, then issue the command as below.
UNIX> netstat -ain | awk '$1 ~ /^lan/ && $1 !~ /:/ {print $1}' UNIX> ifconfig <interface listed on netstat command above>
The first command using netstat will list down all the interface running on your server. Use ifconfig to list down the IP address set on the interface listed from the netstat command
Leave a Comment


Recent Comments