HP-UX networking related tools and commands
As my journey continues to exploring HP-UX I found couple of nice utilities and tools to configure and administrate HP-UX networking subsystem.
FILES
- /etc/hosts - Hosts configuration file (resolve hosts and IPs)
- /etc/rc.config.d/netconf – IP address, routeing address and hostname stored in this file
SCRIPTS
- /etc/init.d/net start – Use to start, stop network service
HPUX Commands
(a) Display lan interface info:
# lanscan
(b) All in one lan configuration utility (lan0 is first Ethernet interface) to configure and view the system IP address:
# ifconfig lan0 - Display IP info such as IP address netmask etc.
# ifconfig lan0 up - Up network interface (allow traffic)
# ifconfig lan0 down - Down network interactive (deny traffc)
# ifconfig lan0 192.168.1.1 netmask 255.255.255.0 up - Setup/change IP adddress
(c) Displaying host name
# hostname
(d) Arp administration (cache)
# arp -a
(e) Display routing table/info:
# netstat -nr
(f) Define new route:
# route add default 192.168.1.254 1
(g) HP's LAN diagnostic tool
# lanadmin
(h) Test a remote host connectivity
ping host.mycorp.com
(i) Setup various lan properties, dns client, NIS client configuration etc using GUI tool:
# sam
# set_parms
(j) Check dns connectivity:
$ nslookup www.google.co.uk
See also
How do I start hpux network service?
HP-UX: How Do I configure the new Lan card configuration?
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- Howto Use SSH To Run Command On A Remote Machine
- No Route to Host error and solution
- Understanding Linux networking stack ~ from sockets to device drivers
- User management: command line vs GUI tools
- Find Out If Windows Server System Hacked / Cracked Or Not
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


Recent Comments
Today ~ 13 Comments
Today ~ 9 Comments
Yesterday ~ 3 Comments
Yesterday ~ 1 Comment
Yesterday ~ 2 Comments