- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to config a hpux server as a router
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-11-2003 10:06 PM
05-11-2003 10:06 PM
The question is, how to config the server as a router? So that I can access the private network through the server from my desktop.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2003 10:19 PM
05-11-2003 10:19 PM
Re: how to config a hpux server as a router
Well you can telnet to HP then telnet to the private network.:-) this may not be the answer you looking for.
HP to do routing ?.I don''t know.
regards mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2003 11:01 PM
05-11-2003 11:01 PM
Solution2.From your desktop point to the lan0 ip of the hpux server as the gateway to reach the private network
The routing table should have an entry like any access to private network should go via the lan0 of the hpux server.
i.e
C:>route add
Also make sure that ip_forwarding is enabled on the hpux server.
By default it is enabled for machine with two cards.
check using
#ndd -get /dev/ip ip_forwarding
Revert on the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 12:12 AM
05-12-2003 12:12 AM
Re: how to config a hpux server as a router
Configure and run gated.
In its simplest form, just add the line:
rip yes
to /etc/gated.conf.
Set GATED=1 in /etc/rc.config.d/netconf
and start the gated daemon.
Also see: man gated.conf
Editing the gated configuration file will allow you to configure it to only route from your machine to the test network, not the whole world.
It may consume a certain amount of cpu, depending on traffic.
Be aware of security considerations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 12:31 AM
05-12-2003 12:31 AM
Re: how to config a hpux server as a router
I have done all your suggestion, but it doesn't work.
Follows are my configurations,
=== hp server ===
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan3 1500 192.1.1.0 192.1.1.99 1558 0 2740 0 0
lan0 1500 172.18.0.0 172.18.1.114 9617064 0 84979 0 0
lo0 4136 127.0.0.0 127.0.0.1 2273 0 2273 0 0
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
172.18.1.114 172.18.1.114 UH 0 lan0 4136
192.1.1.99 192.1.1.99 UH 0 lan3 4136
192.1.1.0 192.1.1.99 U 2 lan3 1500
172.18.0.0 172.18.1.114 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 172.18.1.10 UG 0 lan0 0
# ndd -get /dev/ip ip_forwarding
2
=== desktop pc ===
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 172.18.1.10 172.18.18.55 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.18.0.0 255.255.0.0 172.18.18.55 172.18.18.55 1
172.18.18.55 255.255.255.255 127.0.0.1 127.0.0.1 1
172.18.255.255 255.255.255.255 172.18.18.55 172.18.18.55 1
192.1.1.0 255.255.255.0 172.18.1.114 172.18.18.55 2
224.0.0.0 224.0.0.0 172.18.18.55 172.18.18.55 1
255.255.255.255 255.255.255.255 172.18.18.55 172.18.18.55 1
Default Gateway: 172.18.1.10
Where,
the intranet network is 172.18.0.0/16, and the private network is 192.1.1.0/24
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 12:51 AM
05-12-2003 12:51 AM
Re: how to config a hpux server as a router
I have also tried to enable the gated to do the job, but there was no effect.
I can ping to 192.1.1.99 from my pc, which ip is 172.18.18.55. When I try to ping a ip in the private network, for example 192.1.1.100, the result is "time out".
It seems that the packet can reach the hp server, but not be forwarded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 01:25 AM
05-12-2003 01:25 AM
Re: how to config a hpux server as a router
C;>tracert -d 192.1.1.100
from 172.18.18.55
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 01:37 AM
05-12-2003 01:37 AM
Re: how to config a hpux server as a router
http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0xa69de7613948d5118fef0090279cd0f9,00.html
I think that your PC routes to the intermediate HP-UX server via the default gateway. Check this router setting also. The problem may be the routing between PC and HP-UX server for ultimate destinations on 192...
I assume that the final destination is up and running and pingable from the HP-UX server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 05:36 PM
05-12-2003 05:36 PM
Re: how to config a hpux server as a router
Thanks for your help. I have solved the problem now.
The problem exist in the private network while not in the hp server or my pc. I added the 192.1.1.99 as the gateway for 192.1.1.100 which was not set before.
Anyway, many thanks to you all.