HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- route and traceroute does not match
Operating System - HP-UX
1833758
Members
2931
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
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
04-11-2005 10:26 PM
04-11-2005 10:26 PM
route and traceroute does not match
This is part of may configuration of net:
/root >ifconfig lan0
lan0: flags=843
inet 10.10.2.19 netmask ffffff00 broadcast 10.10.2.255
/root >ifconfig lan2
lan2: flags=843
inet 10.10.1.19 netmask ffffff00 broadcast 10.10.1.255
And routes:
/root >netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 16424
10.10.1.19 10.10.1.19 UH 0 lan2 16424
10.10.2.19 10.10.2.19 UH 0 lan0 16424
192.168.244.101 10.10.2.2 UGH 0 lan0 0
10.10.2.0 10.10.2.19 U 2 lan0 1500
10.10.1.0 10.10.1.19 U 2 lan2 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 10.10.2.2 UG 0 lan0 0
default 10.10.1.2 UG 0 lan2 0
Can anybody tell me why if i make traceroute to address listed with routing table system does not use interface i wanted makeing static route?
Ex:
/etc >traceroute 192.168.244.101
traceroute: Warning: Multiple interfaces found; using 10.10.1.19 @ lan2
traceroute to 192.168.244.101 (192.168.244.101), 30 hops max, 40 byte packets
1 10.10.2.2 (10.10.2.2) 1.024 ms 1.551 ms 1.452 ms
/root >ifconfig lan0
lan0: flags=843
inet 10.10.2.19 netmask ffffff00 broadcast 10.10.2.255
/root >ifconfig lan2
lan2: flags=843
inet 10.10.1.19 netmask ffffff00 broadcast 10.10.1.255
And routes:
/root >netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 16424
10.10.1.19 10.10.1.19 UH 0 lan2 16424
10.10.2.19 10.10.2.19 UH 0 lan0 16424
192.168.244.101 10.10.2.2 UGH 0 lan0 0
10.10.2.0 10.10.2.19 U 2 lan0 1500
10.10.1.0 10.10.1.19 U 2 lan2 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 10.10.2.2 UG 0 lan0 0
default 10.10.1.2 UG 0 lan2 0
Can anybody tell me why if i make traceroute to address listed with routing table system does not use interface i wanted makeing static route?
Ex:
/etc >traceroute 192.168.244.101
traceroute: Warning: Multiple interfaces found; using 10.10.1.19 @ lan2
traceroute to 192.168.244.101 (192.168.244.101), 30 hops max, 40 byte packets
1 10.10.2.2 (10.10.2.2) 1.024 ms 1.551 ms 1.452 ms
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2005 11:17 PM
04-11-2005 11:17 PM
Re: route and traceroute does not match
Because you have two default routes.
from: http://docs.hp.com/en/B2355-60105/routing.7.html
There may still be multiple routing entries remaining. In that case, the IP packet is routed over the first entry displayed by netstat -r. Such multiple routes include:
* Two or more routes to a host via different gateways.
* Two or more routes to a network via different gateways.
* Two default routes.
live free or die
harry d brown jr
from: http://docs.hp.com/en/B2355-60105/routing.7.html
There may still be multiple routing entries remaining. In that case, the IP packet is routed over the first entry displayed by netstat -r. Such multiple routes include:
* Two or more routes to a host via different gateways.
* Two or more routes to a network via different gateways.
* Two default routes.
live free or die
harry d brown jr
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 01:30 AM
04-12-2005 01:30 AM
Re: route and traceroute does not match
Hi Andrzej,
Because you need to tell traceroute which NIC to go out. By default it will use the 1st I/F listed in a netstat -in command.
Use either the -i (I/F example lan2) or -s (IP address) in the command to start the trace on the proper I/F.
HTH,
Jeff
Because you need to tell traceroute which NIC to go out. By default it will use the 1st I/F listed in a netstat -in command.
Use either the -i (I/F example lan2) or -s (IP address) in the command to start the trace on the proper I/F.
HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2005 10:54 AM
04-17-2005 10:54 AM
Re: route and traceroute does not match
Traceroute is broken in HPUX. It no longer looks at the routing table like it should. As Jeff mentioned you have to tell traceroute which interface to use. Pretty dumb I think which is why I say it's broken. If you want to see how a packet really gets to a target destination then use
ping -o target.
Ron
ping -o target.
Ron
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