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

Better feedback from dhcp assoc #120

Open
paalbra opened this issue Feb 10, 2020 · 0 comments
Open

Better feedback from dhcp assoc #120

paalbra opened this issue Feb 10, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@paalbra
Copy link
Contributor

paalbra commented Feb 10, 2020

Feedback from dhcp assoc could be better if you try to associate the a MAC an IP that already has the MAC associated.

TEST> host info xxx.example.com                                                                                                                    
Name:         xxx.example.com
Contact:      
A_Records     IP              MAC
              10.0.0.100      00:11:22:33:aa:bb
TTL:          (Default)
TEST> dhcp assoc xxx.example.com 00:11:22:33:aa:bb                                                                                                 
WARNING: : mac 00:11:22:33:aa:bb already in use by: 10.0.0.100. Use force to add 10.0.0.100 -> 00:11:22:33:aa:bb as well.
TEST> dhcp assoc xxx.example.com 00:11:22:33:aa:bb -force                                                                                          
OK: : new and old mac are identical. Ignoring.
OK: : associated mac address None with ip 10.0.0.100
@paalbra paalbra added enhancement New feature or request good first issue Good for newcomers labels Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant