diff --git a/patches/systemvm/debian/config/root/redundant_router/disable_pubip.sh b/patches/systemvm/debian/config/root/redundant_router/disable_pubip.sh index f59eea9ef23..349ddef14ea 100644 --- a/patches/systemvm/debian/config/root/redundant_router/disable_pubip.sh +++ b/patches/systemvm/debian/config/root/redundant_router/disable_pubip.sh @@ -1,4 +1,5 @@ #!/bin/bash ifdown eth2 +ifconfig eth2 down service dnsmasq stop diff --git a/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ b/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ index 5d96b018327..ac8b0e0ea85 100644 --- a/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ +++ b/patches/systemvm/debian/config/root/redundant_router/enable_pubip.sh.templ @@ -1,6 +1,7 @@ #!/bin/bash ifdown eth2 && \ +ifconfig eth2 down && \ ifconfig eth2 hw ether [ETH2MAC] && \ ifup eth2 && \ ip route add default via [GATEWAY] dev eth2 && \