06-08-2019 02:59 PM
Hi,
I have a Cisco 897VA connected to my modem (192.168.1.1) on GE8.
My PC is connected on GE0 (vlan 10) and get a correct IP address (10.0.2.2). I can ping 192.168.1.240 but I can't ping 192.168.1.1 and I have no access to Internet.
ip dhcp excluded-address 10.0.2.1 ! ip dhcp pool HomeLAN network 10.0.2.0 255.255.255.0 default-router 10.0.2.1 interface GigabitEthernet0 switchport access vlan 10 no ip address interface GigabitEthernet8 ip address 192.168.1.240 255.255.255.0 duplex auto speed auto interface Vlan10 description Home ip address 10.0.2.1 255.255.255.0 ip route 0.0.0.0 0.0.0.0 192.168.1.1 ip route 10.0.2.0 255.255.255.0 192.168.1.1
Any idea ?
Thanks.
Solved! Go to Solution.
06-08-2019 11:14 PM
The issue is that the 192.168.1.1 router does not have a route for 10.0.2.0/24 via your Cisco 897.
06-08-2019 04:10 PM
06-08-2019 04:12 PM
06-08-2019 04:17 PM - edited 06-08-2019 04:20 PM
No es necesario que agregue esta otra ruta estática:
ruta ip 10.0.2.0 255.255.255.0 192.168.1.1
Ya que la ruta predeterminada es la ruta preferida porque tiene la menor distancia administrativa:
Ruta IP 0.0.0.0 0.0.0.0 192.168.1. 1
06-08-2019 11:14 PM
The issue is that the 192.168.1.1 router does not have a route for 10.0.2.0/24 via your Cisco 897.
06-09-2019 01:05 AM
Thanks a lot.
I can't add a static route in my provider modem/router.
I put the Cisco behind my pfSense and added a static route in it and it works.
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