HyperVDsc icon indicating copy to clipboard operation
HyperVDsc copied to clipboard

VMSwitch: Add NAT virtual switch support

Open iainbrighton opened this issue 9 years ago • 6 comments

With the introduction of Server 2016 TP3/TP4 there is a new NAT virtual switch type. This should be added to the xVMSwitch resource. How the NAT specific properties are handled will need to ironed out before implementing.

iainbrighton avatar Jan 04 '16 12:01 iainbrighton

Do you think this should be a separate resource? If you are creating a NAT switch there are certain other steps that we need to perform such as setting the IP Range and Subnet. I have a resource that is already written for this and I can push it here. https://github.com/rchaganti/DSCResources/tree/master/cHyper-V/DSCResources/cNatSwitch

Thoughts?

rchaganti avatar Feb 05 '16 14:02 rchaganti

@rchaganti I would love to see that functionality merged in! The only reason I mention a separate resource is if the NetNat cmdlets be used with some other functionality than the virtual NAT switch, like RRAS? If so, I think they probably should be in a separate resource.

iainbrighton avatar Feb 06 '16 19:02 iainbrighton

@rchaganti @PlagueHO @kwirkykat Now that Server 2016 is officially out, can we think about implementing this? The *-NetNat cmdlets aren't really Hyper-V specific, so should they be in the xHyper-V module or another/different module?

iainbrighton avatar Oct 19 '16 21:10 iainbrighton

@iainbrighton @rchaganti @kwirkykat - Good point. Perhaps xNetworking is a more appropriate location?

PlagueHO avatar Oct 20 '16 01:10 PlagueHO

xNetworking is suitable for this given that this has nothing to with VM switches. I am in the process of refactoring cHyper-V and push this to xNetworking.

rchaganti avatar Oct 23 '16 11:10 rchaganti

@rchaganti - Nice! :grin:

PlagueHO avatar Oct 23 '16 21:10 PlagueHO