net_office_start() { ifconfig all_down # такого нет, конечно, но идею вы поняли ifconfig eth0 up ifconfig add default gw 192.168.0.254 ifconfig .... }
net_home_start() { ifconfig eth0 up ifconfig add default gw 10.218.35.2 ifconfig .... }
может, у кого-нибудь есть идеи получше? или кто-то софт знает под эту задачу?

