Interfejs rutera koji je nakacen na SBB modem mora da ima adresu dobijenu od DHCP SBB rutera inace ne mogu da pingujem 8.8.8.8 sa rutera
Sa switcha mogu da pingujem oba CISCO ruter interfejsa ali ne i 8.8.8.8
Sa CISCO rutera mogu da pingujem 8.8.8.8
ruter config:
Code:
Current configuration : 1181 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname mojruter
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$MV4K$bYCLgnrq9fwZ1C.5DiNvc1
!
aaa new-model
!
!
!
aaa session-id common
no ip routing
no ip cef
!
!
!
!
ip domain name rtp.cisco.com
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
username cisco password 0 cisco
!
!
ip tftp source-interface FastEthernet0/1
ip ssh version 2
!
!
!
!
interface FastEthernet0/0
ip address dhcp
ip nat outside
ip virtual-reassembly
no ip route-cache
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.5.1 255.255.255.0
ip nat inside
ip virtual-reassembly
no ip route-cache
speed auto
full-duplex
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
ip nat inside source list 1 interface FastEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
!
access-list 1 permit 192.168.5.0 0.0.0.255
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
transport input ssh
!
scheduler allocate 20000 1000
end
Current configuration : 1181 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname mojruter
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$MV4K$bYCLgnrq9fwZ1C.5DiNvc1
!
aaa new-model
!
!
!
aaa session-id common
no ip routing
no ip cef
!
!
!
!
ip domain name rtp.cisco.com
ip auth-proxy max-nodata-conns 3
ip admission max-nodata-conns 3
!
!
!
username cisco password 0 cisco
!
!
ip tftp source-interface FastEthernet0/1
ip ssh version 2
!
!
!
!
interface FastEthernet0/0
ip address dhcp
ip nat outside
ip virtual-reassembly
no ip route-cache
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.5.1 255.255.255.0
ip nat inside
ip virtual-reassembly
no ip route-cache
speed auto
full-duplex
!
ip forward-protocol nd
!
!
ip http server
no ip http secure-server
ip nat inside source list 1 interface FastEthernet0/0 overload
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
!
access-list 1 permit 192.168.5.0 0.0.0.255
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
transport input ssh
!
scheduler allocate 20000 1000
end
Na switch sam samo podesio VLAN1 da ima neku adresu iz opsega 192.168.5.0 i stavio sam ip default-gatway 192.168.5.1
sh ip nat tran-nema nikakvih podataka
ukljucivanje rutinga-ip routing na ruteru ne pomaze
Code:
do show ip nat statistics
Total active translations: 0 (0 static, 0 dynamic; 0 extended)
Outside interfaces:
FastEthernet0/0
Inside interfaces:
FastEthernet0/1
Hits: 47 Misses: 0
CEF Translated packets: 0, CEF Punted packets: 0
Expired translations: 10
Dynamic mappings:
-- Inside Source
[Id: 3] access-list 1 interface FastEthernet0/0 refcount 0
Appl doors: 0
Normal doors: 0
Queued Packets: 0
show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.0.17 YES DHCP up up
FastEthernet0/1 192.168.5.1 YES NVRAM up up
NVI0 unassigned NO unset up up
do show ip nat statistics
Total active translations: 0 (0 static, 0 dynamic; 0 extended)
Outside interfaces:
FastEthernet0/0
Inside interfaces:
FastEthernet0/1
Hits: 47 Misses: 0
CEF Translated packets: 0, CEF Punted packets: 0
Expired translations: 10
Dynamic mappings:
-- Inside Source
[Id: 3] access-list 1 interface FastEthernet0/0 refcount 0
Appl doors: 0
Normal doors: 0
Queued Packets: 0
show ip int brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.0.17 YES DHCP up up
FastEthernet0/1 192.168.5.1 YES NVRAM up up
NVI0 unassigned NO unset up up
Sta ne valjda ovde ?
[Ovu poruku je menjao Dragan Vucanovic dana 05.07.2018. u 20:42 GMT+1]
[Ovu poruku je menjao Dragan Vucanovic dana 05.07.2018. u 20:44 GMT+1]
[Ovu poruku je menjao Dragan Vucanovic dana 05.07.2018. u 20:45 GMT+1]
[Ovu poruku je menjao Dragan Vucanovic dana 05.07.2018. u 20:50 GMT+1]
[Ovu poruku je menjao Dragan Vucanovic dana 05.07.2018. u 20:51 GMT+1]
[Ovu poruku je menjao Dragan Vucanovic dana 06.07.2018. u 21:54 GMT+1]