The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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
Help with Default Gateway bbbngowc AIX 7 02-20-2009 02:00 AM
default gateway in unix? smcg IP Networking 3 05-04-2005 08:02 AM
How can I change the default gateway? Lestat SUN Solaris 5 03-28-2005 07:03 PM
How to add another default gateway salhoub HP-UX 3 03-28-2004 12:55 PM
Free BSD 5.1 & default gateway SRP UNIX for Dummies Questions & Answers 1 11-02-2003 06:27 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-29-2009
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 350
remove default gateway on ODM

Hi All,

I remove the default gateway by using a command line but I need also to remove it from ODM so that reboot will not trigger it back.

How do I remove it from ODM of AIX 5.3?

Thanks for any comment you may add.
  #2 (permalink)  
Old 06-29-2009
borek borek is offline
Registered User
  
 

Join Date: Dec 2008
Posts: 26
From man ifconfig :

Tip: Parameters that you set using the ifconfig command are lost the next time you restart your system. Use the chdev command to change the ODM database for each interface to make parameter changes permanent. Use the lsdev -E -l [interface] command to view the interface attributes and use the chdev -l [interface] -a [attribute=value] command to change the attribute. For example:
lsattr -E -l en0
chdev -l en0 -a tcp_sendspace=65536


so :

lsattr -El inet0
chdev -l inet0 -a delroute=[]


btw, the easiest way is smitty route
  #3 (permalink)  
Old 06-29-2009
filosophizer filosophizer is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 113
yes, the fastest and easiest way to remove default gateway from ODM is
smitty route

or do the following steps

1) Check the default gateway
# netstat -Crn

2) go to smitty tcpip
--> further configuration --> static routes --> Flush route (last option)
there are four options: make all the options yes yes and hit enter

3) go back and check if it has been flushed or not
netstat -Crn
  #4 (permalink)  
Old 06-29-2009
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 350
Is that safe to do online? I mean, is there going to be some kind of interruption to the OS and application?
  #5 (permalink)  
Old 06-30-2009
filosophizer filosophizer is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 113
it depends on the application. O/S doesn't have any relation with network Gateway.

Gateway is for routing packets from one segment ( Subnet ) to another.

for example:

if my AIX IP Address is configured 172.16.100.169 and I want to reach 10.10.10.10

then my gateway (whatever IP address given by network admin) should know how to reach 10.10.10.10

that's all.
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0