cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
25360
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

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

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)

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

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

Can you remove the route 22.0.68.0 from BGP and try a ping?

i can not remove it from the headoffice, do you have any other idea?

its mean branch configuration are ok and it will work if segemnt remove form the headoffice?

ebarticel
Level 4
Level 4

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

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

Don't forget to rate helpful posts.

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.

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.

Don't forget to rate helpful posts.

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.

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

Don't forget to rate helpful posts.

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.

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

Review Cisco Networking for a $25 gift card