- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- configure hp9000 box 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
04-25-2005 07:11 PM
04-25-2005 07:11 PM
i have 3 servers (SV1,SV2,SV3)locate out side the firewall,ipaddresses start with 192.168.20.0
inside my LAN there are 8 more hpuxboxes. One box( HP1)this HP1 box has 2 network cards
1 goes to LAN 10.10.2.0 and 1 goes to outside the firewall:
ip 192.168.20.0 ....
subnet 255.255.255.0
gateway 192.168.20.254
iam using this box (HP1) to connect to SV1,SV2,SV3.
LAN:
ip 10.10.2.0...
subnet: 255.255.255.0
gateway:10.10.2.254
is there a way to configure HP1 as a router
so all my HP Boxes can see SV1,SV2,SV3 and vise vesa thru this box HP1.
Thanks for your help,
Tom
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 07:39 PM
04-25-2005 07:39 PM
Re: configure hp9000 box as a router
You may find these docs helpful:
http://www6.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fdocs.hp.com%2Fen%2FB2355-90777%2Findex.html&aid=SEARCH_MANUAL&pil=7&serStr=hp9000+configure+router
http://www6.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fdocs.hp.com%2Fen%2FT1298-90004%2Findex.html&aid=SEARCH_MANUAL&pil=1&serStr=hp9000+configure+router
Important note: You can't have two NIC cards on the same network. That will stop allnetwork traffic. Though both your addreses are class C, you need to take that into account.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 03:43 PM
04-26-2005 03:43 PM
Re: configure hp9000 box as a router
I will try to read this but if you have any shortcut instruction, I would really appreciated.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 07:29 PM
04-26-2005 07:29 PM
SolutionNot clearly undestand what addresses interfaces have in HP1 box. Let it be 192.168.0.1 and 10.10.2.1 (zero host address like 192.168.20.0 is invalid with such subnet mask, because it's the address of entire subnet)
1. Check if ip_forwarding is enabled on HP1.
#ndd -get /dev/ip ip_forwarding
(should return 2)
2. On every client machine in 192.168.20.0 subnet add route to subnet 10.10.2.0 through 192.168.0.1 interface in HP1 box (man route(1M)).
#route add 10.10.20.0 MASK 255.255.255.0 192.168.20.1
3. Similary on all clients in subnet 10.10.20.0
#route add 192.168.20.0 MASK 255.255.255.0 10.10.20.1
4. Try to ping addresses from one subnet to another.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 07:37 PM
04-26-2005 07:37 PM
Re: configure hp9000 box as a router
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 08:22 PM
04-26-2005 08:22 PM
Re: configure hp9000 box as a router
Thanks for your help,
this command route add, i use in windows ENV
but somehow could not think of it in UNIX.
it works well, I could ping from another server in my LAN (HP2) to SV1 and SV2 but not SV3
SV1 ip:192.168.20.1
SV2 ip:192.168.20.2
SV3 ip:192.168.20.4
sub:255.255.255.0
gateway:192.168.20.254
double checked ip, submask,gateway in SV3
and they are correct.
--another small problem:
when telnet 192.168.20.1
#telnet 192.168.20.1
Trying...
Connected to 192.168.20.1.
Escape character is '^]'.
Please type [Return] two times, to initialize telnet configuration
For HELP type "?"
>
type /
===JetDirect Telnet Configuration===
how can i make the telnet works.
Thanks a lot,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 10:10 PM
04-26-2005 10:10 PM
Re: configure hp9000 box as a router
What about telnet, everything seems alright. 192.168.20.1 is a JetDirect network printer, and when you try to connect this address, you get into its configuration menu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 02:50 AM
04-27-2005 02:50 AM
Re: configure hp9000 box as a router
here're the result of 2 boxes
the 1st one is ok the 2nd is not.
#netstat -rn
Routing tables (able to ping)
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
192.168.21.1 192.168.21.1 UH 0 lan1 4136
192.168.20.1 192.168.20.1 UH 0 lan0 4136
192.168.20.0 192.168.20.1 U 2 lan0 1500
192.168.21.0 192.168.21.1 U 2 lan1 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 192.168.21.254 UG 0 lan1 0
#netstat -rn
Routing tables (not able to print)
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
192.168.20.4 192.168.20.4 UH 0 lan0 4136
192.168.20.0 192.168.20.4 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 192.168.20.254 UG 0 lan0 0
regarding telnet.
192.168.20.1 is not a jetdirect, it is a unix box. I cannot get in
the previous screen was the one i've received when telnet to the unix box.
Regards,
Tom