change MACMapping from map[string]string to []SubNet