On Wed, Mar 3, 2010 at 3:12 PM, Adrian Sevcenco <[email protected]> wrote: > Salut! Am o mica problema : incerc sa adaug o ruta specifica in tabela : > $ROUTE add -net 10.10.8.0 netmask 255.255.252.0 gw 10.10.10.101 > > dar ma trezesc cu : > [r...@sev bin]# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 10.10.8.0 10.10.10.101 255.255.252.0 UG 0 0 0 eth0 > 10.10.8.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0 > xx.xxx.0.0 0.0.0.0 255.255.192.0 U 20 0 0 eth0 > 169.254.0.0 0.0.0.0 255.255.0.0 U 20 0 0 eth0 > 0.0.0.0 xx.xxx.46.1 0.0.0.0 UG 20 0 0 eth0 > > Are cineva idee de ce imi apare si gateway de 0.0.0.0 pt aceiasi retea? > Multumesc! > Adrian
Salut, Grija la subnetting. 10.10.8.0 / 255.255.252.0 inseamna 10.10.8.x + 10.10.10.9.x + 10.10.10.x + 10.10.11.x Deci IP-ul 10.10.10.101 face parte din acest subnet. Dupa cum arata tabela ta de routing, tu ai deja ruta spre 10.10.8.0 / 255.255.252.0 ca si "directly connected", deci probabil ai un IP din subnetul asta ridicat pe eth0. BTW, utilitarul "route" e obsolete. Daca ai pachetul iproute2 instalat, "ip route show" + paste aici, e mai concludent. Daca nu il ai, foarte rau :) -- www.flo.ro _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
