- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- traceroute trying to use backup lan instead of pri...
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
05-21-2004 12:32 AM
05-21-2004 12:32 AM
traceroute trying to use backup lan instead of primary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 12:36 AM
05-21-2004 12:36 AM
Re: traceroute trying to use backup lan instead of primary
You change these with the "route" command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 12:40 AM
05-21-2004 12:40 AM
Re: traceroute trying to use backup lan instead of primary
traceroute -i lan0 destination
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 12:43 AM
05-21-2004 12:43 AM
Re: traceroute trying to use backup lan instead of primary
i.e.:
1.2.3.4 bla.blub.com bla
5.6.7.8 bla.blub.com bla
just switch these entries so that the 5.6.7.8 will be the first and any IP access will try that first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 12:48 AM
05-21-2004 12:48 AM
Re: traceroute trying to use backup lan instead of primary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 01:01 AM
05-21-2004 01:01 AM
Re: traceroute trying to use backup lan instead of primary
If you want a specific host to be accessed via a different lan, add a new route for it that explicitly says which interface. However, it will need to appear before the general route for that network. So, delete your gigabit route to the target network, add a specific host route for the host you want to traceroute to and then add your gigabit route back in again.
I imagine that doing this is going to cause you more problems than its worth though. What is wrong with specifying the interface on teh command line?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 01:11 AM
05-21-2004 01:11 AM
Re: traceroute trying to use backup lan instead of primary
It's not a problem to specify the interface on command line. I was just concerned that regular network activity could be affected if packets are possibly trying to go out over lan1 instead of lan0. Is it possible that could happen? Everything is working okay, but I just noticed that when I ran the traceroute (before I found I had the option to do a -i), it was trying to use lan1. Sorry about my lack of network knowledge.
Vicki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 01:19 AM
05-21-2004 01:19 AM
Re: traceroute trying to use backup lan instead of primary
If users should be going down the gigabit interface, then remove the other route with "route". It might be helpful to post the output of you "netstat -rn"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 01:21 AM
05-21-2004 01:21 AM
Re: traceroute trying to use backup lan instead of primary
# ioscan -fnC lan
Check the H/w paths. I think your gigabit is lan0 and what you are saying 100baseT could be a Management LAN.
Does your above output list both the cards. If i am right then it should only list the Gigabit Card and not that 100baseT card.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 01:42 AM
05-21-2004 01:42 AM
Re: traceroute trying to use backup lan instead of primary
Vicki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 01:44 AM
05-21-2004 01:44 AM
Re: traceroute trying to use backup lan instead of primary
It seems your routing table is routing network traffic down the wrong interface card. Have a look at "netstat -rn" (not "-in" this time) and post it here if you can.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 01:46 AM
05-21-2004 01:46 AM
Re: traceroute trying to use backup lan instead of primary
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
170.126.4.47 170.126.4.47 UH 0 lan0 4136
192.168.0.52 192.168.0.52 UH 0 lan1 4136
192.168.0.0 192.168.0.52 U 2 lan1 1500
170.126.0.0 170.126.4.47 U 2 lan0 1500
default 170.126.1.1 UG 0 lan0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 01:52 AM
05-21-2004 01:52 AM
Re: traceroute trying to use backup lan instead of primary
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
170.126.4.47 170.126.4.47 UH 0 lan0 4136
192.168.0.52 192.168.0.52 UH 0 lan1 4136
192.168.0.0 192.168.0.52 U 2 lan1 1500
170.126.0.0 170.126.4.47 U 2 lan0 1500
default 170.126.1.1 UG 0 lan0 0
Ok, If your netmask is 255.255.0.0 for each interface then any traffic going to the 192.168 network should be going through lan1.
Is this what you would expect?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 01:59 AM
05-21-2004 01:59 AM
Re: traceroute trying to use backup lan instead of primary
That is what I would expect. My netmasks are 255.255.248.0 for lan0 and 255.255.255 for lan1.
Vicki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 02:03 AM
05-21-2004 02:03 AM
Re: traceroute trying to use backup lan instead of primary
Warning: Multiple interfaces found; using 192.168.0.52 @ lan1.
I would have thought if I were doing a traceroute to a 170 address, traceroute would have used lan0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 02:08 AM
05-21-2004 02:08 AM
Re: traceroute trying to use backup lan instead of primary
ROUTE_DESTINATION[1]=default
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=170.126.1.1
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 02:19 AM
05-21-2004 02:19 AM
Re: traceroute trying to use backup lan instead of primary
Is my problem that the broadcast is specified for lan1 as the 192 network and it's not specified for lan0?
Vicki
INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="170.126.4.47"
SUBNET_MASK[0]=255.255.248.0
ROUTE_GATEWAY[0]="170.126.1.1"
ROUTE_COUNT[0]="1"
ROUTE_DESTINATION[0]="default"
INTERFACE_NAME[1]="lan1"
IP_ADDRESS[1]="192.168.0.52"
SUBNET_MASK[1]="0xfffff800"
BROADCAST_ADDRESS[1]="192.168.0.255"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 02:22 AM
05-21-2004 02:22 AM
Re: traceroute trying to use backup lan instead of primary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 02:25 AM
05-21-2004 02:25 AM
Re: traceroute trying to use backup lan instead of primary
SUBNET_MASK[1]="0xfffff800" to
SUBNET_MASK[1]=255.255.248.0
Then do
/sbin/init.d/net stop
/sbin/init.d/net stop
Hope that works.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 02:27 AM
05-21-2004 02:27 AM
Re: traceroute trying to use backup lan instead of primary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 02:28 AM
05-21-2004 02:28 AM
Re: traceroute trying to use backup lan instead of primary
Secondly Broadcast address is decided by your subnet mask and you don't have to worry about it.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 03:23 AM
05-21-2004 03:23 AM
Re: traceroute trying to use backup lan instead of primary
ROUTE_MASK[0]="0.0.0.0"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 03:33 AM
05-21-2004 03:33 AM
Re: traceroute trying to use backup lan instead of primary
I also tried changing the subnet as suggested and it made no difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 03:37 AM
05-21-2004 03:37 AM
Re: traceroute trying to use backup lan instead of primary
Dest/Netmask Gateway Flags Refs Interface Pmtu
127.0.0.1/255.255.255.255 127.0.0.1 UH 0 lo0 4136
170.126.4.47/255.255.255.255 170.126.4.47 UH 0 lan0 4136
192.168.0.52/255.255.255.255 192.168.0.52 UH 0 lan1 4136
192.168.0.0/255.255.255.0 192.168.0.52 U 2 lan1 1500
170.126.0.0/255.255.248.0 170.126.4.47 U 2 lan0 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 lo0 0
default/0.0.0.0 170.126.1.1 UG 0 lan0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2004 03:44 AM
05-21-2004 03:44 AM
Re: traceroute trying to use backup lan instead of primary
looking at your routing table, you have a route to 192.168.x.x net. I am not sure if you can specify such a network. As Mark indicated, it did not sound kosher to me.
do you actually have devices on this subnet with 0 (zero) on the 3rd octet of the IP address ?
UNIX because I majored in cryptology...