{"id":12,"date":"2023-02-19T21:41:11","date_gmt":"2023-02-19T12:41:11","guid":{"rendered":"https:\/\/www.ftnn.jp\/?page_id=12"},"modified":"2023-08-21T10:25:00","modified_gmt":"2023-08-21T01:25:00","slug":"%e5%82%99%e5%bf%98%e9%8c%b2","status":"publish","type":"page","link":"https:\/\/www.ftnn.jp\/?page_id=12","title":{"rendered":"\u5099\u5fd8\u9332"},"content":{"rendered":"\n<p><strong>Create Virtual Switch(SET)<\/strong><br>New-VMSwitch -Name \u201c\uff1c\u4eee\u60f3\u30b9\u30a4\u30c3\u30c1\u540d\uff1e\u201d -NetAdapterName \u201c\uff1cNIC\u30a2\u30c0\u30d7\u30bf\u540d\uff1e\u201d,&#8221;\uff1cNIC\u30a2\u30c0\u30d7\u30bf\u540d\uff1e&#8221;  -EnableEmbeddedTeaming $True<\/p>\n\n\n\n<p>Set-VMSwitchTeam -Name \u201c\uff1c\u4eee\u60f3\u30b9\u30a4\u30c3\u30c1\u540d\uff1e\u201d -LoadBalancingalgorithm Dynamic<\/p>\n\n\n\n<p>Get-VMSwitchTeam\u3000-Name &#8220;\uff1c\u4eee\u60f3\u30b9\u30a4\u30c3\u30c1\u540d\uff1e&#8221;<\/p>\n\n\n\n<p>Add-VMNetworkAdapter -ManagementOS -Name \u201c\uff1c\u8b58\u5225\u540d\uff1e\u201d -SwitchName \u201c\uff1c\u4eee\u60f3\u30b9\u30a4\u30c3\u30c1\u540d\uff1e\u201d<\/p>\n\n\n\n<p>Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName \u201c\uff1c\u8b58\u5225\u540d\uff1e\u201d -Access -VlanId \uff1cVLAN ID\uff1e<\/p>\n\n\n\n<p>Get-VMNetworkAdapterVlan -ManagementOS<\/p>\n\n\n\n<p>Set-VMSwitch &#8220;\uff1c\u4eee\u60f3\u30b9\u30a4\u30c3\u30c1\u540d\uff1e&#8221; -AllowManagementOS $False<\/p>\n\n\n\n<p>Ref.&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/previous-versions\/orphan-topics\/ws.11\/mt403349(v=ws.11)?redirectedfrom=MSDN\">https:\/\/learn.microsoft.com\/en-us\/previous-versions\/orphan-topics\/ws.11\/mt403349(v=ws.11)?redirectedfrom=MSDN<\/a><\/p>\n\n\n\n<p><strong>IPv4 Address Set<br><\/strong>Get-NetAdapter | New-NetIPAddress -AddressFamily IPv4 -IPAddress 10.0.0.0 -PrefixLength 24 -DefaultGateway 10.0.0.1<\/p>\n\n\n\n<p><br><strong>IPv6 Address Set<br><\/strong>Get-NetAdapter | New-NetIPAddress -AddressFamily IPv6 -IPAddress 2001:1:2:3:4:5:6:7 -PrefixLength 24 -DefaultGateway 2001:1:2:3:0:0:0:1<\/p>\n\n\n\n<p><br><strong>Set Link Local Address for DefaultGateway<br><\/strong>Get-NetAdapter | New-NetIPAddress -AddressFamily IPv6 -IPAddress 2001:1:2:3:4:5:6:7 -PrefixLength 24Get-NetAdapter | New-NetRoute -AddressFamily IPv6 -DestinationPrefix ::\/0 -NextHop fe80::1<\/p>\n\n\n\n<p><strong>Disable autoconfig<\/strong><br>Set-NetIPInterface -RouteDiscovery Disabled<\/p>\n\n\n\n<p><strong>DNS Setting<br><\/strong>Get-NetAdapter | Set-DnsClientServerAddress -ServerAddress 10.0.0.1, 10.0.1.1, 2001::1, 2002::1<br><\/p>\n\n\n\n<p><strong>Restart NIC<br><\/strong>Get-NetAdapter | Restart-NetAdapter<br><\/p>\n\n\n\n<p><strong>Unset defaultgateway<br><\/strong>Get-NetAdapter | Remove-NetRoute -DestinationPrefix 0.0.0.0\/0 -confirm $False<br>Get-NetAdapter | Remove-NetRoute -DestinatiopnPrefix ::\/0 -confirm $False<br><\/p>\n\n\n\n<p><strong>DHCP Enable<br><\/strong>Get-Netadapter | Set-NetIPInterface -AddressFamily IPv4 -Dhcp Enabled<br><\/p>\n\n\n\n<p><strong>Add DNS suffix<br><\/strong>Get-NetAdapter | Set-DnsClient \u201cEthernet\u201d -ConnectionSpecificSuffix \u201cexample.com\u201d<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">RouterOS<\/h2>\n\n\n\n<p>TRUNK\u53c2\u8003    https:\/\/forum.rb-ug.jp\/t\/topic\/229<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Create Virtual Switch(SET)New- <a class=\"more-link\" href=\"https:\/\/www.ftnn.jp\/?page_id=12\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-12","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ftnn.jp\/index.php?rest_route=\/wp\/v2\/pages\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ftnn.jp\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ftnn.jp\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ftnn.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ftnn.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12"}],"version-history":[{"count":5,"href":"https:\/\/www.ftnn.jp\/index.php?rest_route=\/wp\/v2\/pages\/12\/revisions"}],"predecessor-version":[{"id":37,"href":"https:\/\/www.ftnn.jp\/index.php?rest_route=\/wp\/v2\/pages\/12\/revisions\/37"}],"wp:attachment":[{"href":"https:\/\/www.ftnn.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}