Topic
2 replies Latest Post - ‏2011-08-25T14:00:37Z by SystemAdmin
Kunjuttan001
Kunjuttan001
1 Post
ACCEPTED ANSWER

Pinned topic Configuring IP address

‏2011-08-24T09:52:59Z |
Hi,

How can I configure ip address to a network card using command line?
Updated on 2011-08-25T14:00:37Z at 2011-08-25T14:00:37Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    134 Posts
    ACCEPTED ANSWER

    Re: Configuring IP address

    ‏2011-08-25T13:58:27Z  in response to Kunjuttan001
    If you want to configure without saving for reboot, there's

    ifconfig en0 addr
    • SystemAdmin
      SystemAdmin
      134 Posts
      ACCEPTED ANSWER

      Re: Configuring IP address

      ‏2011-08-25T14:00:37Z  in response to SystemAdmin
      (Sorry, browser problems caused me to post early)

      If you want to configure across reboots

      chdev -l en0 -a netaddr=10.0.0.1