- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot add default route
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
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
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
тАО10-20-2003 06:52 PM
тАО10-20-2003 06:52 PM
Cannot add default route
I'm experiencing a rather odd problem, in my pov.
On my ux 11 box, i just can't add the default route!
Lan1 = 134.51.0.129/24
and then route add default 134.51.0.7 (my def. gw) just fails!!
Have a look: (netstat output is rather messed up, sorry..)
[root@haven /root] #ifconfig lan1
lan1: flags=1843
inet 134.51.0.129 netmask ffff0000 broadcast 134.51.255.255
[root@haven /root] #netstat -nrv
Routing tables
Dest/Netmask Gateway Flags Refs Use Interface Pmtu
127.0.0.1/255.255.255.255
127.0.0.1 UH 0 2221486 lo0 4136
134.51.0.129/255.255.255.255
134.51.0.129 UH 0 74985512 lan1 4136
134.51.0.0/255.255.0.0 134.51.0.129 U 2 0 lan1 1500
127.0.0.0/255.0.0.0 127.0.0.1 U 0 0 lo0 4136
[root@haven /root] #route add default 134.51.0.7
add net default: gateway 134.51.0.7: Network is unreachable
[root@haven /root] #
Anyone?
Thanx, Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 07:00 PM
тАО10-20-2003 07:00 PM
Re: Cannot add default route
You'll be able to add default gateway only if its reachable, means you can ping it. If you cant ping the gateway IP, then you cant add it as gateway.
First resolve to see you can ping that IP 134.51.0.7 and to do that see you'r subnet mask if that is valid one given by network administrator.
Second is give a metric count of 1 in the command then it will work.
Use
#route add default 134.51.0.7 1
Note "1" in the end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 07:06 PM
тАО10-20-2003 07:06 PM
Re: Cannot add default route
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 07:15 PM
тАО10-20-2003 07:15 PM
Re: Cannot add default route
If you are unable to ping,echeck whether using have plugged the network cable in the right port
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 07:21 PM
тАО10-20-2003 07:21 PM
Re: Cannot add default route
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 07:22 PM
тАО10-20-2003 07:22 PM
Re: Cannot add default route
the point being: It works..
That is: I'm now able to add the route.
I still can't ping the gw however, but that's mainly because the Net Admin (== me) disabled that on the gw (== firewall).
However, I'm not able to contact any host at the other side of the fw....
The route also became unavailible, but I disabled the dead_fgateway thinggy:
ndd -set /dev/ip ip_ire_gw_probe 0
and then deleted + re-added the def. route.
I'll tingle a bit on the fw. to see if I'll manage.
Thanx, Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2003 07:31 PM
тАО10-20-2003 07:31 PM
Re: Cannot add default route
Thanx for reminding me;-)
I also added this to nddconf:
#
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_ire_gw_probe
NDD_VALUE[0]=0
~
to make the ndd -set /dev/ip ipblablabla thing permanent.
Is this the corect way?
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 07:22 AM
тАО10-21-2003 07:22 AM
Re: Cannot add default route
Your nddconf entry is correct assuming you have no other entries. You might also want to edit /etc/rc.config.d/netconf to add your default route so it will be available after the next reboot. Don't forget the metric of 1.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 08:06 AM
тАО10-21-2003 08:06 AM
Re: Cannot add default route
# set_parms initial
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 08:12 AM
тАО10-21-2003 08:12 AM
Re: Cannot add default route
# linkloop MAC
Use arp -a to help see what the MAC's are, or, contact the network administrator.