From d8dc2ea4dea186e693034f4a5709550fb5be964d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BD=B3=E8=B1=AA?= <14091802+too-much-dialogue@user.noreply.gitee.com> Date: Sat, 26 Apr 2025 21:29:42 +0800 Subject: [PATCH] =?UTF-8?q?DHCP=E5=8A=A8=E6=80=81=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E5=99=A8IP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\347\275\256\350\267\257\347\224\261\345\231\250IP.md" | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 "38 \346\235\216\344\275\263\350\261\252/20250425 DHCP\345\212\250\346\200\201\350\256\276\347\275\256\350\267\257\347\224\261\345\231\250IP.md" diff --git "a/38 \346\235\216\344\275\263\350\261\252/20250425 DHCP\345\212\250\346\200\201\350\256\276\347\275\256\350\267\257\347\224\261\345\231\250IP.md" "b/38 \346\235\216\344\275\263\350\261\252/20250425 DHCP\345\212\250\346\200\201\350\256\276\347\275\256\350\267\257\347\224\261\345\231\250IP.md" new file mode 100644 index 0000000..483194b --- /dev/null +++ "b/38 \346\235\216\344\275\263\350\261\252/20250425 DHCP\345\212\250\346\200\201\350\256\276\347\275\256\350\267\257\347\224\261\345\231\250IP.md" @@ -0,0 +1,8 @@ +# DHCP动态设置路由器IP + + - 命令行: + - 创建DHCP地址池:Router(config)# ip dhcp pool 名字 + - 配置网络地址和子网掩码:Router(dhcp-config)#network 192.168.10.0 255.255.255.0 + - 配置默认网关:Router(dhcp-config)#default-router 192.168.10.254 (可修改) + - 配置DNS服务器:Router(dhcp-config)#dns-server 8.8.8.8 + - 配置租约时间(默认7天):Router(dhcp-config)#lease 7 \ No newline at end of file -- Gitee