Thread (13 messages) 13 messages, 7 authors, 2010-02-26

Re: [Bridge] [RFC 0/5] bridge - introduce via_phys_dev feature

From: richardvoigt@gmail.com <hidden>
Date: 2010-02-26 16:52:53
Also in: bridge

Possibly related (same subject, not in this thread)

On Fri, Feb 26, 2010 at 10:18 AM, Stephen Hemminger
[off-list ref] wrote:
Looking back at this. What if the API was simpler:

Instead of:
quoted
Typical session looks like

| s...@10.10.0.160$ brctl addbr br0
| s...@10.10.0.160$ ifconfig br0 up
| s...@10.10.0.160$ echo 1 > /sys/class/net/bridge/br0/via_phys_dev
| s...@10.10.0.160$ brctl addif br0 eth0
| (...waiting a bit...)
| s...@10.10.0.160$
Why not:
 1. Setup bridge (and any other interfaces except eth0); includes bringing br0 up
 2. Add eth0 to bridge with new flag to inherit
      a. brctl addif br0 eth0 inherit

Inherit functionality would need to move address (Ether, IP, IPv6)
and routes from eth0 to br0.
I will see about doing it as much as possible in userspace.
How about inheriting the up/down status as well, this way the bridge
can be left down until the settings are inherited, and will come up
with the inherited MAC address, IP address, and routing table instead
of changing while live?
_______________________________________________
Bridge mailing list
Bridge@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/bridge
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help