route add

Hello ,

We have 3 rs/6000 server's running aix on our local network, so each time I try to ping one of these servers we get a "network is down" error , I've been instructed to use to route add command which is ...

#route add server.ip router.ip

after this the ping command works fine , i've checked /etc/hosts file for the ip's ... it seems ok . please advice .

Thanks

If it works fine, what is your problem then?
What would you like us to help you with?

Regs David

David it works fine only after the route add command is issued , it is'nt suppose to work like this rite ? I mean each time I have to telnet / ftp / ping the other host ... I need to issue the route add command. I dont mind doing this but I want to find out why this is happenening.

Thanks

Hi,

This normaly only changes after a reboot. Not on any other ocasion. Does your server reboot every day? (uptime)

If so, it should be added in your boot-up files.

Performing a netstat -rn, what does it say ??
Hope to get some info.

Regs David

# netstat -rn
Routing tables
Destination Gateway Flags Refcnt Use Interface
Netmasks:
(root node)
(0)0 ff00 0
(0)0 ffff ff00 0
(root node)

Route Tree for Protocol Family 2:
(root node)
default 199.5.2.1 UG 0 0 en0
127 127.0.0.1 U 1 1 lo0
192.x.x 192.x.x.abc U 1 0 et0 (old ip of the server)
199.x.x 199.x.x.def U 7 2149 en0 (current ip)
(root node)

Route Tree for Protocol Family 6:
(root node)
(root node)
#
David yes , the server reboots everyday . Thanks.

David yes , the server reboots everyday . Thanks.

OK, now we are talking. This shows you have not taken your new route in your start-up files. You can do this using smit or manualy editing your start-up files.
Using smit you can do it :

System Management --> Communications App and Serv. --> TCP/IP --> Further Config --> Add a Static Route

Good luck.

Regs David

David it doesnt seem to work ... I added the route and waited for the server to reboot .

I'll post what I added.

                            Add Static Route                         

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

                                                    [Entry Fields]   

Destination TYPE net (i changed this to host )

  • DESTINATION Address [] (the host ip)
    (dotted decimal or symbolic name)
  • GATEWAY Address [] (the host gateway ip)
    (dotted decimal or symbolic name)
  • METRIC (number of hops to destination gateway) [1] (default ? )
    Network MASK (dotted decimal) [] (left this blank)

Im sure this is incorrect. Waiting for your feedback.

Thanks
Mike