The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Route Add sudhir_shet SUN Solaris 3 04-24-2008 06:44 AM
Route add probleme waterboy IP Networking 5 08-17-2007 08:20 AM
Add Route on HP-UX v10.x, help. efrenba HP-UX 4 04-06-2007 05:26 AM
SOLARIS does not route bong02 SUN Solaris 4 06-21-2006 12:58 AM
Do I need to add a route?? agoodrich IP Networking 6 07-05-2005 08:15 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-30-2003
Registered User
 

Join Date: Jul 2002
Location: Oman
Posts: 44
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
Reply With Quote
Forum Sponsor
  #2  
Old 10-01-2003
davidg's Avatar
Registered User
 

Join Date: Jul 2003
Location: Holland
Posts: 207
If it works fine, what is your problem then?
What would you like us to help you with?

Regs David
Reply With Quote
  #3  
Old 10-01-2003
Registered User
 

Join Date: Jul 2002
Location: Oman
Posts: 44
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
Reply With Quote
  #4  
Old 10-01-2003
davidg's Avatar
Registered User
 

Join Date: Jul 2003
Location: Holland
Posts: 207
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
Reply With Quote
  #5  
Old 10-01-2003
Registered User
 

Join Date: Jul 2002
Location: Oman
Posts: 44
# 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.
Reply With Quote
  #6  
Old 10-01-2003
davidg's Avatar
Registered User
 

Join Date: Jul 2003
Location: Holland
Posts: 207
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
Reply With Quote
  #7  
Old 10-04-2003
Registered User
 

Join Date: Jul 2002
Location: Oman
Posts: 44
added static route

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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0