1833146 Members
3392 Online
110051 Solutions
New Discussion

Re: route not in table

 
SOLVED
Go to solution
steven Burgess_2
Honored Contributor

route not in table

Hi all

Quick question

Had an issue with a routing table out in dharan over the weekend. Site use x25 and frame relay. x25 soon to be switched off. Currently have the x25 as the default gateway (mainframe connectivity) and frame relay connection to our network via local router(soon to be default gateway)

The entry i have in netconf for the default and secondary route is

ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=xxx.xx.xxx.xx
ROUTE_COUNT[0]=0
ROUTE_ARGS[0]=""

ROUTE_DESTINATION[1]="net xxx.xx.xx"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=< xxx.xx.xx.x >
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""

The routes from netstat

default xxx.xx.xxx.xx U 0 114 x00

xxx.xx.xx.0 xxx.xx.xx.1 UG 2 1098 lan0

I had to logon to the server via the local .1 router to enable a connection to the box. On checking the routing table I had the above routes.

My initial feeling was to remove the route and re add, however i received the message

delete host xxx.xx.x.0: gateway xxx.xx.xx.1: not in table

route add xxx.xx.x.0 xxx.xx.xx.1
route in use

I removed the entry from the netconf file ran net start - route not removed. Attempted to remove manually , same reply. Route not in table. The only way I could remove the route was with a route -f (after re adding route to netconf) then a net start. That resolved the issue.

Any reason why this could happen ?

Thanks in advance

Steve
take your time and think things through
6 REPLIES 6
Stefan Farrelly
Honored Contributor
Solution

Re: route not in table


The manual route you add in as per netconf is a route add net

but in your message you said you tried to do a delete host gw and you got not in table. To remove it you should do the exact same as the route add net;
route delete net (dont use the hop)

Then you can try manually adding it back in again.

Im from Palmerston North, New Zealand, but somehow ended up in London...
steven Burgess_2
Honored Contributor

Re: route not in table

Stefan

Yet again, thanks mate.

(twonk)

Have removed the route, logged back on via the router.

net start to pick up the route, all ok. I wonder why i lost the route

Any ideas

Thanks

Steve
take your time and think things through
steven Burgess_2
Honored Contributor

Re: route not in table

Stefan

Have checked the rc log and found that after weekly reboot the default gateway was down, thus the rest of the net start script wasn't completed subsequently not adding the secondary route

Cheers

Steve
take your time and think things through
Paula J Frazer-Campbell
Honored Contributor

Re: route not in table

Steven

Why do you do a weekly reboot?

Hp-ux does not need it !!


Paula
If you can spell SysAdmin then you is one - anon
steven Burgess_2
Honored Contributor

Re: route not in table

Hi Paula

I new I would get a reply from the 'weekly reboot'

It's part of our housekeeping. Not sure who's decision it was to include it into the full backup schedule. Long time ago , probably before I even knew what a computer was (some still raise that question!!)

Regards

Steve
take your time and think things through
Paula J Frazer-Campbell
Honored Contributor

Re: route not in table

Steven

I kant even skpell komputar


LOL

Paula
If you can spell SysAdmin then you is one - anon