- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- netstat -rn / host ip address and network-id ??
Operating System - HP-UX
1754336
Members
2564
Online
108813
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
тАО03-26-2009 02:48 AM
тАО03-26-2009 02:48 AM
netstat -rn / host ip address and network-id ??
Why is the host-ip (192.168.0.38) and the network-id (192.168.0.0) in the "netstat -rn" visible? What is the use of this?
root@myhost [/]# netstat -rn
IPv4 Routing tables:
Destination Gateway Flags Refs Interface Pmtu
192.168.0.0 192.168.0.38 U 3 lan2 1500
default 192.168.0.1 UG 0 lan2 0
127.0.0.0 127.0.0.1 U 0 lo0 0
root@myhost [/]# netstat -rn
IPv4 Routing tables:
Destination Gateway Flags Refs Interface Pmtu
192.168.0.0 192.168.0.38 U 3 lan2 1500
default 192.168.0.1 UG 0 lan2 0
127.0.0.0 127.0.0.1 U 0 lo0 0
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 03:05 AM
тАО03-26-2009 03:05 AM
Re: netstat -rn / host ip address and network-id ??
Hi,
Command is designed to produce that results as simple as that.
See the explanation from man page..
-n --> Show network addresses as numbers. Normally, netstat interprets addresses and attempts to display them symbolically.
-r -->Show the routing tables.
>>>Why is the host-ip (192.168.0.38) and the network-id (192.168.0.0) in the "netstat -rn" visible? What is the use of this?<<<
It means, system will transfer all the packets having the destination of 192.168.0.0 via the ip 192.168.0.38.
As a example, if you try to ping 192.168.x.x series ip, system will send the packet through gateway 192.168.0.38 to reach the destination.
Hope you understand now.
Command is designed to produce that results as simple as that.
See the explanation from man page..
-n --> Show network addresses as numbers. Normally, netstat interprets addresses and attempts to display them symbolically.
-r -->Show the routing tables.
>>>Why is the host-ip (192.168.0.38) and the network-id (192.168.0.0) in the "netstat -rn" visible? What is the use of this?<<<
It means, system will transfer all the packets having the destination of 192.168.0.0 via the ip 192.168.0.38.
As a example, if you try to ping 192.168.x.x series ip, system will send the packet through gateway 192.168.0.38 to reach the destination.
Hope you understand now.
Best wishes,
Ganesh.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 03:15 AM
тАО03-26-2009 03:15 AM
Re: netstat -rn / host ip address and network-id ??
Thank you..
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP