Can i assign 127.127.0.10 IP to an eth interace

Priya 211 Reputation points
2020-10-14T09:53:02.15+00:00

HI,

As I understand 127.0.0.1 is a loopback IP which is reserved to talk to localhost. However for one of my experiments, i want to assign 127.127.x.x IP to one of the eth interfaces in the system. When i tried to assign the IP thru powershell cmdlet from core OS, it reported an error "paramater is invalid"

32259-ip-assign-failure.png

Is there a way i can achieve assigning 127.127.x.x IP to an eth interface on Windows 2019 server.

Thanks in advance for your time.

Thanks!

Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
696 questions
Windows Server Infrastructure
Windows Server Infrastructure
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Infrastructure: A Microsoft solution area focused on providing organizations with a cloud solution that supports their real-world needs and meets evolving regulatory requirements.
526 questions
0 comments No comments
{count} votes

Accepted answer
  1. Candy Luo 12,686 Reputation points Microsoft Vendor
    2020-10-15T06:24:07.177+00:00

    Hi ,

    Is there a way i can achieve assigning 127.127.x.x IP to an eth interface on Windows 2019 server.

    There is no way could achieve your goal. As DSpatrick said, the IP address range 127.0.0.0 – 127.255.255.255(127.0.0.0/8) is reserved for loopback.

    For your reference:

    What is the rest of the 127.0.0.0/8 address space used for?

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Best Regards,

    Candy

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Dave Patrick 426.4K Reputation points MVP
    2020-10-14T13:41:13.14+00:00

    It isn't possible. Addresses starting with 127 are not valid because they're reserved as loopback addresses (127.0.0.0/8)

    This block is assigned for use as the Internet host loopback address. A datagram sent by a higher level protocol to an address anywhere within this block should loop back inside the host. This is ordinarily implemented using only 127.0.0.1/32 for loopback, but no addresses within this block should ever appear on any network anywhere

    https://tools.ietf.org/html/rfc3330

    --please don't forget to Accept as answer if the reply is helpful--


  2. Priya 211 Reputation points
    2020-10-15T06:57:56.747+00:00

    Thank you DSpatrick and Candy.