浏览代码

Update openwrt.sh

set network.lan.ipaddr=192.168.2.1
tteckster 2 年之前
父节点
当前提交
89e933e85e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vm/openwrt.sh

+ 1 - 1
vm/openwrt.sh

@@ -484,7 +484,7 @@ send_line_to_vm "uci delete network.lan"
 send_line_to_vm "uci set network.lan=interface"
 send_line_to_vm "uci set network.lan.device=eth1"
 send_line_to_vm "uci set network.lan.proto=static"
-send_line_to_vm "uci set network.lan.ipaddr=192.0.2.1"
+send_line_to_vm "uci set network.lan.ipaddr=192.168.2.1"
 send_line_to_vm "uci set network.lan.netmask=255.255.255.0"
 send_line_to_vm "uci set firewall.@zone[1].input='ACCEPT'"
 send_line_to_vm "uci set firewall.@zone[1].forward='ACCEPT'"