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 =

Similar Messages

  • Static Virtual Channels For MAC Client (v8.0)

    Hi,
       In Windows we have feature of Static Virtual Channels for addins.
    http://msdn.microsoft.com/en-us/library/aa383546(v=vs.85).aspx
       How to use Static Virtual Channels in MAC Client ?

    Hi,
    As far as I know, the Microsoft Remote Desktop App for Mac has limited support for Virtual Channels.
    It only supports Remote Audio playback, printer and folder redirection.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Setting Default Email address in Mail client

    All,
    With using .Mac accounting, I could only use [email protected] for sending email. However, what/how could I do if I want to set my email address to another one?
    Thanks,
    Kenny

    Hi Kenny!
    Do you only see one account there? Only the .mac one? Hmmm...what about if you click on your Accounts tab? How many accounts are there in the left window pane? And assuming you have two accounts there if you click on the account and then click on the Advanced tab in the main portion of the window is the box selected that says enable this account?
    What I'm getting at is if you have two accounts that are enabled you should be able to select which one you want to send your mail from. The only thing I can think of that makes sense is if this other account is not enabled?
    Let me know...Reg

  • WRE54G expander setting static ip address, then no internet?

    I have set a static ip address on my wired computer for the expander. I can access the setup page, but not the internet. So, I went and set my computer back to " obtain ip address automatically ". Now I can access internet, but not the expander set up page.  I would like to upgrade my firmware, but  need internet and setup page at same time to do this.
    I thought once you set up a specified ip address and added it to your gateway you could then access it anytime when you had the settings changed back  to " obtain an ip address automatically " ? 

    Download the firmware when you have Internet Access, you may download the firmware from here , once the firmware is downloaded you can set-up static ip address on your computer and access your range expander set-up page and upgrade it's firmware...Once the upgrade is done you should reset and re-configure your range expander...
    Make sure you have identical wireless settings on your Range Expander and your Wireless Router...Your Range Expander should be in the same subnet as that of your router...

  • How to set static IPv6 address/gateway in Arch (NOT tunnel)

    Hey Everybody,
    Today I decided to install Arch Linux. There was only one thing that I did not understand, and that is how to set up a static IPv6 address. I have native IPv6 connectivity at home and in Debian I used to edit /etc/network/interfaces to set up a static IPv6 adress. Since Arch uses rc.conf, what is the syntax to configure a static IPv6 address?
    I used to add something like this in Debian in /etc/network/interfaces:
    > iface eth0 inet6 static
    > address *my static address*
    > netmask 64
    > gateway *my gateway address*
    Or can I still use /etc/network/interfaces in Arch?
    Thank you for help.

    It can be done quite easily using the netcfg infrastructure.
    /usr/lib/network/connections/ipv6static
    #!/bin/bash
    . /usr/lib/network/network
    ipv6static_up() {
    load_profile $1
    ip -6 a a ${ADDRESS} dev ${INTERFACE}
    if ! [ -z "${GATEWAY}" ]
    then
    ip -6 r a 2000::/3 via ${GATEWAY} dev ${INTERFACE}
    fi
    ipv6static_down() {
    load_profile $1
    ip -6 a d ${ADDRESS} dev ${INTERFACE}
    if ! [ -z "${GATEWAY}" ]
    then
    ip -6 r d 2000::/3 via ${GATEWAY} dev ${INTERFACE}
    fi
    ipv6static_$1 $2
    exit $?
    /etc/network.d/eth0static
    CONNECTION="ipv6static"
    DESCRIPTION="Static configuration for IPv6"
    ADDRESS="2001:dead:beef:cafe::1/64"
    INTERFACE="eth0"
    GATEWAY="2001:feed:dead:beef::1" # Comment this out if no route needed
    I haven't tested the gateway part, but I don't see why it wouldn't work. You'll need iproute2, and to read up on netcfg (see http://wiki.archlinux.org/index.php/Network_Profiles) if you have trouble.
    Last edited by gunkaaa (2009-09-02 05:19:36)

  • Not able to set static IP address after upgrading to 8.1 from 8.0

    I have a dell vostro 1014 laptop.After upgrading to 8.1 from 8.0 , i am not able to give static IP address in the Internet Protocol version 4 (TCP/IPv4) Properties of my Ethernet card properties.I am getting the following error:
    "COM surrogate has stopped working error"
    In order to access Internet Protocol version 4 (TCP/IPv4) Properties
    again , i need to restart the system
    after restarting my system and when i access Internet Protocol version 4 (TCP/IPv4) Properties  i find that ip address,subnet mask and default gateway( in the
    use following IP Address field) have given has become  empty.But
    preferred DNS server and alternate DNS server enteries are still there.I am able to fetch IP address from the DHCP server
    Does anyone knows how to troubleshoot this problem?

    This problem may occur due to loss of some system files while upgrading your  dell vostro 1014 laptop from 8.0.to 8.1 or unsuccessful upgrade. 
    Try to refresh your laptop by inserting windows 8.1 installation disc.
    To do this go to control panel->recovery->refresh your system without loosing any data
    If you don't have any windows 8.1 installation disc just download from Microsoft website.
    Make sure to choose correct architecture of your windows installation (x86 or x64) when you download.

  • AAA static IP address for RA VPN Client

    Hi,
    my vpn group and VPN POOL  is locally created in Cisco VPN router but users are authenticated through ACS, AAA server via TACACS. Now I want to assign the static ip address to VPN Client. Everything is fine but due to the application problem I want to give them the static Ip address from the VPN Pool. I have greated one pool in AAA server and also configure the client in AAA to get the static ip address but unable to do this. Please help me out how to do this.
    My router is configured for TACACS+. I have checked the user configuration in AAA server to get the static ip address but it is not working. Please help me out how to do this. I cant change Router to Radius but this is my main router which is configured for 160 sites through ISDN and these sites also configured for TACACS+.
    crypto isakmp policy 10
    encr 3des
    authentication pre-share
    group 2 
    crypto isakmp client configuration group Aviation-VPN
    key egntosc
    pool aviation-pool
    acl avi-tunnel
    save-password
    netmask 255.255.255.0
    crypto isakmp profile vpnclient
       match identity group Aviation-VPN
       client authentication list default
       isakmp authorization list Aviation-authorization
       client configuration address respond
    crypto ipsec transform-set aviset esp-3des esp-sha-hmac
    crypto dynamic-map avi 10
    set transform-set aviset
    set isakmp-profile vpnclient
    reverse-route

    Since you're using ACS, I believe the way to do this is to
    go into ACS, and select the username of the user that you want
    to get the static IP. Under that user's setup, there is an option to
    always assign the same IP. Just select that and enter the IP you
    want them to get. - chris

  • PowerShell script to set VM static IP address - multiple subscriptions

    Hi,
    I have set successfully static IP Address to all of my virtual machines until now (1 subscription) using Set-AzureStaticVNetIP
    But now I have 2 Azure subscriptions. The virtual networks names are the same at both of the suscriptions.
    The question is:
    How to define the subscription to use when defining static IP addresses to VMs?
    Thanks in advance!

    Hi SCCMadmin09,
    Considering that you have successfully set static IP Address to all of your virtual machines until now for one of the subscriptions :
    Login to your Azure account with the command ; this time you should be entering your second subscription login credentials.
    Add-AzureAccount
      Add-AzureAccount
      :    This will open a windows login dialog that will allow you to enter your credentials of the second subscription.
      Now you need to find the name of the subscription you created your virtual machines under. The command is:
    Get-AzureSubscription
    The output will give the Azure subscription information
    Here in the example, Visual Studio Ultimate with MSDN a/c is used. The command to select this is:
    Select-AzureSubscription 
    : Select Azure Subscription: Enter your subscription name and then ENTER:
    Eg : Visual Studio Ultimate with MSDN
     At this point you are connected to your subscription and can begin to work with the virtual machines created under it.
    There are two parameters you will need to have:
    ServiceName
    = the name of your virtual machine. Example :
    DTechHST-Test01
    Name
    = the same name you entered as the ServiceName
    And finally the commands, there are three.
    Get-AzureVM -ServiceName <your_vm_name> -Name <your_vm_name>
     Set-AzureStaticVNetIP -IPAddress "<your_new_ip_address>"
     Update-AzureVM
     Unfortunately, entering these commands one at a time fails. They must be strung together via “pipes”.
    Get-AzureVM -ServiceName <your_vm_name> -Name <your_vm_name> | Set-AzureStaticVNetIP -IPAddress "<your_new_ip_address>"
    | Update-AzureVM
     As an example:
    Get-AzureVM -ServiceName HST-Test01 -Name HST-Test01 | Set-AzureStaticVNetIP -IPAddress "192.168.224.50"
    | Update-AzureVM
     In the event that you need to remove an assigned IP address, use the following command structure.
    Get-AzureVM -ServiceName 
    <your_vm_name> -Name <your_vm_name> | Remove-AzureStaticVNetIP | Update-AzureVM
    Hope this helps.
    Regards,
    Shirisha Paderu

  • Static IP address on iPhone

    Hi, and happy new year!
    I have a question for the community. I have just bought a Sonos music system. Every so often the controller on my iPhone loses connection with the system. I've done quite a bit of online research and the issue seems to be with how my router (at BT home hub) allocates and renews DHCP leases. I had a similar issue with my Samsung network printer which was resolved by setting it to a fixed IP address (so the router always assigns it the same IP).
    I'm gonna set fixed IP addresses to the Sonos components - but think the principal issue is the IP address assigned to the iPhone as this changes when I come and go from the house. I'm talking about the iPhones IP address on my home network, not on the cellular network.
    So my question is this... will setting a fixed IP address to the iPhone on the router (and on the phone) cause any issues I am not anticipating?
    I know HOW to do the IP address fixing - just not sure if I SHOULD.
    Thanks in advance - and if you have any other ideas for sorting the Sonos system, they'd me much appreciated.
    Chris.

    SUCCESS!!!!!
    I visited my brother-in-law yesterday and attempted to connect with his secure network. By sheer luck, he is using the exact same model LinkSys router. My iPhone connected first time--so the iPhone was eliminated as a source of the problem.
    I didn't do a lot of troubleshooting at his house, but I did notice that his network was set for both dynamic DHCP and dynamic DNS. I know that either or both of Windstream (my ISP) and my broadband modem requires a pair of static DNS addresses.
    Sure enough, delving real deep into Windstream's support site, I discovered a LinkSys router DNS help page, specifying how to set static DNS addresses in LinkSys routers. I then accessed my router, enterd the known static addresses, saved the router settings, then rebooted the iPhone and connected to the network.
    SUCCESS!!!
    Thanks to Jane, who suggested it was an ISP issue, Jason, and all at Apple support. dumonj, I'll email you directly. Try this suggestion and see if 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.   

  • Have correct info for static IP address but wifi still doesn't work

    The way the internet is set up in my condo building I have to use a set static IP address.  I have all of the information necessary, but it still won't connect to wifi.  Has anyone had this problem?

    Oh, something I should have mentioned initially that makes the case slightly interesting, The wifi works perfectly when connected to the internet via my Time Capsule, but if I turn that off and try to connect to the main router I have to be sat within two feet of the router or I lose connectivity.  I don't really know much at all about internet connections and frequencies and ranges and whatnot, but am I right in saying normal internet is 'n' and the Time Capsule can also emit 'g' and 'b' or something like that? Are there two antennae in the macbook, one that picks up the normal internet and one reserved for the other types and perhaps the one that connects to normal internet is faulty in some way?

  • How to set static IP for Deskjet Ink Advantage 6525 printer ???

    Hello,
    I try to set static IP address,but when i put the IP address from network configuration page in the browser's address bar ,can't find anything.

    Hi,
    Can you ping it ? It may not have anything in there for browsing.
    Updated: Well actually I use my printer and it shows many things - left side:
    Please refer to the following link:
         http://h30434.www3.hp.com/t5/Printer-All-in-One-Install-Setup-e-g-Windows-8/HP-Photosmart-6525-reboo...
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • 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.

  • 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.

  • Hi,  I have just set up my domain email address with google and Im trying to set up mail on my mac.  Its receiving mail but its not letting me send emails from that address.  I have tried quite a few solution but cant figure it out.  Can anyone help

    Hi,  I have just set up my domain email address with google and Im trying to set up mail on my mac.  Its receiving mail but its not letting me send emails from that address.  I have tried quite a few solution but cant figure it out.  Can anyone help

    Hi Lawrence1981,
    Thanks for visiting Apple Support Communities.
    You may want to check this article for additional troubleshooting steps:
    OS X Mail: Troubleshooting sending and receiving email messages
    http://support.apple.com/kb/ts3276
    Cheers,
    Jeremy

Maybe you are looking for

  • IOS Photos - Proper Cloud Backup & Managemetn

    Am I missing a major point here, or is there a big gap in the iOS, iTunes, iCloud design for photo management the way most people (I would guess) want to do it? Excuse the underlining - brevity isn't my forte so trying to highlight the key points. He

  • Onblur doesn't fire on autosuggest cfinput

    Hello, I have a problem with the autosuggest cfinput. I am using Coldfusion 8 and Fusebox 5. Here is the sample of my code. <cfinput name="item_number" maxlength="20" type="text" maxResultsDisplayed="20" autosuggest="cfc:Inventory.model.lookupRoom.lo

  • How to print from windows 7 pc on time capsule network?

    I added a new pc with windows 7 on my time capsule network.  Existing network includes 2 macbook pros and 1 mac mini with boot camp and windows xp.  I have been using the windows xp with bootcamp on the mac mini and printing from it for a couple year

  • Dynamically changing Grid title  in alv using class

    Hi all, I need to get grid title dynamically for single screen for user actions through buttons.What is the option available in cl_gui_alv_grid. in reuse_alv_grid_display one field grid_title is  available .but here i could not able to find anything

  • Problem in Timer Rescheduling

    Hello J2MEians I am implementing a midlet program. This is what I do... Make a HTTP connection to a streaming server to get 40 images at a time and then display those images on the imageitem in the midlet. Display of these images is done by a timer i