dhcpcd.conf 自定义内容
This commit is contained in:
12
dhcpcd.conf
Normal file
12
dhcpcd.conf
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# 固定 IP
|
||||||
|
interface eth0
|
||||||
|
static ip_address=192.168.1.16/24
|
||||||
|
|
||||||
|
static routers=192.168.1.1
|
||||||
|
static domain_name_servers=211.137.96.205 114.114.114.114 8.8.8.8
|
||||||
|
# static domain_name_servers=114.114.114.114 8.8.8.8
|
||||||
|
#static ip6_address=fd00:485f:8b6:5fa5::1002/64
|
||||||
|
|
||||||
|
# 使用旁路由
|
||||||
|
#static routers=192.168.1.13
|
||||||
|
#static domain_name_servers=192.168.1.13
|
||||||
Reference in New Issue
Block a user