- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- View routes
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2004 07:31 AM
04-03-2004 07:31 AM
Also, is there a way to save the configuration after doing an ifconfig? I have modified lan0 from command line and then did a shutdown -r but it came back with the old configuration information?
I need this to be able to pass information from the subnet of the HPUX to a different subnet.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2004 07:51 AM
04-03-2004 07:51 AM
SolutionThe command to see routes is
netstat -rn
or netstat -rvn
for more detail.
ifconfig only controls cards. The route add/delete commands handles routes. But you're correct i.e. they don't survive reboots. To do that you need to edit the /etc/rc.config.d/netconf file and add the equivalent route entries there. You should already have one there for the default route. Use that as a template, with two caveats, that route has a hop count of one, most static routes are directed to a specific I/F on the system & when you do that the hop count will be zero and this is where the subnet mask is important if you're dealing with supernets.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2004 10:21 AM
04-03-2004 10:21 AM
Re: View routes
Command you are looking for is:
netstat
For more detail you kan check "man netstat"
Idriz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2004 12:30 PM
04-03-2004 12:30 PM
Re: View routes
#netstat -rvn
You must modify /etc/rc.config.d/netconf file to change configuration for lan card permanently.This file also has routing,gateway and other information.
you can also use netstat -in or netstat -in to see lancard v/s IP configuration etc.
Following will reread netconf file but a little risk is involved if somthing wrong is configured in netconf file so do it when no impact to user.
#/sbin/init.d/net start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2004 08:39 PM
04-03-2004 08:39 PM
Re: View routes
netstat -r
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2004 12:13 AM
04-04-2004 12:13 AM
Re: View routes
Try ping -o
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2004 04:11 AM
04-04-2004 04:11 AM