Package: ifupdown
Version: 0.7~alpha5+really0.6.16
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

iproute has now support for network namespaces. For example:

 # ip netns create ns1
 # ip link set eth1 netns ns1
 # ip netns exec ns1 ip addr add 192.168.1.1/24 dev eth1

It would be great if ifupdown had support for netns as well. It would need to:
 1. move the given interface into the appropriate namespace (like with "ip 
link")
 2. configure the interface as usual (but is now in another namespace)
 3. execute any up/down script into the appropriate namespace

Either we could rely on "ip netns" to do all that or do it ourselves
(but with compatibility with "ip netns") by issuing the appropriate
setns() call before handling the interface. As ifupdown uses ifconfig,
it seems easier to use the first approach. Each call could be wrapped
in "ip netns exec" when the "netns" keyword is present.

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ifupdown depends on:
ii  libc6      2.13-22
ii  lsb-base   3.2-28
ii  net-tools  1.60-24.1

ifupdown recommends no packages.

Versions of packages ifupdown suggests:
ii  iproute          20111117-1
ii  isc-dhcp-client  4.1.1-P1-17
ii  ppp              2.4.5-5

- -- debconf information:
  ifupdown/convert-interfaces: true

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk7nCSwACgkQKFvXofIqeU4JXACgm/Wpi7ghY31q+dCiunZEHeHp
OzUAoLS0eQWSq3tt9IQ2FF/TRZSbfXwk
=TR1t
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to