-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[IPv6 DHCP_Realy] | Disabling or Enabling Option 79 and Interface_id in config_db does not work #16245
Comments
dhcp6relay must be aligned with yang about the field name https://github.com/sonic-net/sonic-dhcp-relay/blob/6a6ce245125d600ad07fc02638e96ba6c18d1b4b/src/config_interface.cpp#L144 |
@Hedgehog-Guru Please try adding dhcpv6 options in config db as follows:
You can also check in syslog to ensure options are disabled: |
@kellyyeh, yang model must be updated if this is the expected configuration. https://github.com/sonic-net/sonic-buildimage/blob/master/src/sonic-yang-models/yang-models/sonic-dhcpv6-relay.yang |
@kellyyeh Can you please fix the yang model? |
Ack'ed, ETA 8/25 |
@kellyyeh Any update? |
Draft PR: #16290 Need to address this issue first |
Why can't we just change the code to use |
@dgsudharsan This issue is dependent on this YANG model fix: #16704 |
@kellyyeh Why can't we do this instead of updating yang? |
Description
If we disable/enable Option 79 and interface_id in config_db for ipv6 dhcp_relay, there is no difference in captured dhcp-relay packets on server side
Steps to reproduce the issue:
config int ip add Ethernet0 2000:100::1/64
Describe the results you received:
There is no difference in captured dhcp-relay packets with different option settings
Describe the results you expected:
We should see/not see Option 79 and interface_id in captured dhcp_relay packets according to option setting in config_db
Output of
show version
:Output of
show techsupport
:sonic_dump_qa-eth-vt03-4-3700v_20230823_102550.tar.gz
Additional information you deem important (e.g. issue happens only occasionally):
packet captures.zip
The text was updated successfully, but these errors were encountered: