HI,
can somebody tell me what is the command to find out the ipconfiguration (not through smit). ifconfig -a did not show the gateway and all. thanks in advance.
Sab..
HI,
can somebody tell me what is the command to find out the ipconfiguration (not through smit). ifconfig -a did not show the gateway and all. thanks in advance.
Sab..
man netstat
e.g. to display routes use
# netstat -r
or
# netstat -rn
or to display interface state
# netstat -i
or
# netstat -in
Hi.. thanks for the info..
In Linux if you type the command "ifconfig -a " it will provide all the informations regarding interfaces. Is there a way similar to that in AIX?
AIX is the same as on Linux
ifconfig -a
and to display routing information
netstat -rn
ifconfig -a didnot help me. my version is AIX 5200-04. netstat did give me that.. anyway thanks..
Try using lsattr -El inet0
thanks guys, I ve got a simple method.. if somebody need this, try the below.
lsconf | grep -i gateway
lsconf is a script that uses netstat -rn under the hood