1

Closed

Gateway

description

i have a issue with setting gateway in Add-LabMachineDefinition.

Seems that the problem is in AutomatedLabDefinition.psm1
Line: 1886
if ($Gateway) { $machine.NetworkAdapters[0].Ipv4Gateway = $Gateway }
should be
if ($Gateway) { $machine.NetworkAdapters[0].Ipv4Gateway.add($Gateway) }
Closed Feb 5, 2016 at 10:13 AM by raandree
No further response, unable to reproduce

comments

raandree wrote Jan 5, 2016 at 1:45 PM

Thanks for reporting this and have taken the time to come up with a fix.

Can you please provide the script that you use to reproduce the issue.

-Raimund

wrote Feb 5, 2016 at 10:13 AM