Last cfg wyglada tak:
Kod: Zaznacz cały
hostname Router3
!
boot-start-marker
boot-end-marker
!
card type t1 1
logging buffered 51200 warnings
enable secret 5 xxx
enable password 7 xxx
!
no aaa new-model
!
resource policy
!
ip subnet-zero
no ip source-route
ip tcp path-mtu-discovery
ip telnet source-interface FastEthernet0/1
!
!
ip cef
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.0.1
ip dhcp excluded-address 192.168.0.2 192.168.0.254
!
ip dhcp pool MojeDHCPPLAN
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
!
!
ip domain name xxx.pl
ip name-server 194.204.159.1
ip name-server 194.204.152.34
no vlan accounting output
!
username slawsop privilege 15 secret 5 xxx
!
!
controller T1 1/0
shutdown
framing esf
linecode b8zs
cablelength long 0db
channel-group 0 timeslots 1-24 speed 64
!
!
interface FastEthernet0/0
description Polaczenie dla sieci LAN
ip address 192.168.0.1 255.255.255.0
ip nat inside
duplex full
speed 100
no mop enabled
!
interface FastEthernet0/1
description Polaczenie dla sieci InternetDSL$ETH-WAN$
ip address 70.100.200.202 255.255.255.248
ip nat outside
duplex full
speed 100
no mop enabled
!
interface Serial0/2/0
no ip address
shutdown
clock rate 2000000
!
interface Serial1/0:0
no ip address
shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 70.100.200.201
!
ip http server
ip http access-class 23
ip http authentication local
ip http timeout-policy idle 600 life 86400 requests 10000
ip nat inside source list 10 interface FastEthernet0/1 overload
!
access-list 10 permit 192.168.0.0 0.0.0.255
no cdp run
!
control-plane
!
banner login
!
scheduler allocate 20000 1000
!
end
Kod: Zaznacz cały
FastEthernet0/0 is up, line protocol is up
Hardware is MV96340 Ethernet, address is 0017.e069.90d0 (bia 0017.e069.90d0)
Description: Polaczenie dla sieci LAN
Internet address is 192.168.0.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:07, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 667000 bits/sec, 65 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1325855 packets input, 1651534667 bytes
Received 53259 broadcasts, 0 runts, 0 giants, 0 throttles
1 input errors, 0 CRC, 0 frame, 0 overrun, 1 ignored
0 watchdog
0 input packets with dribble condition detected
59007 packets output, 30935019 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Kod: Zaznacz cały
FastEthernet0/1 is up, line protocol is up
Hardware is MV96340 Ethernet, address is 0017.e069.90d1 (bia 0017.e069.90d1)
Description: Polaczenie dla sieci InternetDSL$ETH-WAN$
Internet address is 70.100.200.202/29
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 01:09:38, output 00:00:08, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
252 packets input, 31403 bytes
Received 15 broadcasts, 10 runts, 0 giants, 0 throttles
10 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
166772 packets output, 217796845 bytes, 0 underruns
0 output errors, 0 collisions, 2 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
Kod: Zaznacz cały
Router3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 70.100.200.201 to network 0.0.0.0
70.0.0.0/29 is subnetted, 1 subnets
C 79.100.200.200 is directly connected, FastEthernet0/1
C 192.168.0.0/24 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via 70.100.200.201
pinguje wszystko do DSL'a 70.100.200.201 .... poza dsl a nie wychodze ...