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

Default route not working

radarbackwards
Level 1
Level 1

defaultroute.jpg

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

1 Accepted Solution

Accepted Solutions

kcnajaf
Level 7
Level 7

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 !!!

View solution in original post

3 Replies 3

kcnajaf
Level 7
Level 7

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 !!!

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

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 !!!