Setting hostname,domainname and static IP address

Hi,
I have an issue regarding hostname and domainname on Oracle Linux 5.4.
I followed the steps given on this link for Oracle Linux 5.4 installation.
http://www.oracle-base.com/articles/linux/OracleEnterpriseLinux5Installation.php
As per the snapshots and guidelines given on this link,I should have been asked to configure network interface.
But It didn't show me the screens shown in steps 16,17 and 18 where I could have entered hostname,domainname,IP etc.
And when I checked after installation,it showed me
hostname
localhost.localdomain
and
domainname
(none)
That's because it took DHCP network configuration automatically(Correct me if i am wrong!!).
Although I am going to turn it's currnet DHCP assigneed IP into static IP.
Now,as I am going to have to install Oracle E-Business suite on this platform,I must have hostname,domainname and IP set properly.
Please guide me how I can set these three things(hostname,domainname and IP) permenantly.
Also should I turn its current DHCP IP into static IP before changing hostname and domainname or after it?
Thanks,
Rushi
Edited by: Rushi Shah on May 21, 2011 7:43 PM

login as root
and enter setup >> select eth0 >> enter i/p and dns details and save and exit and then restart network
steps
====
1) setp
2) enter i/p and dns details
3)save & exit
4)service network restart
2)settipng up hostname & ipconfig
steps
1) vi /etc/hosts
add entry
ipaddreddss hostname.domain name hostname
save & exit
ex:
192.168.0.12 apps.oracle.com apps
2) service network restart
3) chk hostname -i (ip address)
hostname -a (hostname)
hostname -d (domain)
crosscheck all the values & if its ok..
Thanks
reddy
http://11iapps.wordpress.com
Edited by: user13551818 on May 21, 2011 8:03 PM
Edited by: user13551818 on May 21, 2011 8:04 PM

