Dear all,
A short question: How do I change the ip address of the router (and thus the range of the entire lan network) to 12.165.10.xxx?
Now I can only select certain ranges, this 12.165.10.xxx is not one of the ranges I can select. Help! How can I do this?
Thank you very much!
limbot
July 12, 2019, 9:59am
2
@Matjuhnl
It’s a restriction based on:
The Internet Engineering Task Force (IETF) has directed the Internet Assigned Numbers Authority (IANA) to reserve the following IPv4 address ranges for private networks:[1] (p4)
RFC1918 name
IP address range
Number of addresses
Largest CIDR block (subnet mask)
Host ID size
Mask bits
Classful description[Note 1]
24-bit block
10.0.0.0 – 10.255.255.255
16777216
10.0.0.0/8 (255.0.0.0)
24 bits
8 bits
single class A network
20-bit block
172.16.0.0 – 172.31.255.255
1048576
172.16.0.0/12 (255.240.0.0)
20 bits
12 bits
16 contiguous class B networks
16-bit block
192.168.0.0 – 192.168.255.255
65536
192.168.0.0/16 (255.255.0.0)
16 bits
16 bits
256 contiguous class C networks
In Internet networking, a private network is a computer network that uses a private address space of IP addresses. These addresses are commonly used for local area networks (LANs) in residential, office, and enterprise environments. Both the IPv4 and the IPv6 specifications define private IP address ranges.
Private network addresses are not allocated to any specific organization. Anyone may use these addresses without approval from regional or local Internet registries. Private IP address spac...
But I’m assuming if you had a legitimate reason to do it you could do via:
More settings → Advanced ->Network → Interfaces → LAN EDIT ->IPV4 Address/DHCP Start/Limit
Johnex
July 12, 2019, 1:23pm
3
Actually you can just connect to SSH and run:
sed -i "s/'192.168.8.1'/'12.165.10.1'/g" /etc/config/network
reboot
When the router starts up the router will be on 12.165.10.1 and clients will get IP’s in the range you want 12.165.10.xxx