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

DHCP on WAN VLAN 4 no longer offers router #39

Open
thmjanssen opened this issue Nov 2, 2021 · 4 comments
Open

DHCP on WAN VLAN 4 no longer offers router #39

thmjanssen opened this issue Nov 2, 2021 · 4 comments

Comments

@thmjanssen
Copy link

The update_iptv_route.sh script to update the routing on the USG for IPTV assumes DHCP on VLAN 4 offers a router. This is no longer the case on KPN's network (at least in my case).
By updating line 7 into this, it works again:

r_ip=$(cat /var/run/dhclient_eth0.4_lease | grep new_dhcp_server_identifier | awk -F= '{print $2}' | tr -d \');

@cascornelissen
Copy link

Ran into the same issue, two things I noticed while debugging this:

  • I think there's a typo in your snippet? I had to use eth2.4 instead of eth0.4 as there's no eth0.4 on my system?
  • In my case, with the eth2.4, it returns the same IP address as listed in the original show dhcp client leases interface eth2.4 command under dhcp server

@thmjanssen
Copy link
Author

You have a USG Pro? On the USG 3P eth0 is the WAN interface.

@cascornelissen
Copy link

I do indeed, thanks for clearing that up!

@coolhva
Copy link

coolhva commented Dec 7, 2021

Please be aware that KPN officially recommends RFC 3442 implementation (dhcp exit hook that configured the static routes). If KPN changes this to something else then the DHCP server your setup will stop working.

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

No branches or pull requests

3 participants