MSFN Forum: trying to set static ipv6 address - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

trying to set static ipv6 address

#1 User is offline   fadedmaximus 

  • Group: Members
  • Posts: 2
  • Joined: 17-October 12
  • OS:none specified
  • Country: Country Flag

Posted 17 October 2012 - 03:07 PM

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,

This post has been edited by fadedmaximus: 17 October 2012 - 05:29 PM



#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,726
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 18 October 2012 - 08:50 AM

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.

#3 User is offline   fadedmaximus 

  • Group: Members
  • Posts: 2
  • Joined: 17-October 12
  • OS:none specified
  • Country: Country Flag

Posted 18 October 2012 - 10:44 AM

View PostTripredacus, on 18 October 2012 - 08:50 AM, said:

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>


This post has been edited by fadedmaximus: 18 October 2012 - 10:53 AM


#4 User is offline   johnhc 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,362
  • Joined: 02-March 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 October 2012 - 01:52 PM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy