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 > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
HP-UX 10.xx Changing from static IP to DHCP Steelysteel HP-UX 1 08-27-2007 04:55 PM
static route ? chaandana IP Networking 3 07-05-2005 02:05 AM
Static wojtyla High Level Programming 6 02-25-2005 11:57 AM
Static IP google IP Networking 7 05-18-2003 07:33 PM
Howto configure AIX DHCP Client ? zumbi IP Networking 3 10-26-2001 01:08 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-10-2002
lee30320 lee30320 is offline
Registered User
  
 

Join Date: Jul 2002
Posts: 2
Question How to configure DHCP to Static IP

I am pretty new to this. My router was earlier configured to enable DHCP, thus my UNIX box is using the dhcp address, i.e. I have to do a ifconfig dhcp hme0 start. Since I am planning to use my NT as a web server, I needed to use the static IP address. How do I configure the unix box to use the static IP address? What files do I have to change? Please help. Thanks.
  #2 (permalink)  
Old 07-10-2002
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
What is the OS and version?

Normally, you would have to put the hostname and IP into your /etc/hosts file and possibly change /etc/nsswitch.conf (on Solaris) to look at files first.

OR, your DNS may take care of this since you wrote the NT box will have the static IP.
  #3 (permalink)  
Old 07-10-2002
norsk hedensk norsk hedensk is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2002
Location: new york
Posts: 1,025
if you are using a linksys router with dhcp, all you need to do is for the computer that you want to have a static ip, just set that computers ip to any value like this, 192.168.1.2 - 99
  #4 (permalink)  
Old 07-12-2002
Sirius Black Sirius Black is offline
Registered User
  
 

Join Date: May 2002
Location: Singapore
Posts: 1
if your router is a linux box, then you can change the file

/etc/init.d/network-scripts/ifcfg-ethx

where x is the interface number.
inside that file you can specify.

DHCP=no
ON BOOT = yes

IP_ADDR = "xxx.xxx.xxx.xxx" etc.

hope this helps.

- Sirius.
  #5 (permalink)  
Old 07-12-2002
dmsantam dmsantam is offline
Registered User
  
 

Join Date: Jul 2002
Location: SYDNEY
Posts: 5
the previous post is correct. You can also just use the ifconfig command, and specify the IP address. Make sure you also specify the address mask!

|Dan|

"linux is like a wigwam, no windows, no gates, and an apache inside!!"
  #6 (permalink)  
Old 01-27-2009
atchepi atchepi is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 1
I want to use SMIT to set static IP address on an AIX system

Good days every body,
I discovered this trea and I thougt that i could post my question on It.
I have acquired and IBM AIX system 4 months ago.
The system is configure in DHCP by default
I want some body to tell me step by step how to use SMIT to configure the whole system to Staitc IP.
I am a newbie to this system AIX.
I find it difficul to use the command line to configure the system.
I need your help.
Regards.
Sponsored Links
Closed Thread

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:48 PM.


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