Virtual interfaces and IPv4/IPv6



Hi!

Since the upgrade of bridge-utils from 1.5-2 to 1.5-3 (testing) my bridge doesn’t get its IPv4 configuration anymore, only the IPv6 configuration.

While I may have found a workaround (I’ll test it tomorrow), I found bug #319832. It is quite old, but nothing has changed since then. I am wondering if we can get a solution into Wheezy since IPv6 gets more and more used.

So how do we configure a bridge or vlan interface with IPv4 and IPv6? The last version of ifupdown in testing needs still two stanzas (inet and inet6) instead of one (e.g. iface eth0 ip static, inet address …, inet6 address …). So I need „iface xenbr0 inet static” and „iface xenbr0 inet6 static” stanzas. Which stanza should contain the bridge or VLAN configuration? Until the upgrade the bridge configuration was added to both stanzas which produced an error but was working.

The bug report mentions that ip could handle VLAN and bridge configuration itself, but the vlan and bridge-utils packages are still available.

So what are the future plans? It would be great as well if I could de-/configure a part of an interface (e.g. IPv6 while keeping the IPv4 settings), maybe with „ifdown eth0 inet6”?

Stephan

--
| Stephan Seitz E-Mail: stse@xxxxxxxxxxxxxxxxxxx |
| Public Keys: http://fsing.rootsland.net/~stse/keys.html |

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Relevant Pages

  • ipv6_enable
    ... hrs@ has been doing some great work on bringing IPv6 support up to par ... with IPv4, and deserves a lot of credit for that work. ... That variable was previously overloaded to allow general IPv6 ... There should be an ipv6_enable knob to easily turn IPv6 configuration ...
    (freebsd-current)
  • Re: IPv6 Routing Problem
    ... IPv4 that compile with bridge module? ... True layer 2 bridging is independent of layer 3 protocols such as IPv4 or IPv6. ... However, to be honest, I don't know if and how it is possible to do at the same time routing and bridging between the same pair of interfaces. ...
    (comp.os.linux.networking)
  • Re: How to config ipv6 for this instance
    ... ipv6 works on my FreeBSD, as well as linux platform. ... The following step show how to configuration ipv6 on the top of ipv4. ...
    (freebsd-questions)
  • Re: http://www.ntp.org/ => a blank page?
    ... The IPv4 address is used only after the IPv6 address has timed out, ... though the DNS server first returns an IPv4 ... This may indeed be the best option for your configuration. ...
    (comp.protocols.time.ntp)
  • Re: Linphone
    ... Your machine appears to be connected to an IPv6 network. ... linphone always uses IPv4. ... Please update your configuration if you want ... Very logical if you ask me because it said linphone uses ipv4 by default ...
    (alt.os.linux.suse)