ping 10.1.1.1 looks good while if I ping 8.8.8.8 I get: network is ureachable!! The thing I do not understand is why if I do all these operation via GUI approach all works fine???
–
RiccardoJun 4 '14 at 15:07

Why are you pinging 10.1.1.1 you're setting the gateway at 10.1.1.10 (10 in the last octet)
–
meccoollJun 4 '14 at 15:24