- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unable to add route to server
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
08-14-2003 11:43 AM
08-14-2003 11:43 AM
route add 10.5.192.0 netmask 255.255.192.0 172.31.14.1 1
Recieving error saying netmask: bad value.
I'm not familiar with netmasks. can someone tell me what I'm not doing right ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 11:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 11:50 AM
08-14-2003 11:50 AM
Re: unable to add route to server
Well for one thing you're routing to a Class-A network 10.5.192 but using a Class-C netmask.
I think that route statement should look soemthing like:
route add net 10.5.192 netmask 255.0.0.0 172.31.14.1 1
But the netmask really depends on how they have the 10.5.192 network subnetted.
You should always use either "net" or "host" in the statement when routing to a subnet or a particular host respectively to to be explicit.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 11:52 AM
08-14-2003 11:52 AM
Re: unable to add route to server
netstat -nr
lanscan
and a ifconfig of all your nics
for x in 0 1 2 3
do
ifconfig lan$x
done
attach the output to your next reply.
thanks
Donny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 12:00 PM
08-14-2003 12:00 PM
Re: unable to add route to server
Thank you all for your assistance :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 12:02 PM
08-14-2003 12:02 PM
Re: unable to add route to server
So, 255.255.192.0 is a valid netmask
11111111.11111111.11000000.00000000
Look for a space in your command.This should be a valid netmask.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 12:07 PM
08-14-2003 12:07 PM
Re: unable to add route to server
You could also try the hex equiv. command
route add 10.5.192.0 netmask 0xffffc000 172.31.14.1 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 12:35 PM
08-14-2003 12:35 PM
Re: unable to add route to server
thank you all for your assistance :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 12:49 PM
08-14-2003 12:49 PM
Re: unable to add route to server
ndd -set /dev/ip ip_check_subnet_addr 0
It should now let you put in your route.
You should also kill it in /etc/rc.config.d/nddconf with
TRANSPORT_NAME[0]=ip
NDD_NAME[0]= ip_check_subnet_addr
NDD_VALUE[0]= 0
(Use the next higher integer in the brackets if you already have an entry in nddconf) If you don't you will lose it at the next reboot.
Your new route should also be entered in /etc/rc.config.d/netconf so that it remains after the next reboot.
ROUTE_DESTINATION[2]="10.5.192.0"
ROUTE_MASK[2]="255.255.192.0"
ROUTE_GATEWAY[2]="172.31.14.1"
ROUTE_COUNT[2]="1"
ROUTE_ARGS[2]=""
(again use the next higher integer in the brackets.)
Ron