amanojaku is 192.168.0.11 on the wan interface.
parent
e9c87481df
commit
1a7e0fcf8b
|
@ -12,8 +12,8 @@ NET_AR="10.24.20.0/24"
|
||||||
# hosts:
|
# hosts:
|
||||||
#ROUTER
|
#ROUTER
|
||||||
HOST_KASHA="10.24.0.1"
|
HOST_KASHA="10.24.0.1"
|
||||||
HOST_KASHA_WAN="192.168.0.10"
|
HOST_KASHA_WAN="192.168.0.11"
|
||||||
HOST_KASHA_WAN2="$(ip -4 a s dev ${IF_WAN} | awk '$1 == "inet" && $2 != "192.168.0.10/24" { print $2; exit }')"
|
HOST_KASHA_WAN2="$(ip -4 a s dev ${IF_WAN} | awk '$1 == "inet" && $2 != "192.168.0.11/24" { print $2; exit }')"
|
||||||
# will allow us to do things like: if ${HAVE_WAN2}; then ...
|
# will allow us to do things like: if ${HAVE_WAN2}; then ...
|
||||||
if [[ ! -z "${HOST_KASHA_WAN2}" ]]; then
|
if [[ ! -z "${HOST_KASHA_WAN2}" ]]; then
|
||||||
HAVE_WAN2="/bin/true"
|
HAVE_WAN2="/bin/true"
|
||||||
|
|
Loading…
Reference in New Issue