Please login or register. August 18, 2019, 10:10:48 PM

Author Topic: Changing the default route  (Read 43860 times)

0 Members and 1 Guest are viewing this topic.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1139
  • Karma: +0/-0
Re: Changing the default route
« Reply #10 on: November 12, 2006, 11:20:39 AM »
please post the output of
lsattr -El inet0

If it isnt in there, then I'll try to think of other locations.

And, what version of HACMP are you using?

If the information is in the ODM standard editting is not recommended.

mahdi

  • Jr. Member
  • **
  • Posts: 6
  • Karma: +0/-0
Re: Changing the default route
« Reply #11 on: November 13, 2006, 07:09:03 AM »
/ # lsattr -El inet0
hostname      core1                        Host Name                        True
gateway                                    Gateway                          True
route         net,-hopcount,0,,0,10.40.0.2 Route                            True
bootup_option no                           Serial Optical Network Interface True
rout6                                      FDDI Network Interface           True
authm         65536                        Authentication Methods           True


And HACMP Version 5.1

webmaster

  • Administrator
  • Jr. Member
  • *****
  • Posts: 5
  • Karma: +0/-0
Re: Changing the default route
« Reply #12 on: November 13, 2006, 11:19:00 AM »

route         net,-hopcount,0,,0,10.40.0.2 Route                            True

This line states that AIX has one default route, and the router address is 10.40.0.2

If, after a reboot, you have an extra route defined, you will need to check for programs and/or scripts that are being executed by /etc/inittab. Dont forget the programs started via the rc.d mechanism.

And, considering HACMP - verify the start script(s) of the applications, and also HACMP event customization.

JazzyG

  • New Member
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Changing the default route
« Reply #13 on: April 11, 2007, 03:44:42 PM »
The easiest way to change the default route is to do the following:

1. Use smitty route->Remove Static Route or issue the route -f to flush the routing table.

2. You should see output to the screen informing you that routes are being removed.

3. Then issue the netstat -rn command. You should not see the default in the routing table.

4. Issue the smitty mkroute command. This is pretty straight forward and it will it will add this default route to the ODM database and make it permanent even after a system reboot.

5. Issue another netstat -rn command, you should see your new default route.