From 701bb5e3205e721a3ab5c9d5103e8f33c065b784 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 22 Mar 2019 18:58:42 +0100 Subject: [PATCH] move catalog boot to 10.60.4.8 --- bin/lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1