Use interface network id, not dpn network id, to decide between gre and mac2mac.