Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
a) Il dialup software installato nell’host: in questo caso ogni host utilizza un suo individuale
account
b) Il router dell’host (no dialup software): in questo caso tutti gli host condividono lo stesso
account.
La sessione PPOE inizializzata dal client (Modem o Router ADSL) si capitalizza attraverso 2 fasi
distinte:
a) PPPoE Discovery:
E’ la fase di rilevamento del mac-address router ISP aggregator avviata dal PPPoE client.
Richiede lo scambio di 4 pacchetti:
- PADI (PPPoE Active Discovery Initiation):
il PPPoE client invia un pacchetto PADI broadcast (MAC: ff:ff:ff:ff:ff:ff) per segnalare il tipo di servizio
richiesto
I PPPoE server che possono erogare il servizio richiesto dal client risponderanno con un pacchetto
il PPPoE client invia un pacchetto PADR unicast al router aggregator selezionato per richiedergli l’ID
Il PPPoE server selezionato risponde al client con un pacchetto PADS contenente l’ID della sessione
È il pacchetto inviato dal client o dal server PPPoE per terminare una connessione PPPoE
a) PPPoE Session :
E’ la fase in cui via LCP vengono negoziati MRU, il tipo di autenticazione (PAP o CHAP);
Il client IP address pubblico viene rilasciato via IPCP dal router aggregator (BRAS)
Struttura della trama PPPoE:
a) MTU della trama PPPoE = (MTU Ethernet – PPPoE header – PPP Header) = 1500 – 6 – 2 = 1492 bytes
b) MSS = (MTU PPPoE – header TCP – header IP) = 1492 – 20 – 20 = 1452 bytes
Nell’Ethernet header il campo Ethernet Type è settato al valore 0x8863 in fase di PPPoE Discovery stage.
Nell’Ethernet header il campo Ethernet Type è settato al valore 0x8864 in fase di PPPoE Session stage.
interface Ethernet0/0
description ***Internal Private Network***
ip address 172.16.0.1 255.255.0.0
ip tcp mss-adjust 1452
in due modalità:
interface Ethernet0/1
no ip address
pppoe enable
pppoe-client dial-pool-number 1
interface ATM0/0
no ip address
dsl operating-mode auto
pvc 8/35
pppoe-client dial-pool-number 1
interface Dialer0
ip address negotiated
ip mtu 1492
encapsulation ppp
dialer pool 1
interface Dialer0
ppp authentication chap username
ppp chap password password
5) Configurazione PAT:
interface Ethernet0/0
ip nat inside
!
interface Dialer0
ip nat outside
!
ip nat inside source list 100 interface dialer0 overload
access-list 100 permit ip 172.16.0.0 0.0.255.255 any
6) Configurazione DHCP:
If the statuses of ATM0 and ATM0.1 are up and the protocol is up, begin to troubleshoot at Layer 2.
If the ATM interfaces are down, or if they continue to come up and then go down (they do not stay
up and up), begin to troubleshoot at Layer 1.
_______________________________________________________________________________
________________________________________________________________________________
If the modem state stays at "0x8" and says "Could not establish connection," it means that the Cisco
SOHO77 has not heard from the central office (CO) . It does not see an incoming signal.
Router#
1d01h: DSL: 1: Modem state = 0x8
1d01h: DSL: 2: Modem state = 0x8
1d01h: DSL: 3: Modem state = 0x8
1d01h: DSL: 4: Modem state = 0x8
1d01h: DSL: 5: Modem state = 0x8
1d01h: DSL: Could not establish connection
<... snipped ...>
If the modem state changes from "0x8" to "SHOWTIME," it means that the Cisco SOHO77 has
successfully trained with the DSLAM.
Router#
00:24:18: DSL: 2: Modem state = 0x8
00:24:21: DSL: 3: Modem state = 0x8
00:24:23: DSL: 4: Modem state = 0x8
00:24:26: DSL: 5: Modem state = 0x8
00:24:28: DSL: 6: Modem state = 0x10
00:24:31: DSL: 7: Modem state = 0x10
00:24:33: DSL: 8: Modem state = 0x10
00:24:36: DSL: 9: Modem state = 0x10
00:24:37: DSL: Received response: 0x24
00:24:37: DSL: Showtime!
<... snipped ...>
Session count: 1
Or
Or