[LUGOS] zopet tezave z mrezo...
Dusan Matic
indy at klubk4.org
Wed May 29 09:31:34 CEST 2002
Hi,
> ja ce men rece host unreachable zaprem ICMP pa pol ne tezi vec..... in
> jest sm res donedavna mel ICMP zaprt, ampak to je druga zgodba, hehe ...
>
> ok, salo na stran.
Kako pa zaprem ta ICMP ??
> dej spastaj v mail routing tabele, ifconfig in povej IP od gatewaya. glede
> na to, da imas IPje 192.168.*.*/16 napisi za gateway IP od masine, ki ti
> dela maskerado.
> pa ko bos pingal, telnetal naokoli, preveri se /var/log/messagess. preveri
> /etc/hosts.allow in hosts.deny. Instaliraj si tcpdump na obe kisti in na
> eni tcpdumpaj in opazuj, medtem, ko bos na drugi telnetal in pingal. ce
> tcpdum javi karkoli, potem mreza dela, ampak je narobe skonfigurirana. ce
> je tcpdump tiho, potem lahko pregledas kabel.
evo tole je od 192.168.0.1 :
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
217.72.64.28 0.0.0.0 255.255.255.255 UH 0 0 0
ppp0
192.168.0.0 0.0.0.0 255.255.255.0 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 217.72.64.28 0.0.0.0 UG 0 0 0
ppp0
[root at server root]#
[root at server root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:95:60:57:26
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:226 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:38741 (37.8 Kb)
Interrupt:16 Base address:0x280
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:1035 errors:0 dropped:0 overruns:0 frame:0
TX packets:1035 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:76983 (75.1 Kb) TX bytes:76983 (75.1 Kb)
ppp0 Link encap:Point-to-Point Protocol
inet addr:217.72.73.168 P-t-P:217.72.64.28
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:295 errors:0 dropped:0 overruns:0 frame:0
TX packets:397 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:81052 (79.1 Kb) TX bytes:30072 (29.3 Kb)
[root at server root]#
>
> to bo blo to ..
>
SIcer pa jaz sedaj sumim da je nekaj narobe z network cards ...
ker sem se sedaj spomnil da mi nazadnje tud mreza pod winsi ni delala ko
sem probiral.. ;(
bom probal nabavit druge mrezne ...
indy
More information about the lugos-list
mailing list