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 hard coded #1

Open
mattsm opened this issue Oct 12, 2015 · 4 comments
Open

dhcp hard coded #1

mattsm opened this issue Oct 12, 2015 · 4 comments

Comments

@mattsm
Copy link
Contributor

mattsm commented Oct 12, 2015

DHCP addresses that the WAN gives the DUT from it's DHCP server are hard coded to a private range of IP addresses

@mbanders
Copy link
Contributor

What range of IP addresses should it offer from? Is that something you think should be set in the config file?

@mattsm
Copy link
Contributor Author

mattsm commented Oct 12, 2015

Yes, also keep in mind per site DNS servers in the config. So probably a dict with a default. Could also try to query it from the WAN machine, but that could get too complex

@mbanders
Copy link
Contributor

You're suggesting changing these lines, right?

boardfarm/devices/debian.py

Lines 162 to 165 in 843e1ac

if self.location == "chennai":
self.sendline('option domain-name-servers 10.12.0.151, 10.12.0.150, 129.46.132.7;')
else:
self.sendline('option domain-name-servers 10.222.148.20, 10.43.5.77, 10.43.6.93;')

And you're suggesting changing line 169 too, right?

        self.sendline('          range 192.168.0.10 192.168.0.100;')

I'm guessing that's a problem if the router by default also hands out addresses in that range to LAN devices.

@mattsm
Copy link
Contributor Author

mattsm commented Oct 12, 2015

Not 169 really at this point... it could be a problem though at some point.

wwahammy added a commit to wwahammy/boardfarm that referenced this issue Jun 8, 2016
ghost pushed a commit to francois-berder/boardfarm that referenced this issue Feb 14, 2017
Remove RandomWebBrowse from the suite, fix for ip_link
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

2 participants