![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Route Add | sudhir_shet | SUN Solaris | 3 | 04-24-2008 09:44 AM |
| Route add probleme | waterboy | IP Networking | 5 | 08-17-2007 11:20 AM |
| SOLARIS does not route | bong02 | SUN Solaris | 4 | 06-21-2006 03:58 AM |
| Do I need to add a route?? | agoodrich | IP Networking | 6 | 07-05-2005 11:15 PM |
| route add | cubicle^dweller | AIX | 6 | 10-05-2003 02:32 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi,
My H-UX box has the GW pointing to 10.10.10.1 and I need add it a new route pointing to 192.168.80.x with the GW 10.10.10.13 I tried with: #route add 192.168.80.2 255.255.255.255 10.10.10.13 but I get: add net 192.168.80.0: gateway 255.255.255.0: Network is unreachable I tried with #route add 192.168.80.2 10.10.10.13 netstar -rn: 192.168.80.2 10.10.10.13 UH 0 0 lan0 1500 but I can reach it, when I exec a traceroute 192.168.80.2, it uses the GW 10.10.10.1 instead of 10.10.10.13 What am I doing wrong? I've tried on WinXP and it works OK. Thanks.... |
|
||||
|
I tried with:
#route add net 192.168.80.0 netmask 255.255.255.0 10.10.10.13 11 and it works OK. My /etc/rc.config.d/netconf is: ------------------------------ HOSTNAME="mainsrv" OPERATING_SYSTEM=HP-UX LOOPBACK_ADDRESS=127.0.0.1 INTERFACE_NAME[0]="lan0" IP_ADDRESS[0]="10.10.10.7" SUBNET_MASK[0]="0xffffff00" BROADCAST_ADDRESS[0]="10.10.10.255" LANCONFIG_ARGS[0]="ether" DHCP_ENABLE[0]=0 ROUTE_DESTINATION[0]="default" ROUTE_MASK[0]="" ROUTE_GATEWAY[0]="10.10.10.1" ROUTE_COUNT[0]="1" ROUTE_ARGS[0]="" To add the route statically. Would it be valid? ROUTE_DESTINATION[1]="net 192.168.80.0" ROUTE_MASK[1]="255.255.255.0" ROUTE_GATEWAY[1]="10.10.10.13" ROUTE_COUNT[1]="1" ROUTE_ARGS[1]="" |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|