- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Connecting another network , Route ?
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
12-14-2005 05:59 AM
12-14-2005 05:59 AM
Connecting another network , Route ?
I have a hp-ux 11.11 system , having IP : 10.112.248.37 , And default gateway is specified.
We also have a network 10.112.243.0 , How to make this system to communicate in .243 network.( my ultimate onjective is to reach/ping this IP ,10.112.243.34 )
There is only one network card , in the system .
here is ifconfig output.
# ifconfig lan0
lan0: flags=843
inet 10.112.248.37 netmask ffffff00 broadcast 10.112.248.255
Also # netstat -rn
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
10.112.248.37 10.112.248.37 UH 0 lan0 4136
10.112.248.0 10.112.248.37 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 10.112.248.3 UG 0 lan0 0
Pls reply asap.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 06:08 AM
12-14-2005 06:08 AM
Re: Connecting another network , Route ?
Do you have any routers in the network. Just add to that router your IP address.
I thing you have only one card and the system's IP address is gateway.
You need to have either one more card or you have a network router to work in Layer 3. Where you configure both the networks.
Finally if you destination system 243 has 2 then use that as router instead of this server.
Cheers ...007
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 06:12 AM
12-14-2005 06:12 AM
Re: Connecting another network , Route ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 06:13 AM
12-14-2005 06:13 AM
Re: Connecting another network , Route ?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 06:13 AM
12-14-2005 06:13 AM
Re: Connecting another network , Route ?
If you have got a single network card then the only way I can see you can reach the network 10.112.243.0 from 10.112.248.0 will through a router. The router should have connections to both the networks.The default gateway for the server should be the address of the router.
e.g if router address is 10.112.248.5
delete existing default gateway
route delete -net default 10.112.248.3
add the new route
route add default 10.112.248.5
Regs,
Nad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 06:18 AM
12-14-2005 06:18 AM
Re: Connecting another network , Route ?
how to add a static route.
The IP 10.112.248.3 is belongs to the router on this network , and using for default gateway.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 06:26 AM
12-14-2005 06:26 AM
Re: Connecting another network , Route ?
use /etc/rc.config.d/netconf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 06:32 AM
12-14-2005 06:32 AM
Re: Connecting another network , Route ?
can you ping the network 10.112.243.0 from an other machine in network 10.112.248.0?
if there are two routers between the both networks try to add a route on your router (10.112.248.3) to the 10.112.243.0 network
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 07:28 AM
12-14-2005 07:28 AM
Re: Connecting another network , Route ?
route add net 10.112.243.0 netmask 255.255.255.0 10.112.243.1 1
To make it permanet, add to bottom of /etc/rc.config.d/netconf try:
ROUTE_DESTINATION[1]="net 10.112.243.0"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]="10.112.243.1"
ROUTE_COUNT[1]="0"
ROUTE_ARGS[1]=""
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 10:26 PM
12-14-2005 10:26 PM
Re: Connecting another network , Route ?
Default gateway addr is 10.112.248.3 ( router's ip addr ).
if your above router have connectivity with n/w 10.112.243.34 , then nothing to do.
because packets having ip addr other than 10.112.248.* , will forwarded to 10.112.248.3 , so it is router's responsibility to deliver the packets.
Whether you tried to ping this IP ?
if not , what is the error ?
REgds,
Guna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 12:48 AM
12-15-2005 12:48 AM
Re: Connecting another network , Route ?
Hi,
Execute this command,
#route add
usage: add destination [netmask mask] gateway [metric]
destination --> 10.112.243.0
gateway --> the router IP in the .248 network which connects to .243 network
NOW
try pinging to the other network.
Add the line in any rc scripts, so that it gets executed during every boot.
HtH,
Siva.