Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

ip configuration

Super Advisor

ip configuration

How can I check ip configuration ie how many lan cards,configured lan cards,ip address,subnet mask etc of lan cards, in HP-UX 11.23??
Frequent Advisor

Re: ip configuration

#netstat -in
will show all lan card ipaddress
Honored Contributor

Re: ip configuration


# netstat -in
# netstat -rvn
# lanscan
# ifconfig lanx

Honored Contributor

Re: ip configuration

To list LAN cards which at least have a driver installed:
- run "lanscan"

Cards with no driver installed will not be listed in "lanscan" output. Even an "ioscan" listing will not always display them (as with some combo cards) or they may show as UNCLAIMED UNKNOWN and cannot be identified as LAN cards without further examination.

To list configured LAN cards:
- run "netstat -in".
This will also display the IP address assigned to each card.

If any IP aliases have been configured (= more than one IP address in one physical LAN card), "netstat -in" will show them too.

To see the IP address, netmask and broadcast address of a specific card (for example, lan0):
- run "ifconfig " (example: "ifconfig lan0")

To see the gateway(s) configured to the system, view the routing table:
- run "netstat -rnv"

The default gateway is listed on the last line of "netstat -rnv" output.

Super Advisor

Re: ip configuration