01-01-2019 11:22 AM - edited 03-08-2019 04:55 PM
Hello guys, I had a problem with pining my NAS storage the topology like this: the internet modem is the default gateway
connected to the int f0/0 of the router Cisco 1800 series with the IP address 192.168.1.2
the other int f0/1 configured with the subnet 192.168.2.1 and connected to the NAS storage with the IP 192.168.2.2
the problem is I can ping my NAS from the router CLI but from my pc which is in the subnet 192.168.1.0 I can only ping the int f0/1 but I can not bing the NAS !!! even though I had configured the default gateway of it with 192.168.2.1. So any ideas please ?
Router#sh run
Building configuration...
Current configuration : 768 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.2.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/1/0
no ip address
shutdown
clock rate 2000000
!
interface Serial0/1/1
no ip address
shutdown
clock rate 2000000
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
!
control-plane
!
!
!
line con 0
line aux 0
line vty 0 4
login
!
scheduler allocate 20000 1000
end
01-01-2019 07:43 PM
Can ypu check if the nas has the correct default gateway pointimgback to your router
01-03-2019 11:29 AM
Thanks, yes I already checked but no ping :(
01-01-2019 11:57 PM - edited 01-01-2019 11:59 PM
Try doing a ping to the NAS from the router by sourcing the ping from fa0/0
ping 192.168.2.2 source fa0/0
or
ping 192.168.2.2 source 192.168.1.2
If it doesn't work, check the NAS gateway, it must be 192.168.2.1 in order for this to work.
Check also its ARP entry for the gateway if it is properly learned, it must match with the MAC address on Fa0/1
01-03-2019 02:31 PM
Hello Ossama,
Grretings,
There is not any problem in your configuration of the router, but let me tell you one of the most common probabilities!
but before that I am considering that the gateways for the PC and NAS are configured correctly, plus that each device is pinging at least its gateway!
Then, If your PC and/or your NAS are connected to any another network by wire or wireless, for example:
if you laptop is connected by wire to the router and by wireless to WiFi, you will not ping because the priority of WiFi connection can be higher, so in this case, please try to ping from your pc like this:
ping 192.168.2.3 -S 192.168.1.x
“note that 182.168.1.x is your PC IP add.”
Also the same from NAS
ping 192.168.1.x -S 192.168.2.3
Please try that and let us know the results, I will be so happy to support!
Also please don’t forget to rate my reply if it has been helpful and mark it as a solution if it’s helping to solve your issue! It will be so nice from you!
Thanks in advance!
Bst Rgds,
Andrew Khalil
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide