The UNIX and Linux Forums  

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
How to set guest static IP satimis Ubuntu 3 08-02-2008 10:27 PM
Static Route Arun.Kakarla UNIX for Dummies Questions & Answers 2 07-17-2008 08:07 AM
static route ? chaandana IP Networking 3 07-05-2005 02:05 AM
Static wojtyla High Level Programming 6 02-25-2005 10:57 AM
Static IP google IP Networking 7 05-18-2003 07:33 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-08-2008
Registered User
 

Join Date: Feb 2008
Posts: 8
Static IP getting changed after 24 hours

Hi All,

We have an AIX 5.3 server where I have set static IP but after every 24 hrs it is setting some other IP to this machine (I believe some DHCP process is running in the background every 24 hrs).

I want to set the Static IP permanent to this machine, can some one help me where the problem is and how can i set the static IP permanently.

Thanks,
Balaji
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-08-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,681
Usually this doesn't happen on it's own. Is the box rebooted every 24h so that it asks for IP via DHCP or is there a mysterious cron job running every 24h ?
Reply With Quote
  #3 (permalink)  
Old 10-08-2008
Registered User
 

Join Date: Feb 2008
Posts: 8
Hi,

We are not restarting the machine, even if login from remote console after 24 hrs (time starts after i activate static IP) it is logging out and changing the IP.

Here is my CRONTAB looks like

bash-3.00# crontab -l
# @(#)08 1.15.1.3 src/bos/usr/sbin/cron/root, cmdcntl, bos530 2/11/94 17:19:47
# IBM_PROLOG_BEGIN_TAG
# This is an automatically generated prolog.
#
# bos530 src/bos/usr/sbin/cron/root 1.15.1.3
#
# Licensed Materials - Property of IBM
#
# (C) COPYRIGHT International Business Machines Corp. 1989,1994
# All Rights Reserved
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
# IBM_PROLOG_END_TAG
#
# COMPONENT_NAME: (CMDCNTL) commands needed for basic system needs
#
# FUNCTIONS:
#
# ORIGINS: 27
#
# (C) COPYRIGHT International Business Machines Corp. 1989,1994
# All Rights Reserved
# Licensed Materials - Property of IBM
#
# US Government Users Restricted Rights - Use, duplication or
# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
#0 3 * * * /usr/sbin/skulker
#45 2 * * 0 /usr/lib/spell/compress
#45 23 * * * ulimit 5000; /usr/lib/smdemon.cleanu > /dev/null
0 11 * * * /usr/bin/errclear -d S,O 30
0 12 * * * /usr/bin/errclear -d H 90
0 15 * * * /usr/lib/ras/dumpcheck >/dev/null 2>&1
# SSA warning : Deleting the next two lines may cause errors in redundant
# SSA warning : hardware to go undetected.
01 5 * * * /usr/lpp/diagnostics/bin/run_ssa_ela 1>/dev/null 2>/dev/null
0 * * * * /usr/lpp/diagnostics/bin/run_ssa_healthcheck 1>/dev/null 2>/dev/null
# SSA warning : Deleting the next line may allow enclosure hardware errors to go undetected
30 * * * * /usr/lpp/diagnostics/bin/run_ssa_encl_healthcheck 1>/dev/null 2>/dev/null
# SSA warning : Deleting the next line may allow link speed exceptions to go undetected
30 4 * * * /usr/lpp/diagnostics/bin/run_ssa_link_speed 1>/dev/null 2>/dev/null
00 02 * * 1 /usr/ibm/common/acsi/bin/collectbatch.sh > fsout.log 2>&1
Reply With Quote
  #4 (permalink)  
Old 10-08-2008
Registered User
 

Join Date: Feb 2008
Posts: 8
And also while i am setting the static IP using "smitty tcpip" i am giving start TCP/IP Yes as shown bellow, is there anything because of this?


START TCP/IP daemons Now yes
Reply With Quote
  #5 (permalink)  
Old 10-08-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,681
Hm, then I currently have no further idea, sounds mysterious...

What does (insert your interface where I have en0)
Code:
odmget -q "name = en0" CuAt
show?

Also you can check if any dhcp related stuff is running:
Code:
lssrc -a| grep -i dhcp
TBH, I never configured dhcp on any server since I think that's nonsense and never had to but nevertheless, let see if you can find anything.

Last edited by zaxxon; 10-08-2008 at 10:07 AM.. Reason: added more info
Reply With Quote
  #6 (permalink)  
Old 10-08-2008
Registered User
 

Join Date: Feb 2008
Posts: 8
bash-3.00# odmget -q "name = en0" CuAt

CuAt:
name = "en0"
attribute = "state"
value = "up"
type = "R"
generic = "DU"
rep = "sl"
nls_index = 5

CuAt:
name = "en0"
attribute = "netaddr"
value = "155.35.12.19"
type = "R"
generic = "DU"
rep = "s"
nls_index = 4

CuAt:
name = "en0"
attribute = "netmask"
value = "255.255.255.0"
type = "R"
generic = "DU"
rep = "s"
nls_index = 8
bash-3.00#
Reply With Quote
  #7 (permalink)  
Old 10-08-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
 

Join Date: Sep 2007
Location: Germany
Posts: 1,681
I don't recognize anything that could point to DHCP... Please check for the other command I added to my previous post (lssrc ...), ty.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Bookmarks

Tags
aix, dhcp, static ip

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:




All times are GMT -4. The time now is 07:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66