per impostare il default gateway su una route già definita (su una rete che raggiungi)
route add default gw ip-gateway
per impostare un gateway verso la rete x.y.z.k/netmask-rete raggiungibile attraverso un router
route add - net x.y.z.k netmask netmask-rete gw ip-gateway
cmq se fai man route ci sono un sacco di esmpi molto chiari sul routing
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux
Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter
|