Sign in to follow this  
Followers 0
fadedmaximus

trying to set static ipv6 address

4 posts in this topic

I'm trying to set a static ipv6 address in the unattend.xml for deployment but whenever it deploys the address that the machine is assigned isn't the address that is specified in the unattend.xml file. I tried looking around on-line but couldn't find any examples of ipv6 and only ipv6. If anybody can shed some light on how to fix the file to assign a static ipv6 address that would be great.

The unattend file specifies "2001:4898:e8:100b:98de:554a:9c3c:fbbf" as the ipv6 address, but the address that got assigned was "2001:4898:e8:100b:5dff:febc:8217"

Here is the tcp/ip section of the unattend file:


<component name="Microsoft-Windows-TCPIP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Interfaces>
<Interface wcm:action="add">
<Ipv4Settings>
<DhcpEnabled>false</DhcpEnabled>
<Metric>20</Metric>
<RouterDiscoveryEnabled>false</RouterDiscoveryEnabled>
</Ipv4Settings>
<Identifier>Local Area Connection</Identifier>
<Ipv6Settings>
<DhcpEnabled>false</DhcpEnabled>
<Metric>30</Metric>
<RouterDiscoveryEnabled>true</RouterDiscoveryEnabled>
</Ipv6Settings>
<UnicastIpAddresses>
<IpAddress wcm:action="add" wcm:keyValue="1">2001:4898:e8:100b:98de:554a:9c3c:fbbf/22</IpAddress>
</UnicastIpAddresses>
<Routes>
<Route wcm:action="add">
<Identifier>0</Identifier>
<Prefix>0.0.0.0/0</Prefix>
<Metric>10</Metric>
<NextHopAddress><our default gateway address></NextHopAddress>
</Route>
</Routes>
</Interface>
</Interfaces>
</component>

Thanks,

Edited by fadedmaximus
0

Share this post


Link to post
Share on other sites

The IP Address needs to be in CIDR Format, as per [TechNet]

I can't seem to find an online converter for an IPv6 address to CIDR format, just the other way... or IPv4.

0

Share this post


Link to post
Share on other sites

The IP Address needs to be in CIDR Format, as per [TechNet]

I can't seem to find an online converter for an IPv6 address to CIDR format, just the other way... or IPv4.

I found this site: dns crawler]

Adding in the ip address: 2001:4898:e8:100b:98de:554a:9c3c:fbbf

and the subnet mask 255.255.252.0, or /22, I get the netmask to be ffff:fc00:0:0:0:0:0:0

The calculator gives me:

CIDR Block

2001:4898:e8:100b:98de:554a:9c3c:fbbf/22

That is the address that I had initially set, so it appears that it is already in CIDR format like it requires.


<UnicastIpAddresses>
<IpAddress wcm:action="add" wcm:keyValue="1">2001:4898:e8:100b:98de:554a:9c3c:fbbf/22</IpAddress>
</UnicastIpAddresses>

Edited by fadedmaximus
0

Share this post


Link to post
Share on other sites

fadedmaximus, do you realize you are creating about 81 x 10 to the 30th power addresses? Did you mean to do this or 4,194,304 addresses (128-22=106 for the mask)? In your first post, the IP address changed to has only seven 16 bit values. One must be missing. I was curious how it was being changed. Where are you observing the assigned address, HW or VM? Are you stepping on some reserved addresses (a crazy guess/question). Enjoy, John

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.