put router index into generated gateway mac addrs