El Wed, Oct 05, 2005 at 12:00:17PM +0200, Jaume Sabater ens deleità amb les següents paraules: > Et falta el l "route add default gw aa.bb.cc.dd"? > > Si fas un route -n t'ha de dir quina és la passarel.la per defecte, d'una > manera similar a: > $ /sbin/route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > 192.168.37.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 0.0.0.0 192.168.37.1 0.0.0.0 UG 0 0 0 eth0 > posa el seguent al teu /etc/network/interfaces si no ho tens ja iface eth0 inet static gateway 192.168.37.1 ... o si utilitzes dhcp iface eth0 inet dhcp apa! PD: que pesat estic amb el fitxer interfaces! XD -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth
Attachment:
pgpw18oxRcHmZ.pgp
Description: PGP signature