--- net.py 2014-09-03 10:45:31.187354960 +0200 +++ net.new.py 2014-09-03 10:45:21.511107855 +0200 @@ -292,7 +292,7 @@ info( host.name + ' ' ) intf = host.defaultIntf() if intf: - host.configDefault() + if intf.prefixLen: + host.configDefault(ip=intf.ip+'/'+intf.prefixLen,mac=intf.mac) + else: + host.configDefault(ip=intf.ip,mac=intf.mac) else: # Don't configure nonexistent intf host.configDefault( ip=None, mac=None )