change ip in aix not using smitty


 
Thread Tools Search this Thread
Operating Systems AIX change ip in aix not using smitty
# 8  
Old 02-19-2008
>where are these so called config files in aix? All i know was linux,solaris and HP.

Sprellarinn has just told you that, and this is the main difference with the 2 other OS you mentionned: AIX uses an ODM stored in NVRAM...
You ca go and modify the data in the ODM if you wish, but my experience is a corrupted ODM can be HELL...
# 9  
Old 02-19-2008
Quote:
Originally Posted by vbe
AIX uses an ODM stored in NVRAM...

Sorry, but: no. The ODM is stored not in NVRAM, but in the directories /etc/objrepos and /usr/lib/objrepos for the standard AIX part, some middleware extensions have their own ODM, for example HACMP in /usr/es/sbin/cluster/etc/objrepos and /etc/es/objrepos.

To clear the confusion about lasting/nonlasting IP changes up:

To change the IP adress until the next reboot use "ifconfig". To change routing accordingly in the same non-permanent way use "route delete ..." and "route add ...".

To change IP adressses permanently use "chdev", as Sprellarinn has said. To change the routing accordingly you will have to use "chdev ... inet0" as the routes are stored in the inet0 pseudodevice.

I hope this helps.

bakunin
# 10  
Old 02-20-2008
ifconfig -a | grep inet
inet 10.118.5.43 netmask 0xffffff00 broadcast 10.118.5.255 inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255

Could you please help me, how to change IP permanently using command line.

output:

inet 10.118.6.43 netmask 0xffffff00 broadcast 10.118.6.255
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
# 11  
Old 02-24-2008
Use the "chdev" command on the device en0. You can find out how to use "chdev" by issuing "man chdev" on the commandline and you can get the names of the attributes to change from the output of "lsattr -El en0".

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Smitty

Hi All, Im new in aix, anyone can advice is there any way to understand smitty ?:confused: Thanks. TCP. (4 Replies)
Discussion started by: tcp01315
4 Replies

2. AIX

Usage of smitty alt_mksysb

Hello, in which situations should I use smitty alt_mksysb ? What is the general purpose of this tool. Thanks for help, p (1 Reply)
Discussion started by: pitmod
1 Replies

3. AIX

Settings change in aix

Hi Can any one tell the procedure to change the maxpout and minpout settings on AIX (1 Reply)
Discussion started by: newtoaixos
1 Replies

4. AIX

Cannot create user using SMITTY

i'm using smitty to create user...what happen is it prompt me "failed" with error 3004-703 Check "/etc/security/login.cfg" file. 3004-691 Error changing "shell". 3004-703 Check "/usr/lib/security/mkuser.default" file. 3004-721 Could not create user. 3004-703 Check... (13 Replies)
Discussion started by: thecobra151
13 Replies

5. AIX

smitty mktcpip --> START Now

In "smitty mktcpip", the last item you can change is the "START Now". Does any one change this to "yes" when setting the IP? If so, what agrument would you use to convice others to use it also? (1 Reply)
Discussion started by: kah00na
1 Replies

6. AIX

Sudo and smitty

Hello everyone I have a question. Its possible to type smitty mksysb using sudo ? I have a partition and install sudo I create a user for use sudo. I make a test with sudo and command line for the mksysb and its ok sudo mksysb -i /dev/rmt0 and I can make my mksysb. My question... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

7. HP-UX

command that is equivalent to smitty in IBM.

i need to change OS level parameter like number of user how to change system environment variable ??? equivalent to smitty in IBM (1 Reply)
Discussion started by: oracle_rajesh_k
1 Replies

8. AIX

Question about Smitty Fs (backup an F.S)

hi all:cool: was just wonderin..by the way im new here..hi all:D...was just wonderin if i smitty fs backup a file system to tape if the permissions and ownership of the files and dir are retained?:confused: o.s is AIX 5.3L thanks all (12 Replies)
Discussion started by: redmanshogun
12 Replies

9. AIX

mksysb with smitty

Hello I need to make a mksysb, I try with smitty but I get the next message 0512-017 mksysb: Cannot write to the device /dev/rmt3. Either write protected or in use. My tape are ready to write ( dont get protection) I use the clean tape and I try with other tapes but I... (6 Replies)
Discussion started by: lo-lp-kl
6 Replies

10. AIX

Interesting SMITTY behavior

I have a couple systems that are acting strangely. In 'smitty tcpip' everything is displayed twice. Even going into the submenus (like minimum configuration and startup) everything is displayed twice. Has anyone seen this? Know how to fix it? Thanks (3 Replies)
Discussion started by: pmmill2
3 Replies
Login or Register to Ask a Question