-
Notifications
You must be signed in to change notification settings - Fork 9
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 Relay on interface #5
Comments
Hi @EtienneMILON can you show the full stacktrace or the error message? |
Hello @shibumi , I had the exception : "smc.api.exceptions.UpdateElementFailed: Impossible to store the element mycluster_test. Element appears invalid: mycluster_test Firewall Cluster has an invalid Physical Interface configuration: Interface 0. One relayed by DHCP CVI belongs to this Physical Interface but it has no defined enabled DHCP relay." I use the following code:
I don't have error with this code but in the SMC the interface has no DHCP relay configured. Etienne |
Hello, I do not know if it can helps you but here it is what I've done to make it works
BR, |
Hello Greg, You were right, it works with interface.update():
I sometimes have exception but it works. Best regards, |
Hello @EtienneMILON , I can get an Host Elements href, but I couldn't find how to get a Server Element href Thanks |
Hello @alexnogard , Here is an example:
BR, |
Thanks @ggrimaux Regards |
@ggrimaux Last question : When I try to set the DHCP Relay on VLAN Int : interface = engine.interface.get('0.10') I've this error : I made a test, I created a cluster Interface (id 10) and a vlan (id 10), empty, and it worked. So I dont understand what it's not working on my vlan 0.10 Thanks for your help |
Hello, As I understand, when there is a CVI for the interface you have to enable the "relayed_by_dhcp" option for the CVI.
I also have exceptions sometimes but it looks to work. I think these exceptions are more warning than error. Best regards, |
Hello, Sorry for my late answer. @EtienneMILON is right.
I hope this will help you. BR, |
Hello guys, |
Hello,
I try to configure a DHCP relay on an interface.
I tried with following parameters but it doesn't work :
Is there a possibility to do this?
I use fp-NGFW-SMC-python 0.7.0b23.
Best regards,
Etienne
The text was updated successfully, but these errors were encountered: