-
Notifications
You must be signed in to change notification settings - Fork 40
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 Host Name Option #42
Comments
I will add that I need to send DHCP host-name option on Management interface only. In the first step I modified /etc/dhcp/dhclient-default.conf manually adding "send host-name = gethostname();" to verify that new option will be sent interface "ma1" { It works but obviously it is not right way - it was a simple verification only. In the next step I tried to use Event-Handler mechanism described https://eos.arista.com/adding-interface-dhcp-support-with-an-event-handler/ but unfortunately it doesn't work for me. I have prepare my own /mnt/flash/dhclient.conf file (with an additional line "send host-name = gethostname();" to force sending host-name) and added thsi file as a parameter to dhclient ( dhclient -pf $PIDFILE -lf $LEASEFILE -sf $DHCLIENTSCRIPT -cf $DHCLIENTCONF $KERNELINTF) Next I tested the following scenarios:
Do you have any idea how to configure DHCP properly to send host-name option on Ma1 interface? Regards, |
Not sure if this is the best place where to ask for this kinda non-EosSdk related thing, I'd recommend reaching out to support@arista.com, they can either tell you what to do or find someone that knows. |
Hi,
Is it possible to enable on the Arista switch sending Host-Name option in DHCP? - thru CLI or SDK API
By default only Client-Identifier option is sent.
Regards,
Krzysztof
The text was updated successfully, but these errors were encountered: