- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Routing problems
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
04-04-2007 06:51 AM
04-04-2007 06:51 AM
Routing problems
I'm having the next trouble. I have the next subnets configured on my system.
192.168.1.95 255.255.255.192 lan1 PUBLIC
100.100.100.1 255.255.255.0 lan3 PRIVATE
10.10.10.1 255.255.255.0 lan5 PRIVATE
Gateway 192.168.1.65
Because of this I sometimes have correct connection to my server (from another net) and sometimes it doesn't answer.
when I did a traceroute to another host on my public subnet I got an error like this:
traceroute: Warning: Multiple interfaces found; using 100.100.100.1 @ lan3
How can I add a route all my traffic to 192.168.1.64 through lan1???
I want to add this even when I reboot my system, no only temporary.
I appreciate any suggestion.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2007 09:32 AM
04-04-2007 09:32 AM
Re: Routing problems
With multihomed you must tell traceroute which interface to use. ( traceroute -i lanx )
If you are on another subnet and accessing 192.168.1.95 does not always work I would look at the router itself. Perhaps the privates are not privates or the "other" subnet matches one of your privates. In this case the server will send the return packet out the private interface and to never-never land.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 08:05 PM
04-10-2007 08:05 PM
Re: Routing problems
As you have a router that you want to act as your default gateway it might be good to turn off IP forwarding on the HP-UX host using ndd. This of course provided that you don't want to use the HP-UX host to do any routing from the private networks to your public network and vice versa.
Best regards,
Harm Meijer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 09:16 PM
04-10-2007 09:16 PM
Re: Routing problems
does your question have a typing error ?
> Gateway 192.168.1.65
>
> How can I add a route all my traffic to 192.168.1.64 through lan1???
Which one is the router/gateway address ?
Please post the ouput of netstat -nrv .
Since you have a subnet mask of 255.255.255.192 which is uncommon have you checked that other interfaces on this subnet ( including the router) have the mask set correctly ?
Have you checked for duplicate ip addresses on the 192.168.1.xxx subnet ?
In order to make routes appear at boot time you need to edit /etc/rc.config.d/netconf
adding something like this
[x] is the instance number e.g.[0] for the script which reads conf file.
ROUTE_DESTINATION[x]="default"
ROUTE_MASK[x]="255.255.255.192"
ROUTE_GATEWAY[x]="192.168.1.65" or is it 64 ?
ROUTE_COUNT[x]="1"
ROUTE_ARGS[x]=""
mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2007 01:09 AM
04-29-2007 01:09 AM
Re: Routing problems
http://www.netfilter.org/
really good if you want to port forward, or perform source/destination NAT and masquerading
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2007 08:43 PM
04-29-2007 08:43 PM
Re: Routing problems
I would expect the system to automatically add routes for its configured networks, so let's see whether there is one for your 192.168.1.64 network on lan1..
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2007 09:03 PM
04-29-2007 09:03 PM
Re: Routing problems
> does your question have a typing error ?
The netmask of 255.255.255.192 means the IP 192.168.1.95 is in the network 192.168.1.64. The first IP in this network is 192.168.1.65 and the broadcast address would be 192.168.1.127.
Hence, no typo in the question: David has his default gateway on 192.168.1.65 and wants to have the traffic to the 192.168.1.64 -network- routed to the lan1 interface.
..if I understand correctly.
Hope that clarifies :)
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 05:29 AM
05-02-2007 05:29 AM
Re: Routing problems
It seems to be that only the traceroute wasn't working OK :S, and my traffic was correctly routed. I didn't have a correct connection to my server because of a user ...
He took that address by mistake...
Thanks everybody!!
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2007 05:42 AM
05-02-2007 05:42 AM
Re: Routing problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2007 02:39 PM
05-08-2007 02:39 PM
Re: Routing problems
You have Router ? Operating system not itself route , we can put ip for routing
give your netstat -rn out put from hp ux , ipconfig/all output fron windows pc ...
regards
noble