Hello Perry,
When you leave the *addresses* key empty, that is leaving "addresses" :
[], it is default to dhcp , to turn this off, you need to manually supply
an address, an example for the address key could look like this;
"addresses": [
{
"proto": "static",
"family": "ipv4",
"address": "192.168.56.2",
"mask": 24,
"gateway": ""
}
],
On Tue, Apr 28, 2020 at 11:23 AM Perry Couprie <[email protected]> wrote:
> Hi,
> I defined a lan interface and it works. I can not find the way to disable
> the dhcp for the lan interface.
> How can i do this.
>
> Greetings from Amsterdam,
> Perry
>
> {
> "interfaces": [
> {
> "wireless": {
> "network": [
> "lan"
> ],
> "mode": "802.11s",
> "radio": "radio0",
> "mesh_id": "Highway",
> "mesh_fwding": 1,
> "mesh_rssi_threshold": 0
> },
> "type": "wireless",
> "name": "mesh0"
> },
> {
> "type": "bridge",
> "bridge_members": [
> "eth0.1",
> "mesh0"
> ],
> "name": "lan",
> "addresses": []
> }
> ]
> }
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/cfbb6c24-ee8f-409f-9fd5-77ce0da04d9d%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/cfbb6c24-ee8f-409f-9fd5-77ce0da04d9d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Noumbissi Valere
--
You received this message because you are subscribed to the Google Groups
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web, visit
https://groups.google.com/d/msgid/openwisp/CAOwnGe5J7Zf2_SmSYQNo0TVBC4hQwv7M87nct9kE_2yHrNQwwQ%40mail.gmail.com.