/etc/rc.local
bash /root/bindip.sh
写入绑定ip的/root/bindip.sh文件
cat > /root/bindip.sh <<EOF#!/bin/sh # delay 5 sec.sleep 5sudo nohup ip rule add from 192.168.1