Opened 12 years ago
Last modified 4 years ago
#9594 new bug
[net_server] IPv6 Link Local prevents proper interface deletion
Reported by: | diver | Owned by: | kallisti5 |
---|---|---|---|
Priority: | normal | Milestone: | R1.1 |
Component: | Servers/net_server | Version: | R1/Development |
Keywords: | Cc: | shade | |
Blocked By: | Blocking: | #11276 | |
Platform: | All |
Description
This is hrev45432.
ifconfig del /dev/net/ipro1000/0
deletes the interface from ifconfig, but leaves it in net_device_interfaces list. So if one tries to bring back the interface he will get an error:
ifconfig /dev/net/ipro1000/0 up ifconfig: Couldn't add interface: General system error
Removing /system/add-ons/kernel/network/protocols/ipv6 module or commenting out _ConfigureIPv6LinkLocal fixes it.
Change History (10)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Deleting the ipv4 and ipv6 address from the interface prior to deleting it itself doesn't help.
~> ifconfig /dev/net/ipro1000/0 /dev/net/ipro1000/0 Hardware type: Ethernet, Address: 08:00:27:b8:ae:41 Media type: 1 GBit, 1000BASE-T inet addr: 10.0.2.15, Bcast: 10.0.2.255, Mask: 255.255.255.0 inet6 addr: fe80::a00:27ff:feb8:ae41, Bcast: ffff:ffff:ffff:ffff::, Prefix Length: 64 MTU: 1500, Metric: 0, up broadcast link auto-configured Receive: 5 packets, 0 errors, 1872 bytes, 0 mcasts, 0 dropped Transmit: 5 packets, 0 errors, 824 bytes, 0 mcasts, 0 dropped Collisions: 0 ~> ifconfig del /dev/net/ipro1000/0 10.0.2.15 ~> ifconfig del /dev/net/ipro1000/0 fe80::a00:27ff:feb8:ae41 ~> ifconfig /dev/net/ipro1000/0 /dev/net/ipro1000/0 Hardware type: Ethernet, Address: 08:00:27:b8:ae:41 Media type: 1 GBit, 1000BASE-T MTU: 1500, Metric: 0, up broadcast link auto-configured Receive: 5 packets, 0 errors, 1872 bytes, 0 mcasts, 0 dropped Transmit: 5 packets, 0 errors, 824 bytes, 0 mcasts, 0 dropped Collisions: 0 ~> ifconfig del /dev/net/ipro1000/0 ~> ifconfig /dev/net/ipro1000/0 up ifconfig: Could not add interface: General system error ~> ifconfig /dev/net/ipro1000/0 /dev/net/ipro1000/0 Hardware type: Ethernet, Address: 08:00:27:b8:ae:41 MTU: 0, Metric: 0
comment:3 by , 12 years ago
Blocking: | 9695 added |
---|
comment:4 by , 11 years ago
I'm thinking of disabling the local link stuff.. our v6 stack just isn't ready yet. i'm even seeing a local link route with a prefix of -2147454933 in route.
comment:5 by , 11 years ago
I disabled the link local address in hrev45735 for now. Since we lack v6 address scope, it seems to cause more problems than solve at the moment.
follow-up: 8 comment:6 by , 11 years ago
Note that ::/-2147454933 loop, host local
is still there in hrev45736.
comment:8 by , 11 years ago
Replying to diver:
Note that
::/-2147454933 loop, host local
is still there in hrev45736.
The main reason I decided to disable it. If we can't seem to get the loopback correct... the local link up is a little early :)
I have native IPv6 on my home network again, so I'm going to see if I can figure out whats going on here.
comment:10 by , 4 years ago
Milestone: | R1 → R1.1 |
---|
Thanks for catching this one... looking into it now.