[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: autoconfiguring inet6 with ifup/down



Sami Haahtinen wrote:


I think
ifupdown should have an inet6 autoconf method that would just bring up
the interface.

The following patch to the ifupdown source does just that. Would it be OK to send this patch upstream?

diff -u -r ifupdown-0.6.7/inet6.defn ifupdown-0.6.7-autoconf/inet6.defn
--- ifupdown-0.6.7/inet6.defn   2005-05-02 15:58:08.000000000 +0200
+++ ifupdown-0.6.7-autoconf/inet6.defn  2005-05-14 16:12:55.000000000 +0200
@@ -31,6 +31,17 @@
  down
    ifconfig %iface% down

+
+method autoconf
+  description
+    This method may be used to autoconfigure IPv6 interfaces, using
+    Router Advertisement messages.
+  up
+    ifconfig %iface% up
+  down
+    ifconfig %iface% down
+
+
method v4tunnel
  description
    This method may be used to setup an IPv6-over-IPv4 tunnel. It requires




This now works OK with the following interfaces file:

auto eth0
iface eth0 inet6 autoconf


--
Groetjes
joostje
47d3fcfe28f2a83497e79d9bc7d5087c-4a1ee1fddab4648175518cb4c1c9edb3ed0e89f0



Reply to: