HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: netstat vs netconf file ??
Operating System - HP-UX
1833877
Members
1548
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
11-23-2004 03:34 AM
11-23-2004 03:34 AM
Being somewhat confused to say the lease on network issues, how can I ensure that all static routes from a netstat -rn command are in the netconf file to ensure we don't loose anything after a reboot???
netstat -rn example:
Routing tablesDestination Gateway Flags Refs Interface Pmtu127.0.0.1 127.0.0.1 UH 0 lo0 4136155.90.119.139 155.90.119.139 UH 0 lan1 4136192.168.229.139 192.168.229.139 UH 0 lan3 4136192.168.229.138 192.168.229.138 UH 0 lan3:1 4136155.90.35.139 155.90.35.139 UH 0 lan2:1 4136155.90.35.138 155.90.35.138 UH 0 lan2 4136192.168.223.139 192.168.223.139 UH 0 lan0 4136198.147.143.37 155.90.35.130 UGH 0 lan2:1 0165.79.232.18 155.90.35.139 UH 0 lan2:1 0172.17.101.142 155.90.35.130 UGH 0 lan2:1 0172.17.101.143 155.90.35.130 UGH 0 lan2:1 0192.168.223.128 192.168.223.139 U 2 lan0 1500192.168.229.128 192.168.229.139 U 3 lan3 1500192.168.229.128 192.168.229.138 U 3 lan3:1 1500155.90.119.128 155.90.119.139 U 2 lan1 1500155.90.35.128 155.90.35.138 U 3 lan2 1500155.90.35.128 155.90.35.139 U 3 lan2:1 1500155.90.0.0 155.90.119.130 UG 0 lan1 010.0.0.0 155.90.119.130 UG 0 lan1 0127.0.0.0 127.0.0.1 U 0 lo0 0default 155.90.119.130 UG 0 lan1 0
netstat -rn example:
Routing tablesDestination Gateway Flags Refs Interface Pmtu127.0.0.1 127.0.0.1 UH 0 lo0 4136155.90.119.139 155.90.119.139 UH 0 lan1 4136192.168.229.139 192.168.229.139 UH 0 lan3 4136192.168.229.138 192.168.229.138 UH 0 lan3:1 4136155.90.35.139 155.90.35.139 UH 0 lan2:1 4136155.90.35.138 155.90.35.138 UH 0 lan2 4136192.168.223.139 192.168.223.139 UH 0 lan0 4136198.147.143.37 155.90.35.130 UGH 0 lan2:1 0165.79.232.18 155.90.35.139 UH 0 lan2:1 0172.17.101.142 155.90.35.130 UGH 0 lan2:1 0172.17.101.143 155.90.35.130 UGH 0 lan2:1 0192.168.223.128 192.168.223.139 U 2 lan0 1500192.168.229.128 192.168.229.139 U 3 lan3 1500192.168.229.128 192.168.229.138 U 3 lan3:1 1500155.90.119.128 155.90.119.139 U 2 lan1 1500155.90.35.128 155.90.35.138 U 3 lan2 1500155.90.35.128 155.90.35.139 U 3 lan2:1 1500155.90.0.0 155.90.119.130 UG 0 lan1 010.0.0.0 155.90.119.130 UG 0 lan1 0127.0.0.0 127.0.0.1 U 0 lo0 0default 155.90.119.130 UG 0 lan1 0
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:42 AM
11-23-2004 03:42 AM
Solution
Manually compare the output of this command to the /etc/rc.config.d/netconf file.
It should all tie back in directly.
You need to understand the concept that if the ip address is 192.168.0.10 and the netmaks is 255.255.255.0 the network 192.168.0
Knowing this you can tie back all the entries in this output back to the netconf file.
I know no way of automating this, its a sysadmin eyeball to screen task.
SEP
It should all tie back in directly.
You need to understand the concept that if the ip address is 192.168.0.10 and the netmaks is 255.255.255.0 the network 192.168.0
Knowing this you can tie back all the entries in this output back to the netconf file.
I know no way of automating this, its a sysadmin eyeball to screen task.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:49 AM
11-23-2004 03:49 AM
Re: netstat vs netconf file ??
I believe the static routes are stored in /etc/rc.config.d/netconf. This is very, very much a "look but don't touch" sort of file. The set_parms utility is the main update mechanism for this file. You can cat or pg or more the file and see if the routes are there, and then confirm by adding another static route via the "route" command, verify the netstat -rn output and then look in the file to see if the new route is there. We don't have static routes on our system, and I'm reluctant to play with something network oriented on a live box.
Hope this helps,
mark
Hope this helps,
mark
the future will be a lot like now, only later
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 06:31 AM
11-23-2004 06:31 AM
Re: netstat vs netconf file ??
thanks
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP