Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Static Routes being changed 2

Status
Not open for further replies.

paulywog

IS-IT--Management
Jun 26, 2001
24
0
0
US
Here's scenario. AIX Server, Cisco 3600 router connecting to Cisco 1600 routers through 56K pt. to pt. connections in 9 offices. Added a DSL line and Sonicwall firewall. Next day noticed that a route was added to AIX routing table that directed the network address to one of the offices through the sonicwall instead of the Cisco router. Deleted the route and okay until the next morning when the user logs in from that location again. So we added static routes with route add command. This route was changed from our default route - Cisco 3600 to the sonicwall. They are having trouble with their 56K, but how do we tell the AIX server not to change the route. If the Cisco 3600 can't direct it, don't go anywhere else? Is there a command we can use so that the static route we enter will not be changed and will not go anywhere else?

Thanks much.
 
Try doing it via "smit tcpip"'s add static route instead. That seems to add the route permanently to the ODM database. (or something in that line, don't shoot me for any loose terminology please!)

Good luck
Chris IBM Certified Specialist - MQSeries
 
What "aixmurderer" says is correct. Doing a route add from the command line is transitory and won't remain across reboots. You need to add it through smit to update the ODM to make it a permanent change.

If you don't reboot overnight, then do you perhaps have the routed daemon running on the RS6000? If so, it may be that one of your routers is using RIP to inform the RS6000 of a better route from one host to another, which would update the routing table on the RS6000.

I can probably go into more detail for you after a couple of cups of coffee..

HTH LHLTech

IBM Certified Specialist - AIX System Support
Halfway through CATE exams!
 
A note on cloned routes also...default is on...you might consider checking
to see that it is turned off?

Cloning routes in 4.3.3
add to rc.net also......They need to be before /usr/lib/methods/definet.
#no -o tcp_pmtu_discover=0
#no -o udp_pmtu_discover=0
. This values are set to 1 by default in AIX 4.3.3.
Which means clone routes....if you don't want cloned
routes change to zero.

Here is where it is (near the bottom) in the rc.net file:
at the very bottom..... /usr/sbin/no -o extendednetstats=0 >>/dev/null
2>&1
if [ -f /usr/sbin/no ] ; then
/usr/sbin/no -o tcp_sendspace=65536
/usr/sbin/no -o tcp_recvspace=65536
/usr/sbin/no -o ipforwarding=1
/usr/sbin/no -o tcp_pmtu_discover=0
/usr/sbin/no -o udp_pmtu_discover=0
fi
 
Most of the time AIX is set to follow redirects from other routers.

The command to ingnore the other routers:

no -o ipignoreredirects=1

the command, like other "no -o" commands are reseted when you reboot, If you want you can put it in /etc/rc.net.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top