What's the '/number' after static ip in dhcpcd.conf
Posted: Fri Jul 29, 2016 4:48 am
Hi All,
Trying to understand the content of the static ip line in dhcpcd.conf.
What is the meaning of the number behind the ip address?
I.e. the '/24' in the below example?
man dhcpcd.conf gives the same content but does not explain it.
Thanks,
Gert
Trying to understand the content of the static ip line in dhcpcd.conf.
What is the meaning of the number behind the ip address?
I.e. the '/24' in the below example?
Code: Select all
interface eth0
static ip_address=10.0.1.60/24
static routers=10.0.1.1
static domain_name_servers=8.8.8.8 8.8.4.4
Thanks,
Gert