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

Re: autoconfiguring inet6 with ifup/down



Adam M. wrote:

Joost Witteveen wrote:


I just enabled ipv6 on my main computer, and activated radvd on the
local LAN port.
After that, as by magic, the ethernet card on my other properly
configures itself with just a "ifconfig eth0 up", really cool.

However, I don't see what I should write in /etc/network/interfaces to
make ifup eth0 just do a "ifconfig eth0 up", letting the
autoconfiguring of ipv6 doing it's work.

You could use the 'manual' method (I think).

auto eth0
iface eth0 inet manual


I just put that in my interfaces file, but "ifup eth0" now doesn't configure the IPv6 part:

muso# ifconfig eth0 down
muso# ifup eth0
muso# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:10:DC:33:8F:E1 inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
         BROADCAST MULTICAST  MTU:1500  Metric:1
         RX packets:13548 errors:0 dropped:0 overruns:0 frame:0
         TX packets:9216 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:14649370 (13.9 MiB)  TX bytes:922057 (900.4 KiB)
         Interrupt:11 Base address:0x7000


The IPv6 part should autoconfigured regardless, but this should bring
your interface up.


apparently, it isn't. (also, 'ifdown eth0' doesn't bring the IPv6 part down, if it is up).

--
Groetjes
joostje
47d3fcfe28f2a83497e79d9bc7d5087c-4a1ee1fddab4648175518cb4c1c9edb3ed0e89f0



Reply to: