[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [linux_var] script "network-conf"



Bene,
dopo varie prove eccomi qua:

Ho provato ad attaccare un hub allo switch(10-100-1), e un pc che chiamero' "supervisore" all'hub (10Mbit)
situazione:
hub connesso allo switch
ip supervisore: 192.168.10.100 connesso all' hub
ip server ltsp: 192.168.10.1 connesso allo switch
ip terminali ltsp: 192.168.10.10-30 connessi allo switch

Su supervisore ho lanciato wireshark col risultato di non vedere niente.
Per vedere se funzionava il tutto ho provato a pingarlo da un host attaccato allo switch e in effetti in wireshark lo segnava. Evidentemente lo switch e' piu furbo di quanto pensassi, e secondo me capisce che sulla porta di connessione all'hub deve solo inviare i pacchetti destinati al .100

Workaround:
hub connesso allo switch
ip supervisore: 192.168.10.100 connesso all' hub
ip server ltsp: 192.168.10.1 connesso all' hub
ip terminali ltsp: 192.168.10.10-30 connessi allo switch

Risultato:
terminali lenti come la fame con grande successo tra gli utenti
wireshark che crea log da 15 mega in poco tempo

Avviene il blocco fatidico e wireshark prima di fermare la registrazione per l'assenza di pacchetti mi colora una riga di nero.
Allego la stampa su file del solo pacchetto incriminato

La cosa bella e' che dopo il blocco la rete 192.168.10.* e' bloccata totalmente, anche un networking restart non ha effetto, nemmeno un down/up della scheda. Ma il terminal server rimane accessibile dall'altra rete, anche con login grafico!
L'unico modo che per ora ci consente di far ripartire tutto e' il riavvio.
(Ok, sicuramente ignoranza mia)

Io sinceramente non so proprio dove sbattere la testa.

Se qualcuno ha suggerimenti... (esclusi pellegrinaggi in luoghi sacri)

Fox
;)



--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
EF la più apprezzata organizzazione di formazione linguistica. Scopri l'intera offerta
* Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7329&d=7-12

 (--- * * * * * * * * * * * * * * * * * * * * * * ---)
Per cancellare l'iscrizione: <talking-unsubscribe at ml.linuxvar.it>
Interfaccia web di configurazione: http://ml.linuxvar.it/ml/
No.     Time        Source                Destination           Protocol Info
  12804 16.282863   192.168.10.13         192.168.10.1          TCP      x11-6 > 42963 [PSH, ACK] Seq=5184 Ack=1304 Win=24576 Len=32 TSV=954253 TSER=6419374

Frame 12804 (98 bytes on wire, 98 bytes captured)
    Arrival Time: Dec  7, 2007 14:40:20.755016000
    [Time delta from previous packet: 0.000216000 seconds]
    [Time since reference or first frame: 16.282863000 seconds]
    Frame Number: 12804
    Packet Length: 98 bytes
    Capture Length: 98 bytes
    [Frame is marked: False]
    [Protocols in frame: eth:ip:tcp:data]
    [Coloring Rule Name: TCP]
    [Coloring Rule String: tcp]
Ethernet II, Src: ViaTechn_e3:62:81 (00:40:63:e3:62:81), Dst: 00:1b:fc:00:4f:76 (00:1b:fc:00:4f:76)
    Destination: 00:1b:fc:00:4f:76 (00:1b:fc:00:4f:76)
        Address: 00:1b:fc:00:4f:76 (00:1b:fc:00:4f:76)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
    Source: ViaTechn_e3:62:81 (00:40:63:e3:62:81)
        Address: ViaTechn_e3:62:81 (00:40:63:e3:62:81)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
    Type: IP (0x0800)
Internet Protocol, Src: 192.168.10.13 (192.168.10.13), Dst: 192.168.10.1 (192.168.10.1)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 84
    Identification: 0xe2ee (58094)
    Flags: 0x04 (Don't Fragment)
        0... = Reserved bit: Not set
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 64
    Protocol: TCP (0x06)
    Header checksum: 0xc256 [correct]
        [Good: True]
        [Bad : False]
    Source: 192.168.10.13 (192.168.10.13)
    Destination: 192.168.10.1 (192.168.10.1)
Transmission Control Protocol, Src Port: x11-6 (6006), Dst Port: 42963 (42963), Seq: 5184, Ack: 1304, Len: 32
    Source port: x11-6 (6006)
    Destination port: 42963 (42963)
    Sequence number: 5184    (relative sequence number)
    [Next sequence number: 5216    (relative sequence number)]
    Acknowledgement number: 1304    (relative ack number)
    Header length: 32 bytes
    Flags: 0x18 (PSH, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 1... = Push: Set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 24576
    Checksum: 0x1e6d [correct]
    Options: (12 bytes)
        NOP
        NOP
        Timestamps: TSval 954253, TSecr 6419374
    [SEQ/ACK analysis]
        [This is an ACK to the segment in frame: 12803]
        [The RTT to ACK the segment was: 0.000216000 seconds]
Data (32 bytes)

0000  01 01 c0 93 00 00 00 00 47 00 00 00 51 1c e0 00   ........G...Q...
0010  bc 02 59 02 bc 02 59 02 10 00 00 00 08 00 00 00   ..Y...Y.........