- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP8000 IP Routes
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
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
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-16-2004 11:05 PM
тАО05-16-2004 11:05 PM
we also have another network running on 192.168.157.*
We want to be able to set up a route so that traffic going to the 157 network goes thru the correct gateway and hits the correct network, rather than out into internet land as it is atm.
The netstat -rv command brings back the following :
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu PmtuTime
localhost/0xffffffff
localhost UH 0 342 lo0 4608
adconew/0xffffffff
localhost UH 2 37854 lo0 4608
192.168.153.61/0xffffffff
192.168.150.2 UGHD 0 735 lan0 1500
192.168.153.199/0xffffffff
192.168.150.2 UGHD 0 6 lan0 1500
192.168.153.200/0xffffffff
192.168.150.2 UGHD 0 267 lan0 1500
192.168.153.202/0xffffffff
192.168.150.2 UGHD 1 161 lan0 1500
192.168.154.30/0xffffffff
192.168.150.2 UGHD 0 40 lan0 1500
192.168.154.32/0xffffffff
192.168.150.2 UGHD 1 750 lan0 1500
192.168.154.55/0xffffffff
192.168.150.2 UGHD 1 884 lan0 1500
192.168.154.70/0xffffffff
192.168.150.2 UGHD 1 2292 lan0 1500
192.168.156.25/0xffffffff
192.168.150.2 UGHD 2 2091 lan0 1500
192.168.156.35/0xffffffff
192.168.150.2 UGHD 1 179 lan0 1500
192.168.156.54/0xffffffff
192.168.150.2 UGHD 2 2105 lan0 1500
192.168.156.88/0xffffffff
192.168.150.2 UGHD 1 2541 lan0 1500
192.168.156.105/0xffffffff
192.168.150.2 UGHD 1 17 lan0 1500
192.168.156.107/0xffffffff
192.168.150.2 UGHD 0 0 lan0 1500
192.168.156.114/0xffffffff
192.168.150.2 UGHD 2 2172 lan0 1500
192.168.156.117/0xffffffff
192.168.150.2 UGHD 4 3917 lan0 1500
192.168.156.118/0xffffffff
192.168.150.2 UGHD 3 2653 lan0 1500
192.168.156.120/0xffffffff
192.168.150.2 UGHD 0 3471 lan0 1500
192.168.156.121/0xffffffff
192.168.150.2 UGHD 1 409 lan0 1500
192.168.156.131/0xffffffff
192.168.150.2 UGHD 2 5940 lan0 1500
192.168.156.196/0xffffffff
192.168.150.2 UGHD 1 2244 lan0 1500
192.168.156.198/0xffffffff
192.168.150.2 UGHD 0 0 lan0 1500
default/0x00000000
192.168.150.1 UG 2 98118 lan0 1500
192.168.150/0xffffff00
adconew U 0 8757 lan0 1500
192.168.157/0xffffff00
192.168.150.14 U 0 34 lan0 1500
So far we have made changes to the file in rc.config.d but the route didnt appear.
we have used a route add host 192.168.157.1 192.168.150.14 1
command and the route appeared, but we still cannot ping anything on the 192.168.157 netework.
192.168.150.14 is a gateway to the 157 network.
anyhelp cheers
Andrew
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2004 11:15 PM
тАО05-16-2004 11:15 PM
Re: HP8000 IP Routes
if you want to ping the whole of the 192.168.157 network
you need to add something like
route add net 192.168.157.0 netmask 255.255.255.0 192.168.150.14 1
after giving the route add host command as mentioned in your query, are you able to ping the IP 192.168.157.1???
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2004 11:17 PM
тАО05-16-2004 11:17 PM
Re: HP8000 IP Routes
and if i doa traceroute to 192.168.157.1 its 1st hop is to 192.168.150.252 (another gw on our lan)
i woulda expected it to go to the 150.14 address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2004 11:18 PM
тАО05-16-2004 11:18 PM
Re: HP8000 IP Routes
an entry in the /etc/rc.config.d/netconf should look something like
ROUTE_DESTINATION[1]="192.168.157"
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]="192.168.150.14"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
are you able to ping the gateway....
what does traceroute 192.168.157.2 shows??
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2004 11:18 PM
тАО05-16-2004 11:18 PM
Re: HP8000 IP Routes
add net 192.168.157.0: gateway 192.168.150.14: entry in use
i havent managed to delete the current one either
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2004 11:22 PM
тАО05-16-2004 11:22 PM
Re: HP8000 IP Routes
ROUTE_MASK[5]="255.255.255.0"
ROUTE_GATEWAY[5]=192.168.150.14
ROUTE_COUNT[5]=1
ROUTE_ARGS[5]=""
is in the netconf file and the system has been rebooted since.
the tracertoute to 157.2 >
# traceroute 192.168.157.2
traceroute to 192.168.157.2 (192.168.157.2), 30 hops max, 20 byte packets
1 192.168.150.252 (192.168.150.252) 2 ms 2 ms 2 ms
2 192.168.150.252 (192.168.150.252) 3 ms * 3 ms
3 *
192.168.150.252 (192.168.150.252) 3 ms *
4 192.168.150.252 (192.168.150.252) 3 ms * 3 ms
5 *
192.168.150.252 (192.168.150.252) 3 ms *
6 192.168.150.252 (192.168.150.252) 3 ms * 3 ms
7 *
192.168.150.252 (192.168.150.252) 3 ms *
8 192.168.150.252 (192.168.150.252) 3 ms * 41 ms
9 *
192.168.150.252 (192.168.150.252) 4 ms *
10 192.168.150.252 (192.168.150.252) 3 ms * 3 ms
11 *
192.168.150.252 (192.168.150.252) 3 ms *
12 192.168.150.252 (192.168.150.252) 3 ms * 3 ms
13 *
192.168.150.252 (192.168.150.252) 3 ms *
14 192.168.150.252 (192.168.150.252) 3 ms * 3 ms
15 *
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2004 11:24 PM
тАО05-16-2004 11:24 PM
Re: HP8000 IP Routes
route delete 192.168.157.0 netmask 255.255.255.0 192.168.150.14 1
should delete the route for you..
regds
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2004 11:25 PM
тАО05-16-2004 11:25 PM
Re: HP8000 IP Routes
usage: delete destination [netmask mask] gateway
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2004 11:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2004 11:56 PM
тАО05-16-2004 11:56 PM
Re: HP8000 IP Routes
Many thanks!