LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 06-08-2004, 10:01 AM   #1
agallant
Member
 
Registered: Oct 2003
Location: D.C USA
Distribution: Redhat 9. Thinking about Slackware
Posts: 166

Rep: Reputation: 30
Aix


I know this is not linux but does any one know how to change the IP address in AIX?

-AG
 
Old 06-08-2004, 12:02 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
It just so happens that AIX has it's own forum, so here you go!
 
Old 06-08-2004, 04:10 PM   #3
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
In order to change the TCP/IP address in AIX, use the following "smitty" menus :
smitty tcpip
minimum configuration and startup
Enter system name, IP address, gateway, etc
That's all, no reboot needed.
 
Old 06-09-2004, 07:13 AM   #4
agallant
Member
 
Registered: Oct 2003
Location: D.C USA
Distribution: Redhat 9. Thinking about Slackware
Posts: 166

Original Poster
Rep: Reputation: 30
so is the syntax just "smitty tcpip" and i can edit the file from there?
 
Old 06-09-2004, 02:20 PM   #5
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
"smitty tcpip" gives you a menu.
In that menu you first choose your adapter (the only one you have, or the first one if you have a big computer),
then it gives you a page with all the settings, IP address etc, ou simpli go to the value you want to change, and that's all.
Hope this helped (HTH).
Zorba
 
Old 06-12-2004, 06:00 AM   #6
DriveMeCrazy
Member
 
Registered: Mar 2004
Posts: 70

Rep: Reputation: 15
Quote:
Originally posted by zorba4
"smitty tcpip" gives you a menu.
In that menu you first choose your adapter (the only one you have, or the first one if you have a big computer),
then it gives you a page with all the settings, IP address etc, ou simpli go to the value you want to change, and that's all.
Hope this helped (HTH).
Zorba
just one question, wats the diff between
smitty tcpip and smitty mktcpip?
 
Old 06-12-2004, 01:14 PM   #7
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
I use "smit tcpip". It's just a shortcut to "smit", "communication", etc...
I did'nt use "smit mktcpip" yet, just try both and see if you don't happen to arrive to the same menu...
 
Old 06-13-2004, 05:57 AM   #8
iainr
Member
 
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
To explain further, smit is the AIX System Management Tool, like YaST on SuSE or Mandrake ControlCentre, only it was around when Linux was still at version 1, possibly earlier.

In AIX, lots of things are command driven rather than file-edit driven. There's no file to edit to change the ip address, instead there's a command to run, and the easiest way for even experienced AIX folk to do most of this stuff is to use smit.

"smitty" brings up the command line version of smit, "smit" brings up the graphical version. They give you a main menu through which you can navigate to get to any option. It also has fastpaths like "tcpip" and "mktcpip" which jump to certain screens within the menu.

Smit is an open, cutomisable tool. You can add your own menus and commands into it. You can see which commands it is running (they get logged to a file ~/smit.log for handy inclusion in shell scripts).

The mktcpip fastpath takes you to the screen for setting up your basic networking and first network interface. The tcpip fastpath takes you to the preceding menu. The fastpath to take you right to the screen to change an existing IP address is chinet (so "smit chinet" or "smitty chinet" is the command).
 
Old 06-20-2004, 10:07 AM   #9
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
ifconfig works to, same syntax as in Linux. Keep in mind the NIC references are different. Use en0 for the first ethernet card, en1 for the second instead of eth0 and eth1.
 
Old 06-20-2004, 10:50 AM   #10
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
ifconfig will work until the next reboot. AIX uses a binary ODM database which must also be changed. There are a number of odm commands (odmadd odmchange odmcreate odmdelete odmdrop odmget odmshow) for listing and changed this database, but using smit is probably the best idea as it should change everything you need and make your system consistent.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
AIX on a PC? Mal495 AIX 7 11-26-2008 12:09 AM
Aix 5 Aix 5l ?! jamesps AIX 3 01-21-2005 11:55 AM
System hangs in update of AIX from 4.3.3 to AIX 5.2 jmurray67 AIX 2 07-25-2004 08:25 PM
C for AIX tbf01 AIX 4 04-27-2004 03:01 PM
Aix 4 dvong3 *BSD 1 09-05-2003 04:20 AM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 09:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration