Re: [Dnsmasq-discuss] How to provide DHCP for WiFi hotspot?

2021-10-12 Thread Chris Green
On Mon, Oct 11, 2021 at 10:59:01PM +0100, Alex Morris wrote:
> On Mon, 11 Oct 2021, at 21:22, Chris Green wrote:
> >
> > Do I just need to add a DHCP range line such as:-
> >
> > dhcp-range=10.42.0.100,10.42.0.200
> >
> > to /etc/dnsmasq.conf to get IP addresses for systems that connect to
> > the WiFi hotspot or is there more needed?
> >
> 
> Depends what you want the clients to do.
> 
> If you just want the clients to have IP addresses and be able to talk to 
> each other within the same subnet, then that should suffice. 
> 
> If you want the clients to also be able to communicate with other networks, 
> e.g. the Internet, then you may wish to consider also specifying options 
> 3 and 6. 
> 
Thanks, just what I was after knowing.

-- 
Chris Green

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] How to provide DHCP for WiFi hotspot?

2021-10-11 Thread Geert Stappers via Dnsmasq-discuss
On Mon, Oct 11, 2021 at 10:59:01PM +0100, Alex Morris wrote:
> On Mon, 11 Oct 2021, at 21:22, Chris Green wrote:
> >
> > Do I just need to add a DHCP range line such as:-
> >
> > dhcp-range=10.42.0.100,10.42.0.200
> >
> > to /etc/dnsmasq.conf to get IP addresses for systems that connect to
> > the WiFi hotspot or is there more needed?
> >
> 
> Depends what you want the clients to do.
> 
> If you just want the clients to have IP addresses and be able to talk
> to each other within the same subnet, then that should suffice.
> 
> If you want the clients to also be able to communicate with other
> networks, e.g. the Internet, then you may wish to consider also
> specifying options 3 and 6.


It will original poster get started.
And to start is good.

 
> Alex

Groeten
Geert Stappers
-- 
Silence is hard to parse

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] How to provide DHCP for WiFi hotspot?

2021-10-11 Thread Alex Morris
On Mon, 11 Oct 2021, at 21:22, Chris Green wrote:
>
> Do I just need to add a DHCP range line such as:-
>
> dhcp-range=10.42.0.100,10.42.0.200
>
> to /etc/dnsmasq.conf to get IP addresses for systems that connect to
> the WiFi hotspot or is there more needed?
>

Depends what you want the clients to do.

If you just want the clients to have IP addresses and be able to talk to each 
other within the same subnet, then that should suffice.

If you want the clients to also be able to communicate with other networks, 
e.g. the Internet, then you may wish to consider also specifying options 3 and 
6.


-- 
Alex

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] How to provide DHCP for WiFi hotspot?

2021-10-11 Thread Chris Green
I am running dnsmasq on my xubuntu 21.04 laptop, I haven't changed the
configuration from default at all yet.

I have a WiFi hotspot configuration that brings up the WiFi as a
server with IP confuguration:-
inet 10.42.0.1  netmask 255.255.255.0  broadcast 10.42.0.255

Do I just need to add a DHCP range line such as:-

dhcp-range=10.42.0.100,10.42.0.200

to /etc/dnsmasq.conf to get IP addresses for systems that connect to
the WiFi hotspot or is there more needed?

-- 
Chris Green

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss