using the sbin/route command because I can't connect outside my router without it
I have a ubuntu server (set to static ip) at my home behind a normal residential gateway. I can ssh into it and ping the Res gw from it but, can't ping google successfully. After I enter sudo /sbin/route add -net 0.0.0.0 gw 0.0.0.0 eth0 I can. (The second set of zeros of course being my Res GW's ip.)
Is there anyway I can automate this or make it work properly?
|