L2 Cache

Behold the power of |!

User Tools

Site Tools


snipets:solaris:smartos-ipv6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
snipets:solaris:smartos-ipv6 [2014/07/26 20:34]
sjorge [network helper]
snipets:solaris:smartos-ipv6 [2014/10/09 22:02] (current)
Line 1: Line 1:
-===== Introduction ​=====+===== SmartOS IPv6 =====
 While doing my migration from ESXi @ Kimsufi to SmartOS @ SyS I noticed I had a full IPv6 /64 available for me. While doing my migration from ESXi @ Kimsufi to SmartOS @ SyS I noticed I had a full IPv6 /64 available for me.
 Sounds like a good idea to drop my current tunneled setup. Below is how to make your GZ IPv6 reachable and a template to do the same for zones. Sounds like a good idea to drop my current tunneled setup. Below is how to make your GZ IPv6 reachable and a template to do the same for zones.
Line 80: Line 80:
 <code json> <code json>
 { {
-  "​alias":​ "​testvm",​ 
-  "​hostname":​ "​testvm",​ 
   "​brand":​ "​joyent",​   "​brand":​ "​joyent",​
-  "​max_physical_memory": ​256+  ​"​image_uuid":​ "​d34c301e-10c3-11e4-9b79-5f67ca448df0",​ 
-  "dataset_uuid": "8639203c-d515-11e3-9571-5bf3a74f354f",+  "​hostname":​ "<​fqdn>",​ 
 +  "​alias":​ "<​name>",​ 
 +  "​autoboot":​ true, 
 +  "​nowait":​ false, 
 +  "​quota":​ 25, 
 +  "​cpu_shares":​ 100, 
 +  ​"​max_physical_memory": ​512
 +  "zfs_io_priority": ​100, 
 +  ​"zfs_root_compression":​ "​lz4",​ 
 +  "​resolvers":​ [ "​8.8.8.8",​ "​8.8.4.4" ​],
   "​nics":​ [   "​nics":​ [
     {     {
-      "​nic_tag":​ "switch0", +      "​nic_tag":​ "admin",​ 
-      "​ip":​ "172.16.0.2", +      "​mac":​ "<​mac>​", 
-      "​netmask":​ "​255.255.255.0", +      "​ip":​ "<​ip4_block>​.<​host>​", 
-      "​allow_ip_spoofing": ​"​1",​ +      "​netmask":​ "​255.255.255.255", 
-      "​gateway":​ "​172.16.0.1"​+      "​allow_ip_spoofing": ​true
-      "​primary": ​"​1"​+      "​primary": ​true
     }     }
-  ]+  ]
 +  "​customer_metadata":​ { 
 +    "​user-script":​ 
 +      "route add <​ip4_block>​.0/​24 5.135.127.99 -interface ; route add default <​gateway-from-server>​ ; ipadm create-addr -t -T addrconf net0/v6a ; ipadm create-addr -t -T static -a <​ip6_block>::<​host>​ net0/v6s ; route add -inet6 <​ip6_block>::/​56 <​ip6_block>::<​host>​ -interface ; route add -inet6 default <​ip6_block_part>​ff:​ff:​ff:​ff:​ff"​ 
 +  }
 } }
 </​code>​ </​code>​
  
snipets/solaris/smartos-ipv6.1406399695.txt.gz · Last modified: 2014/10/09 22:02 (external edit)