Re: MACVLANs really best solution? How about a bridge with multiple bridge virtual interfaces? (was Re: [PATCH] macvlan: Support creating macvlans from macvlans)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mark Smith <nanog@...>
Cc: Patrick McHardy <kaber@...>, David Miller <davem@...>, <netdev@...>, Eric W. Biederman <ebiederm@...>, <shemminger@...>
Date: Saturday, March 7, 2009 - 12:30 pm

Mark Smith wrote:

At least for my use, having them all blindly TX is fine. For thousands
of interfaces, if you did this right and also delivered all broadcast
packets locally
(ie, ARP), you will cause a lot of overhead, and unless you are running
a patched
kernel (or namespaces perhaps), you can't really communicate with
yourself over the
network anyway using IP.

For the behaviour you want, try adding pairs of VETH interfaces and add
one end
of the veth's to the bridge. Add a physical port to the bridge for
egress. Since this
can be done, I don't really see any reason to change mac-vlan
significantly...

If the veth/bridge thing doesn't work, then let us know, as I think that
would be
a bug. I use a similar-to-veth virtual-device pair in this way and it
works fine.

Thanks,
Ben

--
Ben Greear
Candela Technologies Inc http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: MACVLANs really best solution? How about a bridge with m..., Eric W. Biederman, (Mon Mar 9, 10:56 am)
Re: MACVLANs really best solution? How about a bridge with m..., Eric W. Biederman, (Mon Mar 9, 12:34 pm)
Re: MACVLANs really best solution? How about a bridge with m..., Ben Greear, (Sat Mar 7, 12:30 pm)