{%
    if IpAddr ~= 'nil' and SubnetMask ~= 'nil' then
        echo(string.format('IP Address  : %s\n', IpAddr))
        echo(string.format('Subnet Mask : %s', SubnetMask))
    else
        echo('No maint ip info')
    end
%}