Similar Messages

  • DNS and Static IP Address Question on Solaris v10 X86

    I�ve recently installed Solaris v10 X86 and have two questions. The system is a Dell E521 with 4GB RAM and 1GB SysKonnect NIC, and internet is provided via a cable modem, that�s plugged into a Netgear router, and the Solaris 10 box is plugged into the Netgear router via a CAT5 ethernet cable.
    1. I can connect to my router login page using the following URL:
    http://192.168.1.1/start.htm and I can also connect to various web pages such as yahoo, if I first "ping yahoo.com" (on another machine that�s internet enabled) and then plug the web site�s ip address into the Solaris/Mozilla browser. So it appears that I haven�t been successful at pointing the Solaris x86 at a DNS server to resolve the DNS name.
    2. I've purchased a commercially available software package and it requires a static ip address for this Solaris x86 server. If the ip address changes, it�ll stop working by design and require that I reacquire the license file. When connecting through this Netgear router, how do I lock this Solaris v10 x86 server into a specific ip address? (the ip address floats presently when cycling my PC�s on/off) presently, and assume the Solaris box will too, usually through an ip range of 192.168.1.<1 through 5>
    # ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    skge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255
    ether 0:0:5a:9b:1f:10
    # netstat -rn
    Routing Table: IPv4
    Destination Gateway Flags Ref Use Interface
    192.168.1.0 192.168.1.3 U 1 1 skge0
    224.0.0.0 127.0.0.1 U 1 0 lo0
    default 192.168.1.1 UG 1 0
    127.0.0.1 127.0.0.1 UH 8 163 lo0
    Some of the present Netgear router settings:
    Internet IP Address
    Get Dynamically From ISP (yes)
    Use Static IP Address      (no)
    IP Address           75.185. CROSSED-OUT3
    IP Subnet Mask      255.255.248.0
    Gateway IP Address      75.185.CROSSED-OUT4
    Domain Name Server (DNS) Address
    Get Automatically From ISP (yes)
    Use These DNS Servers (blank)
    Primary DNS      ... (blank)
    Secondary DNS      ... (blank)
    Netgear Router Status Page:
    Account Name      WGT624v3
    Hardware Version      V3H1
    Firmware Version      V2.0.16_1.0.1NA
    Internet Port
    MAC Address      00:40:ca:a8:CROSSED-OUT2
    IP Address           75.185.CROSSED-OUT3
    DHCP           DHCPClient
    IP Subnet Mask      255.255.248.0
    Domain Name Server      65.24.7.3
              65.24.7.6
    LAN Port
    MAC Address      00:18:4D:85:CROSSED-OUT1
    IP Address           192.168.1.1
    DHCP                ON
    IP Subnet Mask      255.255.255.0
    Excerpt from doing a prtconf -D command:
    pci10de,26f, instance #0 (driver name: pci_pci)
    pci1028,8010, instance #0 (driver name: hci1394)
    pci1148,5021, instance #0 (driver name: skge)
    pci1028,1ed
    pci1022,1100
    The NIC is a SysKonnect 9821 1GB Ethernet card. The drivers in Solaris 10 were apparently very old and didn't install drivers or configure/plumb when I installed Solaris 10, so I downloaded the
    latest drivers (hard to find!), followed the instructions and got the NIC drivers installed and then plumbed.
    My router's ip address appears to be 192.168.1.1 and in one of the articles I've read, there is a recommendation to create a file (touch) within /etc named defaultrouter and enter the router's ip address. I did this, and the file now contains:
    192.168.1.1
    I also read where another file called resolv.conf needed to be pointed to a DNS server, which in this case, according to my Netgear router, and according to ipconfig/all on another WinBox on the same network, also shows the same 192.168.1.1 address for the DNS, so I created that file too (wasn't there) and it contains:
    nameserver 192.168.1.1
    There is a host name file called hostname.skge0 and it contains one line:
    INTHOST
    There is a hosts file, and it contains:
    127.0.0.1 localhost loghost homex86
    192.168.1.3 INTHOST
    There is a netmasks file, and other than the commented out lines, it appears to contain one relevant line:
    192.168.1.0 255.255.255.0
    There is a nsswitch.conf file and other than the commented out lines, it contains:
    passwd: files
    group: files
    hosts: files
    ipnodes: files
    networks: files
    protocols: files
    rpc: files
    ethers: files
    netmasks: files
    bootparams: files
    publickey: files
    netgroup: files
    automount: files
    aliases: files
    services: files
    printers: user files
    auth_attr: files
    prof_attr: files
    project: files
    tnrhtp: files
    tnrhdb: files
    There is an nsswitch.dns file:
    passwd: files
    group: files
    ipnodes: files dns
    networks: files
    protocols: files
    rpc: files
    ethers: files
    netmasks: files
    bootparams: files
    publickey: files
    netgroup: files
    automount: files
    aliases: files
    services: files
    printers: user files
    auth_attr: files
    prof_attr: files
    project: files
    tnrhtp: files
    tnrhdb: files
    Finally, I've also seen some advice using the folling command (and I tried it):
    "route add default 192.168.1.1" as an alternative method of setting up route table
    The only other command I've tried is:
    "ifconfig skge0 192.168.1.1 netmask 255.255.255.0 up" but I suspect that was redundant as the plumb command I used to get the NIC functioning earlier probably already provided what was needed.
    Finally, on this small network, I ran an ipconfig/all on a Windows based PC, to see what network settings were reported through the wireless connection, and this is an excerpt of that information:
    C:\Documents and Settings\mark_burke>ipconfig/all
    Windows IP Configuration
    Ethernet adapter Local Area Connection:
    Media State . . . . . . . . . . . : Media disconnected
    Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controller
    Physical Address. . . . . . . . . : (withheld)
    Ethernet adapter {xxxxxxxx}:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Nortel IPSECSHM Adapter - Packet Scheduler Min
    iport
    Physical Address. . . . . . . . . : (withheld)
    Dhcp Enabled. . . . . . . . . . . : No
    IP Address. . . . . . . . . . . . : 0.0.0.0
    Subnet Mask . . . . . . . . . . . : 0.0.0.0
    Default Gateway . . . . . . . . . :
    Ethernet adapter Wireless Network Connection:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Dell Wireless 1370 WLAN Mini-PCI Card
    Physical Address. . . . . . . . . : (withheld)
    Dhcp Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    IP Address. . . . . . . . . . . . : 192.168.1.2
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 192.168.1.1
    DHCP Server . . . . . . . . . . . : 192.168.1.1
    DNS Servers . . . . . . . . . . . : 192.168.1.1

    I�ve recently installed Solaris v10 X86 and have two
    questions. The system is a Dell E521 with 4GB RAM
    and 1GB SysKonnect NIC, and internet is provided via
    a cable modem, that�s plugged into a Netgear router,
    and the Solaris 10 box is plugged into the Netgear
    router via a CAT5 ethernet cable.
    1. I can connect to my router login page using the
    following URL:
    http://192.168.1.1/start.htm and I can also connect
    to various web pages such as yahoo, if I first "ping
    yahoo.com" (on another machine that�s internet
    enabled) and then plug the web site�s ip address into
    the Solaris/Mozilla browser. So it appears that I
    haven�t been successful at pointing the Solaris x86
    at a DNS server to resolve the DNS name.You can either copy nsswitch.dns to nsswitch.conf, or you can modify nsswitch.conf so that 'dns' is used for hostname lookups.
    2. I've purchased a commercially available software
    package and it requires a static ip address for this
    Solaris x86 server. If the ip address changes, it�ll
    stop working by design and require that I reacquire
    the license file. When connecting through this
    Netgear router, how do I lock this Solaris v10 x86
    server into a specific ip address? (the ip address
    floats presently when cycling my PC�s on/off)
    presently, and assume the Solaris box will too,
    usually through an ip range of 192.168.1.<1 through
    5>One method is setting the router so that the server's MAC address is tied to a specific IP.
    Otherwise you can edit /etc/hostname.<interface> and place a static address there, forgoing DHCP services from the router. You may want the address to appear outside the router's DHCP range.
    Darren

  • Port Forwarding and Static IP addresses

    Netcomm NB1300 router and Airport Express.
    I want to use and old G3 mac running 10.3.9 as a server for HTTP and FTP. The Mac is currently connected via Airport but I can connect it via Ethernet if necessary.
    I understand that I will have to activate Port Forwarding on my Router with Ports 21 and 80 to allow external Internet access to the G3. I will also have to configure DHCP Manually for a Static IP address and probably link up with a Free DNS service to maintain reliable access to the G3.
    I have other computers on the network, two Macs (Ethernet / 10.3.9 & Airport 10.4.11) and two PC's (one with Vista, one with XP / both on Airport). Only one of the extra Macs is connected via ethernet, the rest are connected via Airport.
    Will I have to assign Static IP addresses to all the computers or just the one I want to use as a server?
    And also, can anyone tell me about Port Forwarding via Port 22 to give more security from external observation/attacks? I know nothing about this security measure.
    Thanks in advance.
    Christo.

    Hi--
    Christo wrote:
    I am now assuming I will be able to access the 'server' from an external location. Very optimistic! But I can't test that for a couple of days.
    Ah, but you've given up too soon! You can access your web server from outside your network real easy: you just need to find an external client you can point back to your site. I like to use the W4C validator to do that. It has the happy side effect of also telling you if your web page markup is valid. So you'd point your browser to the validator page:
    http://validator.w3.org/
    I like to choose "More Options" and tell it to show the page source. That way I can also verify that it's seeing the page I want it to see.
    If I disconnect the iBook from Ethernet, can it still be accessible from an external location if it is connected to the Router via Airport, or do I have do so something like Port Forwarding with my Airport Express as well? Note the iBook can still connect to the Internet via Airport.
    It would depend on how your Airport is set up. I think there are a couple of ways to set them up. One is to make the Airport a DHCP server, which would make the wireless network essentially a separate network. In that case, you'd have to forward throught the Airport, too.
    My wireless network, though, is set up to bridge, so it's all one network. In that case, all I'd have to do to forward wirelessly to a client would be to set up the forward on the main router.
    Being that persons other than myself will be accessing the iBook via FTP, do I give them the user account password of the Mac, or can I set a password in the Router or something else?
    Also, when accessing the iBook on my local network using Cyberduck, I can see the entire directory of the iBook's user account. Is there a way to limit access to just one folder, such as the Public folder, or a self-designated folder?
    Unfortunately, I don't know anything about setting up FTP. I would suggest that you look into maybe making an account on the iBook specifically for the FTP user and only give out that username and password. You might want to poke around in the Networking and the Web and Unix discussions in the Mac OS X Technologies area. I've seen a number of posts there about setting up FTP, and you might be able to find your answers there.
    charlie

  • HH4 and static IP addresses on home network

    I want to assign a static IP outside the DHCP range to a server on my home network. I know I've done this in the past as I already have another server on the network which the HH4 recognises as having a static IP (and not in the DHCP range) but I can't for the life of me remember how to do it now.
    I do recall that it wasn't obvious last time, but I've looked repeatedly through the HH config options and can't find it. The only place that looks likely is the Device Information page, where if "IP address assignment" is DHCP then you can select "Always use this IP address" and type an IP address, but only addresses within the DHCP range are accepted (this is reasonable). But there seems no way to provide a non-DHCP address.
    I've read elsewhere that I should allocate the static IP on the device itself, but this doesn't work - while the device is able to connect to the LAN and can ping/can be pinged by other devices, the HH doesn't recognise the device and it's unable to connect to the internet.
    I've constantly been frustrated by the non-standard interface of the HH4, and the fact that BT will provide little information on how to configure it (no manual is available). I called BT just hours ago to ask their tech support the same question I'm asking here, and their response was that "they don't have that information". When I said I was amazed that they don't know how to support their own hardware, they replied that it came ready configured and I shouldn't need to change it. Unbelievable. I was invited to subscribe to their tech expert support for £8 per month to get the answer, so I suspect that the claimed ignorance is just a revenue-earning opportunity.
    Anyhow, any help will be very welcome.
    Solved!
    Go to Solution.

    licquorice wrote:
    Hmm, as far as I'm concerned the only 'true' static address is one configured on the device itself. Anything else is a non-changing dynamic address which is still at the mercy of the router dishing it out correctly.
    That's a fair point. Perhaps I'm not used to routers (or just never used the feature) that allow "sticky" allocations within the DHCP range. So I see (saw?) DHCP and non-DHCP addresses as different.
    However, I have to admit to feel a bit stupid at this point. I've just looked at the HH display and now I can see my device in all its static glory! This is after a number of days of testing and experimentation and getting nowhere (and before you ask, yes, regular refreshing). It's puzzling - perhaps it takes time for the HH to pick up a static allocation and I just didn't give it long enough.
    So it does appear to be working now. I can confirm that your advice of just defining the address on the device is the way to go, and eventually the HH will recognise it.
    Thanks to all for your patience!

  • Time Capsule connected to internet via ethernet and static IP address

    Hi! I'm at my wits end and getting no help from my IT department. I want to use my Time Capsule to create a wireless network within my office. I can directly connect my TC to the internet via ethernet and an assigned static IP address. However, doing so I'm unable to connect to the internet using the created wireless network on my laptop. I've tried using the bridge option for sharing as well as the "sharing an IP address" and neither configuration is working. any thoughts?

    I have the same setup; my ISP uses static IP only. No probs configuring a LinkSys router but with TC it's not obvious where to plug in the info. Can't ping the TC router via IP address to setup directly like the LinkSys which would be simple. Is the out of box router address really 10.0.1.1 on the LAN side? I want to use the 192.168 sequence and have changed it but still no success as I can't determine where to put the static IP! Can you give me something specific? By the way, it works fine thru the LinkSys router in Bridge mode.
    Thanks,

  • HH5 and static IP address question

    I've been trying to set up static addresses for my devices and for some weird reason, when trying to set an address for one PC, the HH tells me the following:
    The IP address entered conflicts with a device using the same IP address on your home network.
    Please enter a different IP address.
    Ok, seems fairly self-explanatory but after looking through the devices and dhcp table, it appears that no other devices have that IP address.  How can I free up the address in question if I'm unable to locate what device has been assigned it please?  It doesn't respond to pinging.
    Thanks.
    P.S - Can remember my previous frustrations with earlier models of the HH.  Can anyone recommend a decent third party router that works well with BT Infinity please?

    Nick2012 wrote:
    I've been trying to set up static addresses for my devices and for some weird reason, when trying to set an address for one PC, the HH tells me the following:
    The IP address entered conflicts with a device using the same IP address on your home network.
    Please enter a different IP address.
    Ok, seems fairly self-explanatory but after looking through the devices and dhcp table, it appears that no other devices have that IP address.  How can I free up the address in question if I'm unable to locate what device has been assigned it please?  It doesn't respond to pinging.
    Thanks.
    P.S - Can remember my previous frustrations with earlier models of the HH.  Can anyone recommend a decent third party router that works well with BT Infinity please?
    From what I can remember (I haven't used a Home hub in eons) the Home Hub's DHCP range is 192.168.1.64-192.168.1.253 (.254 is used for the router itself), so in order to use static IPs on your LAN, you would need to use 192.168.1.1-192.168.1.63 for your devices.
    Don't forget that the subnet mask would be 255.255.255.0
    I hope this info helps.

  • Applying Static Ip Address to server

    Could some please help I have been working on this since last friday.
    I have a bt business line which they have given me 5 static IP addresses
    I have a Netgear Modem Router DGND3700 and a Airport Extreme which I bought last friday.
    On my Netgear bt said go to LAN setup and enter my starting IP address and Ending IP address Subnet mask and Hub address which I have done.
    I have a Network cable from my netgear to my Airport Extreme WAN port, and I have a Network cable from one of my Ethernet port to my mac mini lion server.
    On my server under network I have set it to manual and entered my static ip address subnet and dns which was provided bt bt.
    When I open Airport Utility on my Airport Base I have set the Internet to static ip address which it shows green but my internet is not connected.
    But when I go to network and go to enter my static ip address I cant as my ip address start with 81.xxx.xx.xxx
    I am not sure if I am doing it wrong or Im missing something.
    Thank you for taking time to read my post

    maybe you forget to put a static DNS ^_^ which is also required if you put an static ip if your DNS is not correct theres no internet even if its light green ^_^
    hope it helps

  • EA6700 - Maximum Static IP Addresses

    Is there a limit on the number of Static IP Addresses on the EA6700?  There are currently three open entries called Static DNS 1, 2, 3.   I am using all three, and would like to add a fourth for the WAP300N Access Point.  Is there a way to add a fourth Static IP Address?   Thanks

    Thanks for the advice.  I thought I knew what I was doing by "reserving" IP addresses using the DNS entry.  Now that I found and read the User Guide, I understand how to “reserve” these devices.  I still need to find the Linksys valid ranges for static vs dynamic on the EA6700. I don't see this info in the user guide. Or does it matter? 
    Don't I just go to the DHCP Reseration Table, select the devices, and click on Add DHCP Reservation?  This reserves whatever IP address was dynamically assigned to it.  Currentlu on the DHCP panel, the Start IP address is 192.168.1.100, number of users is 50, so the range is 192.168.1.100 - 149.  I will clear out the DNS entries. I may just reset the router and start over.  If the range begins at 192.168.1.100, then I'll use 192.168.1.2-99 as static addresses and 192.168.1.100-150 for dynamic IP addresses.  
    Is the default Release Time of 1440 (24 hours) adequate?
    Should I keep dynamic and static IP address separated in different ranges as in your example?  .       
    We have 24 devices on our home network including laptops, desktops, printers, iPads, iPhones, NAS, etc.   
    I planned on setting static IP addresses for my primary desktop (where I manage the network), network printers, IP cameras, WAP300N Access Point, Seagate BlackArmor 440 NAS, Honeywell 6280 Tuxedo keypad, and Xbox 1.   

  • How to set up both static and DHCP assigned addresses on an AirPort Extreme

    I recently bought an AirPort Extreme to replace my failed Cisco/Linksys router.
    I am having trouble figuring out how I can configure the Extreme to support the already static IP addresses on my network as well as assign IP addresses via DHCP to a few devices where static IPs are not supported, i.e., work laptop.
    Additionally, when DHCP is turned on, are my only options the 10.0, 172.16, and 192.168? What if I am running something like 10.10 or 172.30?
    I am far from green when setting up computer networks, but this AirPort Extreme is making me pull my hair out.
    BTW, I have access to a number of computers running a number of OSes including Windows XP, 7, and 8, as well as Mac OS X Snow Leopard and Mountain Lion.
    The Mountain Lion or Windows 7 machine would be the preferred ones to configure the Extreme. I already have the AirPort Utility software running on them.
    Any help would be appreciated.

    I have found the 'DHCP Reservations' option on the AirPort Extreme to be buggy.  I seem to remember it causing IP conflicts for some reason.  I think what I remember is that if the computer with the reservation was off, and the DHCP server then handed out that IP to another DHCP client, then there would be a conflict when the reserved IP computer was turned back on.  Maybe it was an issue in ealier versions of the AE or OS X as the case may be, and maybe it's been corrected, but I've never bothered using it agian since the method I describe below has always worked without fail.  Also, I'm guessing DHCP Reservations would work fine if one manually enters IPs outside of the DHCP range but in the AE 'DHCP Reservation Setup Assistant' the IP options provided are within the DHCP range which to me makes no sense and increases the potential for IP conflicts.
    Here's what I do to setup a mixed environment of static and dynamic IPs on my network.  It works like a charm and does not require the DHCP server (beyond the distribution of dynamic IPs to hosts using DHCP).
    For machines on my network that are accepting services from the public network, I set them up with static IPs using the 'Manually' option (System Preferences/Network/Ethernet/Configure IPv4).  The settings for 'Router' IP address and 'DNS Server' IP address should both be set with your gateway/router LAN IP).  Use an IP address below or above the DHCP range of adresses (in AE/Internet/DHCP/DHCP Beginning & Ending Address).
    i.e. if my subnet is 10.0.1.1 and my DHCP range is 10.0.1.100 to 10.0.1.150, you could set the static IPs on your local hosts as 10.0.1.x where x = any number from 2 - 99 or from 151 - 200 as an example.
    All other machines and devices that do not require static routing are setup as DHCP clients and get a dynamic IP from the AE.  To me it's a simpler setup though it might take a little extra time to setup initially.
    John

  • How to set the IP and hostname

    Hi All
    I have created a new OVM template from the ORACLE 10G VM template. (created a VM from original template and then did a save as template).
    Problem is that when I use this template to create a new VM - the hostname and IP (static) is the same as the original VM.
    How do I configure the network stuff? (no system-config-network on the VM)
    Any help would be great.
    TIA

    roynor wrote:
    The hostname is automatically set from /etc/host. The first name of the entry matching the IP address of the first interface will be used.This is not true. The hostname is set from */etc/sysconfig/network* on an Enterprise Linux server.
    However, a lot of the newer VM Templates have a first-boot configuration script that automatically runs from /u01 and is triggered from the */etc/sysconfig/oraclevm-template* file. Before saving your modified guest as a template, change RUN_TEMPLATE_CONF=NO to YES and then shutdown. When the guest starts back up again, it'll run the firstboot configuration again, which includes setting the IP/hostname information and relinking Oracle 10g.

  • Need to set hostname and domain name

    Hi All,
    I need to
    1) set my "hostname" (foo), and
    2) set my "domain name" (acme.local)
    such that my machine identifies itself as "foo.acme.local". Anyone know how to do this? (I found the host name in file sharing, but it will not let me set the domain name.)
    Many thanks,
    -T

    etresoft wrote:
    Your domain is the name of your server.
    What gave you that idea? My domain name is "acme.local". It is not the name of my server. I have three servers on my network. The one with the DNS, DHCP, and firewall servers on it called "server.acme.local".
    I am confused about why you feel the need to have a subdomain.
    This is not a subdomain. What gave you the impression I was asking for a subdomain?
    What you seek to accomplish is entirely unnecessary and far more involved than just editing a config file.
    Pretty easy in Linux and Windows. They just grab the domain name from the DHCP server. Or, you can hand configure them if you wish. Do you know how accomplish same in 10.6.4?
    Give your machine a name in System Preferences > Sharing and it will have the name "whatever.local". That is all you need.
    I would like to the entire network name displayed correctly. "whatever.local" is incorrect. It should be "machinename.domainname" or "foo.acme.local". In my example, "foo" is the machine name ("whatever" in your example) and "acme.local" is the domain name. (Not the server's name, by the way.)
    "System Preferences > Sharing" will not let me add any extra periods. And will not let me change the ".local" either. (In this instance, I want the ".local".)
    Here is the reverse rule I had to hand create:
    182 PTR foo.acme.local.
    (The dot on the end is not a mistake.)
    I do not want a stray computer floating around that does not identify itself correctly. "foo.acme.local" is correct. "foo.local" is not.
    By the way, this computer gets its IP address from a DHCP server, which does tell this Apple what the domain name is. (It gets ignored.)
    /etc/dhcpd.conf
    option domain-name "acme.local";
    That is the config file for your DHCP server. You would use this if your machine were sharing its internet connection, for example. You don't need to edit this file.
    You misunderstand. The DHCP server, not on this Mac, is not being used to share Internet connections. It is being used to assign IP addresses to machines on the local network. It is also being used to assign fixed IP's to network printers based on their MAC addresses. In my network, these are "off Internet" addresses. The firewall, also not on this Mac, it used to share a single Internet connection with all the internal users.
    Hmmm. I created the file (dhcpd.conf) by hand. And, yes I do need to edit it all the time. Especially when I have bone headed machines on my network that do not follow or respond to standard networking conventions. This Mac does not accept the domain name given to it by my DHCP server and as such my DHCP server will not automatically update my DNS tables.
    Evidence of this can be found in the dhcpd.leases, where I had to hand enter
    client-hostname "foo";
    into the lease table (did not do me any good).
    I am wondering if 10.6.4 is not capable of handling this kind of standard network naming convention. (FreeBSD, which Apple run on top, is capable, so I am confused.)
    MacOS X does not run on top of FreeBSD. They are different operating systems. MacOS X has a POSIX layer which most closely resembles BSD, that is all.
    Interesting. Thank you for pointing out the difference. I bet POSIX know how, just like FreeBSD, which it resembles.
    If I change the name in /etc/hosts, will Apple over ride it? (I am not at the machine or I would just try it.)
    You do not "change" the name in /etc/hosts. You are just adding entries into your machine's lookup table. You can add as many aliases to as many IP addresses as you want. This is not the same as changing your machine's name, but it may be sufficient for what you are trying to accomplish - assuming I knew that, which I don't.
    Then, where do I make the change?
    10.6.4 did not tell the DHCP server what its name was either, so I had to hand add it into my DNS forward and reverse records. AAAAHHHHH!!!!
    I strongly advise against editing files you don't understand.
    I create my entire DNS configuration by hand, including my forward and reverse tables. Oh yes, I understand it, do I ever understand it. You should not jump to conclusions: it is insulting. I am presuming you meant no insult. Just be more careful next time.
    I think that what is happening here is that 10.6.4 is not set up to follow standard network naming conventions. I would posit that the idea is to keep home users out of trouble. Probably a good thing. If 10.6.4 is not capable of using standard naming conventions, (or following standard DHCP conventions), I would just like a confirmation of that so I will stop trying to figure out how to do it. And, stop wasting my time and just hand configure any additional Mac's that enter my network.
    Again, a "confirmation that it can not be done", or "how to do it" is what I am looking for.
    Thank you for the assistance,
    -T

  • I want to reserve a static IP address on my Airport extreme.  What is the difference between reserving by MAC Address and DHCP Client ID?

    I want to understand the differences in the way you can reserve a static address for a device on the network.  I had previously set the device itself to an address and then reserved it with DHCP Client ID, which I thought was just the devices static addresss.  I'm not sure if this was in fact correct or just happend to work.  I know what a MAC address is, but I'm not really sure what the DHCP Client ID is. So it would be great if someone could clarify it, and the difference between reserving address by MAC Address or DHCP Client ID.

    A MAC address is a unique identification consisting of letters and numbers in a form that looks like this:
    xx:xx:xx:xx:xx:xx
    Every network device has a MAC address, which can be found on a label on the bottom or back of the device. Apple calls this the Ethernet ID.
    A DHCP Client ID is an optional name that you can assign to a device. For example, on your Mac....
    Open System Preferences (gear icon on the dock)
    Open Network
    Click on Ethernet
    Click Advanced at the lower right
    You may be able to edit the DHCP Client  ID here....for example.....you could enter MJ500's MacBook in the space provided. That would be the Client ID of your Mac.

  • How to set and static ip_address for a Suse Linux box

    Hi.
    I've done the following to set an static ip address for my Suse 9 Linux box:
    - Take not of inet address value from ifconfig command. ie: (172.17.2.14)
    - Change this value in /etc/hosts for my linux box.
    Since Suse is configure by default to use DHCP for assigning dinamic ip_addresses i'm not sure whether will lastly be set as a static address. I've rebooted my box and it seems to be OK.
    Thanks in advance ...!

    /etc/hosts is not configuration file for ethernet interfaces.
    Configuration files for ethernet interfaces are stored in /etc/sysconfig/network directory.
    For example if you have eth0 device then configuretion for this device is stored in /etc/sysconfig/network/ifcfg-eth0 file.
    Important directives:
    DEVICE - interface (eth0)
    IPADDR - IP address of interface
    NETMASK - netmask
    BOOTPROTO - "static" for static configuration, dhcp for dynamic configuration via dhcp
    ONBOOT - activating interface during boot (yes/no) (yes - of course :-) )
    GATEWAY - default gateway
    So for example you want setup static IP (192.168.10.1 / 255.255.225.0) for eth0 interface.
    Edit the /etc/sysconfig/network/ifcfg-eth0 file and your configuration should be:
    DEVICE=eth0
    IPADDR=192.168.10.1
    NETMASK=255.255.255.0
    BOOTPROTO=static
    ONBOOT=yesThen you simply restart the nework using:
    /etc/init.d/network restartOR
    /sbin/ifdown eth0
    /sbinf/ifup eth0 OR
    ifconfig eth0 down
    ifconfig eth0 up

  • Is an 'external' static IP address required to set up DNS

    Hi there
    I'm going to be setting up a OSX Server 10.3 machine as an open directory master, to take advantage of single sign-on capabilities.
    From what I have read in manuals and in this topic: http://discussions.apple.com/thread.jspa?threadID=977178&tstart=15 , it is necessary to configure the DNS service first. However, the topic talks about having an external IP address for the server, as well as for the internet router.
    Is this the only method that will work? The network only has one external IP address as far as I am aware.
    Any thoughts greatly appreciated.
    Matt

    The answer is, it depends.
    If you want your server to provide any external services then it will need an external IP address. Now, depending on your network, you may be able to use a single IP address on your router, having it NAT incoming connections via port forwarding - that's a common setup.
    The bigger issue is whether you need a static IP address or can live with a dynamic one. A static IP address is required if you're running certain services such as DNS or Mail. Other services might be able to get by with a dynamic IP, depending on what you're doing with them (for example, it's OK to run a personal web site on a dynamic IP address, but you wouldn't want to do that for a corporate web site that gets a lot of traffic.

  • Set Static IP address on Mac clients

    Hi,
    I'm trying to change the IP address on a mac client at startup time to a different value and to be Static type. I need to do it via the command line. I've researched and found out that 'networksetup -setmanual ...' and 'ipconfig set en0 MANUAL ...' would do it, but the 'networksetup' command is not available unless I have ARD installed and 'ipconfig' is not recommended for use other than testing and debug.
    Another option I was looking at is editing /Library/Preferences/SystemConfiguration/preferences.plist and then doing 'changeip ...' command.
    Do you know if there are any other commands that will allow me to change an ip address via the command line, set it to Static/Manual and preferably do it without a reboot?
    Thank you

    Hi Sergey,
    when I use static IP in my jwc_properties.ini it is never picked up, it still uses DHCP. The part where I have configured IP looks like this:
    # Whether static configuration or DHCP server is used do get IP address. Possible values: dhcp,static
    ip.method = static
    # IP address,used with static IP configuration only
    ip.addr = 10.143.144.97
    # Network mask,used with static IP configuration only
    ip.netmask = 255.255.252.0
    # Network gateway,used with static IP configuration only
    ip.gateway = 10.143.144.1
    # DNS server,used with static IP configuration only
    ip.dns =
    # MAC address
    mac.addr =

Maybe you are looking for