Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. HowTo: Set IP address of a Device Using MAC???

HowTo: Set IP address of a Device Using MAC???

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
3 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Basavaraj P Umadi
    wrote on last edited by
    #1

    hi, i want to set IP address to a device (not a PC) that has a ethernet port. i know the MAC address of the device. Using MAC address i want to set a custom IP address to it. i searched for WIN32APIs, and this forum but did not get a solution... plz help me in this regard...:confused: if any other windows based programming has this feature plz let me know... - thanks, Basavaraj P.Umadi

    A 1 Reply Last reply
    0
    • B Basavaraj P Umadi

      hi, i want to set IP address to a device (not a PC) that has a ethernet port. i know the MAC address of the device. Using MAC address i want to set a custom IP address to it. i searched for WIN32APIs, and this forum but did not get a solution... plz help me in this regard...:confused: if any other windows based programming has this feature plz let me know... - thanks, Basavaraj P.Umadi

      A Offline
      A Offline
      Anonymous
      wrote on last edited by
      #2

      Hi This will affect only your own computer: check ARP command use (set a static ip address to a MAC address) e.g. arp -s 44.22.33.11 00-01-02-03-04-05 I've used this to get in touch with external print servers with unknown IP address HTH

      B 1 Reply Last reply
      0
      • A Anonymous

        Hi This will affect only your own computer: check ARP command use (set a static ip address to a MAC address) e.g. arp -s 44.22.33.11 00-01-02-03-04-05 I've used this to get in touch with external print servers with unknown IP address HTH

        B Offline
        B Offline
        Basavaraj P Umadi
        wrote on last edited by
        #3

        thanks a lot for the response.... i tried the ARP thing.. BUT..... it sets only the STATIC IP address to my device.. when i ping to that IP it wont respond...:sigh: :confused: plz tell me by anyway i can set the DYNAMIC IP... i have one application which sets DYNAMIC IP.. :-O but i m not able to do the same in my code...:~ - thanks and regards, Basavaraj P.Umadi

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups