06-09-2013 11:36 PM - edited 03-07-2019 01:47 PM
Here is the scenario,
R10 can ping 8.8.8.8
R1 (Layer 3 switch) cant ping 8.8.8.8, but can ping 192.168.254.2
what i want to happen is, R1 can also ping 8.8.8.8 or the Internet, i already set the default route from R1 to R10 then a default route from R10 to 192.168.254.1
please see my config, i cant figure out how to get this work, from R1 it is suppose to ping 8.8.8.8 becase a default route is advertised in the R10
R10 CONFIG
interface FastEthernet0/0
ip address 192.168.66.254 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 192.168.254.2 255.255.255.0
duplex auto
speed auto
!
no ip http server
no ip http secure-server
ip route 0.0.0.0 0.0.0.0 192.168.254.1
ip route 192.168.91.0 255.255.255.0 192.168.66.253
ip route 192.168.200.0 255.255.255.0 192.168.66.253
ip route 192.168.210.0 255.255.255.0 192.168.66.253
ip route 192.168.250.0 255.255.255.0 192.168.66.253
R1 (Layer 3 Switch) CONFIG
interface FastEthernet0/0
switchport mode trunk
duplex full
speed 100
!
interface FastEthernet0/1
switchport trunk native vlan 999
switchport mode trunk
duplex full
speed 100
!
interface FastEthernet0/2
switchport access vlan 66
!
interface FastEthernet0/3
switchport access vlan 200
interface Vlan66
ip address 192.168.66.253 255.255.255.252
!
interface Vlan200
ip address 192.168.200.10 255.255.255.0
!
interface Vlan210
ip address 192.168.210.10 255.255.255.0
!
interface Vlan250
ip address 192.168.250.10 255.255.255.0
ip helper-address 192.168.200.1
!
no ip http server
no ip http secure-server
ip route 0.0.0.0 0.0.0.0 192.168.66.254
Thank you very much and god bless
Solved! Go to Solution.
06-09-2013 11:51 PM
Hi,
It could be that you are missing NATing here. Try below configuration on R10 and check how it goes.
interface FastEthernet0/0
ip nat inside
!
interface FastEthernet1/0
ip nat outside
!
ip nat inside source list 1 interface FasEthernet1/0 overload
!
access-list 1 permit 192.168.66.0 0.0.0.255
(add other LAN subnets to ACL if you want access to internet)
Hope this helps
Regards
Najaf
Please rate when applicable or helpful !!!
06-09-2013 11:51 PM
Hi,
It could be that you are missing NATing here. Try below configuration on R10 and check how it goes.
interface FastEthernet0/0
ip nat inside
!
interface FastEthernet1/0
ip nat outside
!
ip nat inside source list 1 interface FasEthernet1/0 overload
!
access-list 1 permit 192.168.66.0 0.0.0.255
(add other LAN subnets to ACL if you want access to internet)
Hope this helps
Regards
Najaf
Please rate when applicable or helpful !!!
06-09-2013 11:57 PM
Hi najaf,
yes it worked, at first i thought i was lacking something on the routes, i even thought i must apply a route-map
thanks for this
cheers!!!
repped +1
06-10-2013 12:02 AM
Hi,
Good to hear that this is working now and thanks for the making this as correct answer.
In my ACL i have included only one subnet, so if you need other subnet please include them on the ACL.
Hope that helps
Regards
Najaf
Please rate when applicable or helpful !!!
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