- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: routing
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
12-13-2003 08:15 AM
12-13-2003 08:15 AM
routing
Then add a new route .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2003 08:44 AM
12-13-2003 08:44 AM
Re: routing
default route is:
netstat -rn
adding a route is:
route add -host|-net destiny gateway ...
You can add either a single host or a net including a netmask.
look into the menu of both commands, this is how I remember it.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2003 08:47 AM
12-13-2003 08:47 AM
Re: routing
Check your default route with
netstat -rn | grep ^default
The easiest way to do it is via
set_parms addl_netwrk
Otherwise use the route command
man route
for more information
All changes are added automatically (if using set_parms) or manually (if using route command) to the below file
/etc/rc.config.d/netconf
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2003 01:19 PM
12-13-2003 01:19 PM
Re: routing
put the wanted routes into "/etc/rc.config.d/netconf", but take care to fill in the proper netmask for each and every route (well, except for the default route, it is not neccessary there).
Usually classless IP routing is done everywhere and hence the default netmasks would be all wrong!
So you'll need a whole paragraph for each and every route in "netconf"...
FWIW,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2003 08:43 PM
12-13-2003 08:43 PM
Re: routing
To check default route try:
netstat -rn
to add route use
route add
to check these command check
man netstat
man route
In the file /etc/rc.config.netconf you can put route to.
I suggest you to read man pages of these command
Succes
Idriz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2003 12:06 AM
12-14-2003 12:06 AM
Re: routing
traceroute A.B.C.D
(where A.B.C.D is an address on a network that you don't have a specific route for in netstat -rn). The first hop is going to be your default route. If it doesn't respond then it is not working.
You can also
ping default
which should also work. If it doesn't you may have other problems if you are running 11.0.
To change it with route you need to delete the old one and add a new:
route delete default oldrouteraddress
route add default newrouteraddress 1
note that this does not change the entry in /etc/rc.config.d/netconf so you must do this manually or it will go away when you reboot.
if running 11.0 (or maybe newer I'm not sure) there is an option in ndd which checks to see if a gateway is alive. If it does not respond to pings, it will be taken out of service after about 3 minutes.
Set it to 0 to make it stop:
ndd /dev/ip ip_ire_gw_probe_interval 0
Then delete and add the default route again.
then if that fixes your problem add the setting to /etc/rc.config.d/nddconf
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_ire_gw_probe_interval
NDD_VALUE[0]=0
so that it will stay after a reboot. (If you already have an entry then use the next available integer in the brackets.)
Ron