- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Traceroute question
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
03-29-2008 03:03 AM
03-29-2008 03:03 AM
I have an application that need to reach its database server on the same network, but seems when route to database sides, it use not the correct interface (should be lan0 with server IP).
Traceroute inexplicably use the LAN that I use for my MC/SG heartbeat. It's clearly not going to get to the other server that way! (192.168.*.*)
Is there any way to force using a specific lan card?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2008 06:02 AM
03-29-2008 06:02 AM
Re: Traceroute question
involved here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2008 06:25 AM
03-29-2008 06:25 AM
Re: Traceroute question
I am working on cluster environment,these are my address:
#Hosts
10.110.60.66 hydra
10.110.60.65 medusa
#Heartbeat
192.168.0.2 hydra_hb
192.168.0.1 medusa_hb
#Packages
10.110.10.50 anagrafe
10.110.10.51 contabile
10.110.10.52 amministrazione
10.110.10.53 civile
This is the simulation about our problem:
root@medusa /# traceroute 10.110.100.11
traceroute: Warning: Multiple interfaces found; using 10.110.10.51 @ lan0:1
traceroute to 10.110.100.11 (10.110.100.11), 30 hops max, 40 byte packets
1 10.110.100.11 (10.110.100.11) 0.507 ms 0.079 ms 0.073 ms
root@medusa /# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0:1 1500 10.110.0.0 10.110.10.51 3 0 0 0 0
lan2 1500 192.168.0.0 192.168.0.1 26140 0 28592 0 0
lan1* 1500 none none 0 0 0 0 0
lan0:2 1500 10.110.0.0 10.110.10.52 39684 0 36722 0 0
lan0 1500 10.110.0.0 10.110.60.65 1222928 0 894210 0 0
lo0 4136 127.0.0.0 127.0.0.1 128316 0 128316 0 0
root@medusa /# ifconfig lan0
lan0: flags=1843
inet 10.110.60.65 netmask ffff0000 broadcast 10.110.255.255
It is using Package 's IP, and if the packages are down it use Heartbeat IP.I would like to force it using host IP, for example 10.110.60.65 .
Thanks.
Fabrizio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2008 08:15 AM
03-29-2008 08:15 AM
Re: Traceroute question
netstat -rn
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2008 06:12 PM
03-29-2008 06:12 PM
Re: Traceroute question
a) "...I have an application that need to reach its database server on the same network..."
Since you're using MC/SG you'll have to work at two levels using the 'cmmodnet' command and the 'ifalias' command.
Verify that
cmmodnet -a -i ip subnet, for example,
cmmodnet -a -i 15.13.169.16 15.13.143
...is the same order as /etc/rc.config.d/netconf.
Use 'netstat -in'.
b) Forcing traceeroute "...Is there any way to force using a specific lan card?...".
'traceroute -s ip.address'
-s source_addr
Use the following IP address (which must be given as an IP
number, not a hostname) as the source address in outgoing probe
packets. On hosts with more than one IP address, this option
can be used to force the source address to be something other
than the IP address of the interface the probe packet is sent
on. If the IP address is not one of this machine's interface
addresses, an error is returned and nothing is sent.
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/traceroute-991603/man.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2008 12:23 AM
03-30-2008 12:23 AM
Re: Traceroute question
Whenever using HP-UX traceroute on a server with multiple NICs, *always* use the -i option to explicitly select the correct interface to test.
A similar problem is discussed in this thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1171990
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2008 01:57 AM
03-30-2008 01:57 AM
Re: Traceroute question
Now i am not to the customer, and i can't provide you out of command (for example netstat as suggested).
My focus is not to use traceroute but to set globally on the system using lan0 (primary IP) to "go out".
About cluster, it execute cmmodnet -a -i with virtual ip correctly during packages startup.
Thanks a Lot.
Fabrizio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2008 03:02 AM