From: Dobrica Pavlinusic Date: Fri, 22 Mar 2019 17:58:42 +0000 (+0100) Subject: move catalog boot to 10.60.4.8 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=701bb5e3205e721a3ab5c9d5103e8f33c065b784;p=pxelator move catalog boot to 10.60.4.8 --- diff --git a/bin/lib.sh b/bin/lib.sh index 074a6a5..2f24720 100755 --- a/bin/lib.sh +++ b/bin/lib.sh @@ -2,8 +2,8 @@ sudo modprobe 8021q sudo vconfig add eth0 63 -sudo ifconfig eth0.63 10.60.4.9 netmask 255.255.252.0 up -sudo iptables -t nat -A POSTROUTING -s 10.60.4.9/22 -o eth0 -j MASQUERADE +sudo ifconfig eth0.63 10.60.4.8 netmask 255.255.252.0 up +sudo iptables -t nat -A POSTROUTING -s 10.60.4.8/22 -o eth0 -j MASQUERADE sudo ifconfig virtual 172.16.10.1 netmask 255.255.255.0 up sudo iptables -t nat -A POSTROUTING -s 172.16.10.1/24 -o eth0 -j MASQUERADE