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 04:31 AM
give me the outputs of the following
show ip protocols --> from your branch side router
show ip ospf nei --> from your branch side router
show ip route --> from your branch side router.
show ip ospf nei --> On your switch-1
show ip protocols --> from your head office router
Thanks
Vivek
02-06-2012 04:38 AM
branch router:
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 100.100.100.254
It is an autonomous system boundary router
Redistributing External Routes from,
static
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
22.0.68.0 0.0.0.255 area 0
10.10.10.1 0.0.0.0 area 0
20.20.20.0 0.0.0.3 area 0
Reference bandwidth unit is 100 mbps
Passive Interface(s):
FastEthernet0/0
FastEthernet0/0/0
Loopback0
VoIP-Null0
Routing Information Sources:
Gateway Distance Last Update
20.20.20.2 110 02:43:21
Distance: (default is 110)
02-06-2012 04:40 AM
Branch Router:
Neighbor ID Pri State Dead Time Address Interface
20.20.20.2 1 FULL/DR 00:00:37 20.20.20.2 FastEthernet0/
1
Neighbor ID Pri State Dead Time Address Interface
20.20.20.2 1 FULL/DR 00:00:37 20.20.20.2 FastEthernet0/
1
02-06-2012 04:43 AM
from the branch router.
Gateway of last resort is 20.20.20.2 to network 0.0.0.0
22.0.0.0/8 is variably subnetted, 12 subnets, 3 masks
C 10.10.10.0/30 is directly connected, FastEthernet0/0
S 22.0.68.0/24 [1/0] via 10.10.10.2
O IA 50.50.50.33 [110/50] via 20.20.20.2, 02:48:24, FastEthernet0/1
S* 0.0.0.0/0 [1/0] via 20.20.20.2
02-06-2012 04:44 AM
Can you remove the route 22.0.68.0 from BGP and try a ping?
02-06-2012 04:52 AM
i can not remove it from the headoffice, do you have any other idea?
02-06-2012 05:00 AM
its mean branch configuration are ok and it will work if segemnt remove form the headoffice?
02-06-2012 05:37 AM
You are advertising just the 10.10.10.1 which is router fa0/0 interface but not 10.10.10.2 which is the switch.
Change the statement
network 10.10.10.1 0.0.0.0 area 0
to
network 10.10.10.0 0.0.0.3 area 0
Hope this helps
Eugen
02-06-2012 05:58 AM
Hi Eugen,
the network command in ALL IGPs including OSPF is meant to enable the IGP on interfaces and also advertise the subnets of the interfaces on which it was enabled so he can leave the network command as is if he only wants to enable OSPF on the interface which has this IP, he will still advertise the subnet and not the IP.
Regards.
Alain
02-06-2012 06:04 AM
i have change the starement to
network 10.10.10.0 0.0.0.3 area 0
but it did not give any relief.
can you guide with the step by step config which i misssed.
02-06-2012 06:12 AM
Hi,
you don't need to do this as your network statement is perfectly valid as I explained in my previous post.
But we still don't have a network diagram which could highly help us understand your topology and propose you a fix.
Regards.
Alain.
02-06-2012 06:19 AM
Cadet = this is the config from my devices.
SWitch-1
ip routing
!
interface Vlan201
description USER VLAN
ip address 22.0.68.251 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.10.10.1
!
interface FastEthernet1/0/47
no switchport
ip address 10.10.10.2 255.255.255.252
!
+++
from switch-1
ping 50.50.50.33 (Head office)
Sending 5, 100-byte ICMP Echos to 50.50.50.33, timeout is 2 seconds:
!!!!!
but when ping from Computer
Request time out ?
========================================
Router-1
interface FastEthernet0/1
description *** MPLS
bandwidth 2048
ip address 20.20.20.1 255.255.255.252
!
interface FastEthernet0/1
description *** Switch-1
ip address 10.10.10.1 255.255.255.252
!
outer ospf 1
log-adjacency-changes
redistribute static
passive-interface default
no passive-interface FastEthernet0/1
network 22.0.68.0 0.0.0.255 area 0
network 10.0.10.1 0.0.0.0 area 0
network 20.20.20.0 0.0.0.3 area 0
!
ip route 0.0.0.0 0.0.0.0 20.20.20.2 (PE)
ip route 22.0.68.0 255.255.255.0 10.10.10.2
!
++++++++++++++++++++++++++++++++++++++++++++++
Headend (head office)
bgp 100
network 22.0.68.0 mask 255.255.255.0
++++++++++++++++++++++++++++++++++++++++++++++
botom line i can not ping the user segment from the head office
and i can not ping the headoffice ip 50.50.50.33 from the computer connectd to switch1.
but from the switch-1 i can ping head office ip address 50.50.50.33
please guide.
02-06-2012 06:21 AM
Hi,
yes I know as you already posted them but what we'd like is a network diagram to see how things are interconnected and where are the prefixes and how they are injected.
Regards.
Alain
02-06-2012 06:15 AM
Thanks again Alain, I better log off and stop posting otherwise you will spend more time correcting me and less helping people who needs helps, especially after I confuse them more with my ideas.
02-06-2012 06:23 AM
thank you....
now its working fine !!!
after doing the following....
R2(config)#access-list 1 permit 22.0.68.0 0.0.0.255
R2(config)#route-map REDSTAT permit 10
R2(config-route-map)#match ip address 1
R2(config-route-map)#exit
R2(config)#router ospf 1
R2(config-router)#redist static route-map REDSTAT subnets
R2(config-router)#exit
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