Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#463 - up/down on a usbnet interfaces fails to reassign ULA addresses #5498

Open
openwrt-bot opened this issue Feb 4, 2017 · 1 comment
Open
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Feb 4, 2017

dtaht:

Supply the following if possible:

  • Device problem occurs on: anything running usbnet
  • Software versions of LEDE release, packages, etc: head
  • Steps to reproduce:

Install the usbnet package, enable a usb0 device in /etc/config/network

(in my case this is a c.h.i.p, but most hackerboards except the pi do usbnet)

config interface 'usb0'
option ifname 'usb0'
option proto 'static'
option ipaddr '172.26.97.200'
option netmask '255.255.255.255'
option ip6assign '64'
option ip6class 'local'

So long as the chip beats the router to booting, this gives it an ipv4 and ipv6 ULA out of the pool.

Reboot the device on the other side. The kernel deregisters and registers the usbnet driver, and netifd assigns the ipv4 address again.

However the ip6 subnet that was assigned from the ula does not come back. Haven't tried it with a public address.

ifup/ifdown does not work and the ifstatus usb0 does not show any ipv6 addresses assigned.

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Feb 4, 2017

dtaht:

ifdown/ifup (does not reassign the ipv6 addr), to clarify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant