[linux] Pripojenie do firemnej siete

minka na host.sk minka na host.sk
Pondělí Březen 26 22:31:03 CEST 2001


Ahojte!

Snazim sa pripojit svoj notebook s RH 6.2 do nasej firemnej siete kvoli surfovaniu a downloadom. Vsetko su v nej Windowsy.

Funguje mi dhcp, dostanem adresu. 
eth0      Link encap:Ethernet  HWaddr 00:10:A4:B0:72:87  
          inet addr:192.39.181.101  Bcast:192.39.181.255  Mask:255.255.255.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:501 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:1509 dropped:0 overruns:0 carrier:1509
          collisions:0 txqueuelen:100 
          Interrupt:3 Base address:0x200 
Neviem, preco su tam tie chyby v TX paketoch.

Mam nastavene DNS servre...
resolv.conf
search sk.mojafirma.com mojafirma.com
nameserver 192.168.1.4
nameserver 192.168.1.2
nameserver 192.39.181.17
nameserver 192.39.250.90
nameserver 129.227.38.94
posledne tri su firemne

... a default gateway
network
NETWORKING=yes
HOSTNAME="SK-BB-MINKA-NB"
GATEWAY="192.39.181.1"
GATEWAYDEV=""
FORWARD_IPV4="no"

Dalej:
hosts
127.0.0.1		SK-BB-MINKA-NB localhost.localdomain localhost

Celkovo to vyzera takto:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.16.218.0    0.0.0.0         255.255.255.0   U         0 0          0 vmnet1
192.39.181.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         192.39.181.1    0.0.0.0         UG        0 0          0 eth0


Pri pokuse otvorit web-stranku cez Lynx mi tcpdump pise zhruba toto:

21:18:56.064590 eth0 > arp who-has 192.39.181.1 tell 192.39.181.101 (0:10:a4:b0:72:87)
21:18:57.054645 eth0 > arp who-has 192.39.181.1 tell 192.39.181.101 (0:10:a4:b0:72:87)
21:18:58.054640 eth0 > arp who-has 192.39.181.1 tell 192.39.181.101 (0:10:a4:b0:72:87)
21:18:59.044664 eth0 B 21:22:21.603380 eth0 > arp who-has 192.39.181.121:26:56.013201 eth0 B arp who-has 192.39.181.1 tell 192.39.181.230
21:26:56.015295 eth0 > arp who-has 192.39.181.121:31:42.002385 eth0 B 192.39.181.50.netbios-dgm > 192.39.181.255.netbios-dgm: NBT UDP (138)
21:31:42.004294 eth0 > 192.39.181.101.1538 > 192.39.181.17.domain: 33713+ PTR? 255.181.39.192.in-addr.arpa. (45)
21:31:44.426110 eth0 B 26.03.2001

Este som tam mal nejaky riadok konciaci UDP, ale ten som nezachytil.
Kolega vravel, ze nasa siet nepusta UDP komunikaciu.(?)

Rad by som vedel, kde robim chyby, preco mi to nejde, pripadne, kde sa o pricinach docitam viac.
Vopred vdaka.
Julo Minka









Další informace o konferenci linux