hi,
It's the first time i set up a cisco router and i want to be sure if it's working before plugin it in my network.
test envirronmet:
ISP --> Router1 + Server running dhcp 192.168.0.0/24 --> Router2 running dhcp 192.168.2.0/24 --> Cisco router (no dhcp) 192.168.0.254
The Cisco router needs to replace router1
Can ping from client to 192.168.2.1 (router2)
Can ping from client to 192.168.0.254(cisco router)
can't ping google.com --> get response of Translating "google.be"...domain server (192.168.2.1) [OK] but no pings
Can't ping the local server.
My question: Is this because there are 2 networks 192.168.0.0/24 or because a wrong setting on my router?
Here's my router setting
Building configuration...
Current configuration : 2344 bytes
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 #hash
enable password Password
!
no aaa new-model
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
license udi pid C891F-K9 sn FCZ2039102B
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
!
interface FastEthernet0
description WAN port
ip address dhcp
ip nat outside
ip nat enable
ip virtual-reassembly in
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0
switchport access vlan 10
no ip address
!
interface GigabitEthernet1
switchport access vlan 10
no ip address
!
interface GigabitEthernet2
switchport access vlan 10
no ip address
!
interface GigabitEthernet3
switchport access vlan 10
no ip address
!
interface GigabitEthernet4
switchport access vlan 10
no ip address
!
interface GigabitEthernet5
switchport access vlan 10
no ip address
!
interface GigabitEthernet6
switchport access vlan 10
no ip address
!
interface GigabitEthernet7
switchport access vlan 10
no ip address
!
interface GigabitEthernet8
description WAN port
ip address dhcp
ip nat outside
ip nat enable
ip virtual-reassembly in
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 192.168.0.254 255.255.255.0
ip nat inside
ip nat enable
ip virtual-reassembly in
!
interface Async3
no ip address
encapsulation slip
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip nat inside source list 10 interface GigabitEthernet8 overload
ip route 0.0.0.0 0.0.0.0 FastEthernet0
ip route 0.0.0.0 0.0.0.0 GigabitEthernet8
!
!
snmp-server community 192.168.0.254 RO
access-list 10 permit 192.168.0.0 0.0.0.255
!
control-plane
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
!
!
!
line con 0
no modem enable
line aux 0
line 3
modem InOut
speed 115200
flowcontrol hardware
line vty 0 4
password Password123
login
transport input none
!
scheduler allocate 20000 1000
!
!
end
It's the first time i set up a cisco router and i want to be sure if it's working before plugin it in my network.
test envirronmet:
ISP --> Router1 + Server running dhcp 192.168.0.0/24 --> Router2 running dhcp 192.168.2.0/24 --> Cisco router (no dhcp) 192.168.0.254
The Cisco router needs to replace router1
Can ping from client to 192.168.2.1 (router2)
Can ping from client to 192.168.0.254(cisco router)
can't ping google.com --> get response of Translating "google.be"...domain server (192.168.2.1) [OK] but no pings
Can't ping the local server.
My question: Is this because there are 2 networks 192.168.0.0/24 or because a wrong setting on my router?
Here's my router setting
Building configuration...
Current configuration : 2344 bytes
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 #hash
enable password Password
!
no aaa new-model
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
license udi pid C891F-K9 sn FCZ2039102B
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface BRI0
no ip address
encapsulation hdlc
shutdown
isdn termination multidrop
!
interface FastEthernet0
description WAN port
ip address dhcp
ip nat outside
ip nat enable
ip virtual-reassembly in
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0
switchport access vlan 10
no ip address
!
interface GigabitEthernet1
switchport access vlan 10
no ip address
!
interface GigabitEthernet2
switchport access vlan 10
no ip address
!
interface GigabitEthernet3
switchport access vlan 10
no ip address
!
interface GigabitEthernet4
switchport access vlan 10
no ip address
!
interface GigabitEthernet5
switchport access vlan 10
no ip address
!
interface GigabitEthernet6
switchport access vlan 10
no ip address
!
interface GigabitEthernet7
switchport access vlan 10
no ip address
!
interface GigabitEthernet8
description WAN port
ip address dhcp
ip nat outside
ip nat enable
ip virtual-reassembly in
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
ip address 192.168.0.254 255.255.255.0
ip nat inside
ip nat enable
ip virtual-reassembly in
!
interface Async3
no ip address
encapsulation slip
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip nat inside source list 10 interface GigabitEthernet8 overload
ip route 0.0.0.0 0.0.0.0 FastEthernet0
ip route 0.0.0.0 0.0.0.0 GigabitEthernet8
!
!
snmp-server community 192.168.0.254 RO
access-list 10 permit 192.168.0.0 0.0.0.255
!
control-plane
!
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
!
!
!
line con 0
no modem enable
line aux 0
line 3
modem InOut
speed 115200
flowcontrol hardware
line vty 0 4
password Password123
login
transport input none
!
scheduler allocate 20000 1000
!
!
end