Code:configure terminal
!
vpdn enable
!
!
interface Ethernet0
description To Layer-2 Switch
ip address 10.10.10.1 255.255.255.240
ip tcp adjust-mss 1452
ip nat inside
no cdp enable
hold-queue 32 in
hold-queue 100 out
no shut
exit
!
interface ATM0
description ADSL To SBC
no ip address
ip route-cache flow
no atm ilmi-keepalive
dsl operating-mode auto
hold-queue 224 in
no shut
exit
!
interface ATM0.35 point-to-point
description SBC VPI/VCI = 8/35
no snmp trap link-status
pvc 8/35
pppoe-client dial-pool-number 1
exit
exit
!
!
interface Dialer0
description To SBC
ip address negotiated
no ip redirects
no ip proxy-arp
ip mtu 1492
ip nat outside
encapsulation ppp
ip tcp adjust-mss 1452
dialer pool 1
no cdp enable
ppp authentication pap callin
ppp pap sent-username <
[email protected]> password <password>
ppp ipcp dns request accept
ppp ipcp route default
ppp ipcp address accept
exit
!
ip nat inside source list 10 interface Dialer0 overload
!
access-list 10 permit 10.0.0.0 0.255.255.255
!
ip route 0.0.0.0 0.0.0.0 dialer0
!
end
Citat:
Router#sh int
Ethernet0 is up, line protocol is up
Hardware is PQUICC Ethernet, address is 0011.bb64.224d (bia 0011.bb64.224d)
Description: To Layer-2 Switch
Internet address is 10.10.10.1/28
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 10Mb/s
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:01, output 00:00:03, output hang never
Last clearing of "show interface" counters never
Input queue: 0/32/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/100 (size/max)
5 minute input rate 2000 bits/sec, 3 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
99 packets input, 6128 bytes, 0 no buffer
Received 5 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
45 packets output, 7722 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
ATM0 is up, line protocol is up
Hardware is PQUICC_SAR (with Alcatel ADSL Module)
Description: ADSL To SBC
MTU 1500 bytes, sub MTU 1500, BW 256 Kbit, DLY 80 usec,
reliability 19/255, txload 1/255, rxload 1/255
Encapsulation ATM, loopback not set
Encapsulation(s): AAL5 AAL2, PVC mode
10 maximum active VCs, 1024 VCs per VP, 1 current VCCs
VC Auto Creation Disabled.
VC idle disconnect time: 300 seconds
Last input never, output 00:00:27, output hang never
Last clearing of "show interface" counters never
Input queue: 0/224/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: Per VC Queueing
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
8 packets input, 3540 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
4 packets output, 280 bytes, 0 underruns
0 output errors, 0 collisions, 3 interface resets
0 output buffer failures, 0 output buffers swapped out
ATM0.35 is up, line protocol is up
Hardware is PQUICC_SAR (with Alcatel ADSL Module)
Description: SBC VPI/VCI = 8/35
MTU 1500 bytes, BW 800 Kbit, DLY 80 usec,
reliability 19/255, txload 1/255, rxload 1/255
Encapsulation ATM
8 packets input, 3508 bytes
4 packets output, 280 bytes
0 OAM cells input, 0 OAM cells output
AAL5 CRC errors : 0
AAL5 Oversized SDUs : 0
0 packets input, 0 bytes
0 packets output, 0 bytes
Last clearing of "show interface" counters never
NVI0 is up, line protocol is up
Hardware is NVI
Interface is unnumbered. Using address of NVI0 (0.0.0.0)
MTU 1514 bytes, BW 10000000 Kbit, DLY 0 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation UNKNOWN, loopback not set
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
Dialer0 is up (spoofing), line protocol is up (spoofing)
Hardware is Unknown - ovo mi ne izgleda dobro
Description: To SBC
Internet address will be negotiated using IPCP
MTU 1500 bytes, BW 56 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
Keepalive set (10 sec)
DTR is pulsed for 1 seconds on reset
Last input never, output never, output hang never
Last clearing of "show interface" counters 00:03:17
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/16 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 42 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes
0 packets output, 0 bytes