- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Traceroute multiple interface
Operating System - HP-UX
1752626
Members
4818
Online
108788
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
тАО12-11-2009 09:32 PM
тАО12-11-2009 09:32 PM
Traceroute multiple interface
Hi all
I'm going to configure 2 NICs
Server has 2 lancards.
here is network info..
[rx2:/]netstat -ni
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 130.21.0.0 130.21.0.17 3824559 0 2519256 0 0
lo0 4136 127.0.0.0 127.0.0.1 307255 0 307255 0 0
lan5 1500 192.168.10.0 192.168.10.2 17964 0 16453 0 0
[rx2:/]netstat -nr
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
130.21.0.17 130.21.0.17 UH 0 lan0 4136
192.168.10.2 192.168.10.2 UH 0 lan5 4136
192.168.10.0 192.168.10.2 U 2 lan5 1500
130.21.0.0 130.21.0.17 U 2 lan0 1500
192.168.10.0 192.168.10.254 UG 0 lan5 0
127.0.0.0 127.0.0.1 U 0 lo0 0
default 130.21.0.61 UG 0 lan0 0
When I used to traceroute 192.168.10.254, I'm getting back like below.
[rx2:/]traceroute 192.168.10.254
traceroute: Warning: Multiple interfaces found; using 130.21.0.17 @ lan0
traceroute to 192.168.10.254 (192.168.10.254), 30 hops max, 40 byte packets
I wonder that obviously ip 192.168.10.254 is routed on @lan5, but it responds from @lan0
I think it should respond from @lan5. am I thinking wrong?
how can I get back from @lan5 whenever I traceroute 192.168.10.x network interface @lan5
I'm going to configure 2 NICs
Server has 2 lancards.
here is network info..
[rx2:/]netstat -ni
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 130.21.0.0 130.21.0.17 3824559 0 2519256 0 0
lo0 4136 127.0.0.0 127.0.0.1 307255 0 307255 0 0
lan5 1500 192.168.10.0 192.168.10.2 17964 0 16453 0 0
[rx2:/]netstat -nr
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
130.21.0.17 130.21.0.17 UH 0 lan0 4136
192.168.10.2 192.168.10.2 UH 0 lan5 4136
192.168.10.0 192.168.10.2 U 2 lan5 1500
130.21.0.0 130.21.0.17 U 2 lan0 1500
192.168.10.0 192.168.10.254 UG 0 lan5 0
127.0.0.0 127.0.0.1 U 0 lo0 0
default 130.21.0.61 UG 0 lan0 0
When I used to traceroute 192.168.10.254, I'm getting back like below.
[rx2:/]traceroute 192.168.10.254
traceroute: Warning: Multiple interfaces found; using 130.21.0.17 @ lan0
traceroute to 192.168.10.254 (192.168.10.254), 30 hops max, 40 byte packets
I wonder that obviously ip 192.168.10.254 is routed on @lan5, but it responds from @lan0
I think it should respond from @lan5. am I thinking wrong?
how can I get back from @lan5 whenever I traceroute 192.168.10.x network interface @lan5
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 10:09 PM
тАО12-11-2009 10:09 PM
Re: Traceroute multiple interface
man traceroute
Look for "multi".
Look for "multi".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2009 08:47 AM
тАО12-12-2009 08:47 AM
Re: Traceroute multiple interface
use -s as the source IP address:
man traceroute
-s addr Use the IPv4 or IPv6 address addr (which usually is given
as an IPv4/IPv6 number, not a hostname) as the source
address in outgoing probe packets. On hosts with more
than one IPv4/IPv6 address, this option can be used to
force the source address to be something other than the
IPv4/IPv6 address of the interface the probe packet is
sent on. If the IPv4/IPv6 address is not one of this
machine's interface addresses, an error is returned and
nothing is sent. (See the -i flag for another way to do
this.)
Regards
sujit
man traceroute
-s addr Use the IPv4 or IPv6 address addr (which usually is given
as an IPv4/IPv6 number, not a hostname) as the source
address in outgoing probe packets. On hosts with more
than one IPv4/IPv6 address, this option can be used to
force the source address to be something other than the
IPv4/IPv6 address of the interface the probe packet is
sent on. If the IPv4/IPv6 address is not one of this
machine's interface addresses, an error is returned and
nothing is sent. (See the -i flag for another way to do
this.)
Regards
sujit
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