cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
23415
Views
5
Helpful
38
Replies

unable to ping the SVI VLAN

siddiquiomer
Level 1
Level 1

i am stuck in a issue! unable to ping the SVI


i am design a small network for a office.


1 router 2811


1 switch 3750-e


-----------------


Router is connected to the mpls cloud with ospf.



here re the config.



Router#


int fa0/0


ip 10.10.10.1 255.255.255.252


des connected to switch


no shut


!


int fa0/1


ip 20.20.20.1 255.255.255.252


des connected to MPLS cloud


no shut


!


-----


SWITCH#config t
Vlan 201
exit
int vln 201
ip address 22.0.68.251 255.255.255.0
des USER VLAN
no shut
int fa1/0/48
no switchport
ip address 10.10.10.2 255.255.255.252
no shut
!
ip routing
ip route 0.0.0.0 0.0.0.0 10.10.10.1
!


!


!


int fa1/0/1


switchport


switchport mode access


switchport access vlan 201


no shut


+++++++++++++++++++++++++++++++


SVI VLAN201 is UP


i connect my laptop and give ip 22.0.68.1 255.255.255.0 and default gateway 22.0.68.251
but can not ping SVI VLAN 201 (22.0.68.251) ?



and from the SWITCH i can not ping the 20.20.20.2?



please help.

38 Replies 38

Hi,

ok so you had forgotten the subnets keyword in your redistribution statement and none of us even saw it , small things in life ...

Glad you solved it, can you mark the thread as solved.

Regards.

Alain.

Don't forget to rate helpful posts.

Omer,

you posted me the similar config earlier when it wasn't working

Your Post

i have foollowing config in my router

router ospf 1

log-adjacency-changes

redistribute static subnets route-map REDSTAT

passive-interface default

no passive-interface FastEthernet0/1

network 10.10.10.1 0.0.0.0 area 0

network 20.20.20.1 0.0.0.3 area 0

!

access-list 1 permit 22.0.68.0 0.0.0.255

but its not working - what should i aslo do on the headoffice router?

Was it working that time?

thank you Vivek and Cadet and give your value time!

Vivek,

that time there is no static route towards the switch so not working that time.

i miss that one.

and you can see my following post where i remove the re-distribution.

but now finally when i add the static route and then re-distb it then its work.

i also did not remove the config from the BGP side.

thank you very much.

Great to hear. Anyways, removing that BGP network statement was a bad from my side   There is nothing bad with that statement coz BGP will not advertise that route back into the cloud unless there is a specific match in its routing table via a static routing. Don't know was totally in a state of confusion & sleepy ! Sorry for my bad.

Thanks

Vivek

i have received back-up link with the same routing protocol OSPF !



CE Edge (20.20.20.17 255.255.255.252) - My router2

PE Edge (20.20.20.18 255.255.255.252) - Service Provider



Router2#int fa0/1

ip address 20.20.20.17 255.255.255.252

des connect to MPLS cloud


Router2#int fa0/0

ip address 10.10.10.5 255.255.255.252

des connect to Switch-1 fa1/0/48






could you please guide how to configure it into this existing setup.

i need when primary link failed backup link should take place.

Hello Omer,

Increase the cost of the link of fa0/1.

conf t

int fa 0/1

des connect to MPLS cloud

ip address 20.20.20.17 255.255.255.252

ip ospf cost 10

Thanks

Vivek

and all the routing and satic route will remain same as Router-1

Vivek - now i need to introduce a new segment , 100.100.100.0/24

how should i configure it?

Omer,

Create the new Layer 3 VLAN on your switch & then have a routing on your router to point back to the routed interface of your switch. This is how it should be

On your router

ip route 100.100.100.0 255.255.255.0 10.10.10.2

You are already redistributing your static routes into the OSPF. Make sure to add this network into your route-maps to have them redistributed into OSPF.

Thanks

Vivek

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card