diff --git a/dhcpcd.conf b/dhcpcd.conf new file mode 100644 index 0000000..b08a585 --- /dev/null +++ b/dhcpcd.conf @@ -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