02-05-2012
07:48 AM
- last edited on
03-25-2019
04:18 PM
by
ciscomoderator
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.
Solved! Go to Solution.
02-06-2012 06:32 AM
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.
02-06-2012 06:37 AM
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?
02-06-2012 06:48 AM
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.
02-06-2012 06:56 AM
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
02-09-2012 07:36 AM
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.
02-09-2012 05:39 PM
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
02-10-2012 01:53 PM
and all the routing and satic route will remain same as Router-1
02-16-2012 06:12 AM
Vivek - now i need to introduce a new segment , 100.100.100.0/24
how should i configure it?
02-16-2012 06:44 AM
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
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