Changed instances of networking to ifdown/ifup, also changed ifconfig to iproute2 as ifconfig is deprecated.