Adrian Sevcenco wrote: > Salut! Am o problema si nu stiu cum sa ii dau de cap!! > So .. am doua compuri A si B cu functii de gateway . a doua lor > interfatza e legata la aceiasi retea privata > (x.x.x.A si x.x.x.B sint ip-uri publice)
Adica ai aceiasi retea fizica cu doua clase de adrese diferite? Explica... > > A: > eth0 inet addr:10.1.1.1 Bcast:10.255.255.255 Mask:255.0.0.0 > eth1 inet addr:x.x.x.A Bcast:x.x.x.255 Mask:255.255.255.0 > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 255.255.255.255 * 255.255.255.255 UH 0 0 0 eth0 > x.x.x.0 * 255.255.255.0 U 0 0 0 eth1 > 10.0.0.0 * 255.0.0.0 U 0 0 0 eth0 > default x.x.x.1 0.0.0.0 UG 0 0 0 eth1 > > B: > eth0 inet addr:x.x.x.B Bcast:x.x.x.63 Mask:255.255.255.192 > eth1 inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0 > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > x.x.x.0 * 255.255.255.192 U 0 0 0 eth0 > 192.168.2.0 * 255.255.255.0 U 0 0 0 eth1 > default x.x.x.1 0.0.0.0 UG 0 0 0 eth0 > > Incerc sa dau ping pe C: > eth0 inet addr:10.10.10.42 Bcast:10.255.255.255 Mask:255.0.0.0 > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 10.0.0.0 * 255.0.0.0 U 10 0 0 eth0 > default 10.10.10.101 0.0.0.0 UG 10 0 0 eth0 > > De pe A nu merge ping pe C dar de pe B pot sa dau ping pe C! > Are cineva idee de ce se intimpla asha ceva? > Va multumesc! Deci daca inteleg eu bine, din A nu poti sa dai ping pe C, desi sunt in aceiasi clasa? Daca zici ca A e gateway,atunci de ce gateway-ul pe C e alta adresa? Sigur stii ce faci? _______________________________________________ RLUG mailing list [email protected] http://lists.lug.ro/mailman/listinfo/rlug
