On Mon, 5 Jul 2004 12:10:05 +0300, Claudiu Cismaru <[EMAIL PROTECTED]> wrote: > > Salut, > > Mi-a aratat un prieten acum o faza super interesanta. Din intamplare a > ajuns la urmatoarea situatie: > > [EMAIL PROTECTED]:/etc/rc.d# ifconfig > eth0 Link encap:Ethernet HWaddr 00:90:27:8C:C0:52 > inet addr:10.X.X.X Bcast:10.X.X.63 Mask:255.255.255.192 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:3189986 errors:0 dropped:0 overruns:0 frame:0 > TX packets:1640856 errors:0 dropped:0 overruns:12 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:704242974 (671.6 Mb) TX bytes:1755225675 (1673.9 Mb) > Interrupt:10 Base address:0x8000 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:343 errors:0 dropped:0 overruns:0 frame:0 > TX packets:343 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:26313 (25.6 Kb) TX bytes:26313 (25.6 Kb) > > [EMAIL PROTECTED]:/etc/rc.d# /sbin/route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 10.X.X.0 0.0.0.0 255.255.255.192 U 0 0 0 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 > lo > 0.0.0.0 10.X.X.1 0.0.0.0 UG 0 0 0 eth0 > > Asta pe eth0. Pe eth1, care e DOWN, avem: > [EMAIL PROTECTED]:/etc/rc.d# ifconfig eth1 > eth1 Link encap:Ethernet HWaddr 00:0B:6A:17:F8:F6 > inet addr:62.X.X.X Bcast:62.X.X.X Mask:255.255.255.192 > BROADCAST MULTICAST MTU:1500 Metric:1 > RX packets:10045 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3733 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:739683 (722.3 Kb) TX bytes:1256967 (1.1 Mb) > Interrupt:11 Base address:0xd800 > > Faza interesanta e ca: > > Sistemul RASPUNDE la ping, merge ssh in el, ftp etc:) Imi explica si mie > cineva care-i faza? > > Am accesat sistemul din exterior, conectandu-ma pe 62.x.x.x. Sistemul > raspunde pe IP-ul 62.x.x.x! > > Cele doua interfete sunt conectate in acelasi switch, prin doua cabluri > patchcord. > > Un alt IP 62.x.x.x nu este in retea, este exclusa varianta cu DNAT :) > > -- > Claudiu Cismaru > GPG Key: http://maya.cnixs.com/~claudiu/claudiu.gpg > > --- > Detalii despre listele noastre de mail: http://www.lug.ro/ > >
pai simplu: 0.0.0.0 inseamna "all interfaces" ;) --- Detalii despre listele noastre de mail: http://www.lug.ro/
