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#2244 - This package odhcpd-ipv6only cannot send IPv6 addresses to the lower level. #7127

Closed
openwrt-bot opened this issue Apr 19, 2019 · 10 comments
Labels

Comments

@openwrt-bot
Copy link

PussAzuki:

Supply the following if possible:

  • Device problem occurs on
  • Software versions of OpenWrt/LEDE release, packages, etc.
  • Steps to reproduce

Hello, this occurs on PSG1218 (MTK MIPS) on fresh build from trunk. Issue only started after the odhcpd commit on 4/17.

I have been using this configuration before.And I use 6in4 tunnel.

config interface 'losangeles'
option proto '6in4'
option ipaddr 'xxx.xxx.xxx.xxx'
option peeraddr '66.220.18.42'
option ip6addr '2001:470:x:xxxx::2/64'
option ip6prefix '2001:470:y:xxxx::/64'
option mtu '1424'

config dhcp 'lan'
option interface 'lan'
option ra 'server'
option start '2'
option limit '63'
option leasetime '48h'
option ra_management '1'
option dhcpv6 'server'

config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'

Everything looks the same as before, at least from the router side.But all the subordinate devices can't get ipv6 related.I tried for a long time to find the problem on the router side or the tunnel problem.Then I found that I used the 6in4 tunnel with the computer with windows or the router itself.If you manually set the ipv6 address and gateway on Windows, it can be used normally.So, it is obviously a problem with the package odhcp.I urgently hope that someone can help me.

@openwrt-bot
Copy link
Author

dedeckeh:

If you would be capable of taking a tcpdump trace I'm interested to see the contents of the RA messages on the lan

@openwrt-bot
Copy link
Author

PussAzuki:

I am sorry that the content I wrote is similar to other posts, but I am really a newcomer in this field.And I am currently using Windows, it seems that I can't do tcpdump.But after reading another article you said, I also improved the log level.Here you are

@openwrt-bot
Copy link
Author

PussAzuki:

On Windows, I manually set the IPv6 address and gateway first, then I changed the automatic access method to directly lose the access rights of IPv6.So this is why the log may look a bit strange

@openwrt-bot
Copy link
Author

PussAzuki:

OK,finally I got one

@openwrt-bot
Copy link
Author

dedeckeh:

Could you take the tcpdump as follows : tcpdump -i br-lan -vvv ip6
It will filter the IPv6 messages and will display the contents

@openwrt-bot
Copy link
Author

PussAzuki:

I use windump on Windows,and my link interface is 1 .

@openwrt-bot
Copy link
Author

PussAzuki:

Now I am using dnsmasq-full and no such problem any more.

@openwrt-bot
Copy link
Author

dedeckeh:

Be patient; a fix is coming ...

@openwrt-bot
Copy link
Author

@openwrt-bot
Copy link
Author

PussAzuki:

Thank you for helping me.

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