cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
512
Views
0
Helpful
3
Replies

Cannot ping homelab

Jasonmc010
Level 1
Level 1

Hi,
Trying to get to grips with the cisco equipment hands on but I am struggling on this one.
I am trying to get my laptop (172.16.223.220) on my home network to ping the laptop on my homelab (192.168.30.3). The 1841 router has been allocated an IP of 172.16.224.212
I have internet access on the 1841 router which runs through my home router so there is a connection and I can ping everything on the 1841 router when connected to the console port, please see the diagram below of how it is connected. (ignore the colours)

Screenshot 2023-02-14 210748.png

Config Setting are below, I have tried using an IP route command but doesn't get me anywhere. 
I have searched online for an answer but anything I have found and tried still does not get it going.

ip dhcp pool internalhost
network 192.168.30.0 255.255.255.0
dns-server 8.8.8.8
domain-name ---------
default-router 192.168.30.1
lease 3
!
!
ip cef
multilink bundle-name authenticated
!
!
license udi pid CISCO1841 sn FCZ123375KN
!
!
!
!
!
!
interface FastEthernet0/0
description BT Hub (Incoming Connection)
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
!
interface FastEthernet0/1
description Interface S2
ip address 192.168.30.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
ip virtual-reassembly out
duplex auto
speed auto
!
interface Serial0/1/0
no ip address
shutdown
no fair-queue
clock rate 2000000
!
ip forward-protocol nd
!
!
no ip http server
ip nat inside source list 1 interface FastEthernet0/0 overload
ip route 172.16.224.0 255.255.255.0 192.168.30.0
ip route 0.0.0.0 0.0.0.0 dhcp
!
access-list 1 permit 192.168.30.0 0.0.0.255

ARP Table---------------------------------------------------------
R3#show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 172.16.0.1 0 3024.----.---- ARPA FastEthernet0/0
Internet 172.16.223.220 0 482a.----.---- ARPA FastEthernet0/0
Internet 172.16.224.70 0 0231.----.---- ARPA FastEthernet0/0
Internet 172.16.224.105 27 4878.----.---- ARPA FastEthernet0/0
Internet 172.16.224.212 - 0022.----.---- ARPA FastEthernet0/0
Internet 192.168.30.1 - 0022.----.---- ARPA FastEthernet0/1
Internet 192.168.30.2 25 0026.----.---- ARPA FastEthernet0/1
Internet 192.168.30.3 0 f076.----.---- ARPA FastEthernet0/1

 

Many thanks for your help.

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Your "home-router" needs to have a static route to 172.16.30.0/24 

ip route 172.16.30.0 255.255.255.0 172.16.224.212

The above command is how you do it on Cisco devices. So, not sure what vendor's device is your home-router.

HTH

 

Hi Reza,

I tried it this evening but no luck.
My router had decided to change the IP address of the cisco router to 172.16.224.199 but I have now made this static with the BT Hub router.

I have tried these below; but it still will not ping. I can ping from the homelab to my home network (Always been able too) but just not in reverse.
ip route 192.168.0.0 255.255.0.0 172.16.0.0
ip route 192.168.30.0 255.255.255.0 172.16.224.0
ip route 192.168.30.0 255.255.255.0 172.16.0.0

When i tried the suggestion, it came up with an 'Invalid next hop address (it's this router)' error.

Thank you for your help.

 

There are multiple levels of issues about this environment but I want to focus on one which is perhaps most important. You tell us "I am trying to get my laptop (172.16.223.220) on my home network to ping the laptop on my homelab (192.168.30.3)". Looking at the partial config provided I note that you have configured dynamic NAT for the 192.168.30.0 network. Dynamic nat like that would allow the PC in homely to ping your laptop (172.16.223.220) but does not allow your laptop to initiate the ping. To be able to ping the homelab PC you will need static nat. So you have an architectural issue in the network design (access from outside when dynamic nat is configured).

HTH

Rick
Review Cisco Networking for a $25 gift card