Hey I'm trying to set up a hotspot to have internet on my phone while I'm waiting for my router to arrive.
I'm only allowed to use a small set of IP addresses though: x.x.x.128 - x.x.x.135
What I tried so far was:
nmcli d wifi hotspot ifname wlp5s0 con-name archspot ssid archspot password "il_keep_this_one_for_myself"
and: nmcli c m archspot ipv4.addresses x.x.x.130\24 ipv4.gateway x.x.x.1
But when I connected with my phone, it got assigned x.x.x.51
How can I specify which range of IPs it should assign?
edit: I'm living in a student dorm which is using a city-wide science network including a NAT-gateway to get to the internet. Every apartment is assigned a set of IP addresses that it has to use. What I have are: the ip range, the network mask 255.255.255.0(thus the /24), the default gateway, and some dns servers which I am not using.