cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
327
Views
0
Helpful
1
Replies

Two switches with default vlan and different SVI IPs.

TommyB
Level 1
Level 1

Networking newbie :-

I did some reading on SVI and created a packet tracer exercise.  Both switches are on their default vlan (vlan 1).  I have assigned different svi IPs (vlan 1 svi)  to both (192.168.1.1 and 192.168.2.1).  Attached 3 PCs on each switch with different IPs and the GW as 192.168.1.1 and 192.168.2.1 respectively.  I connect these two switches to a 2911 router on different ports and have the ports on the 2911 with IPs 192.168.1.254 and 192.168.2.254.  Show IP route on the 2911 shows the connected routes.  I am unable to ping PCs on either side.  All ports on either switch are default vlan 1 ports with different SVI IPs.

 

Router#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.1.0/24 is directly connected, GigabitEthernet0/0
L       192.168.1.254/32 is directly connected, GigabitEthernet0/0
     192.168.2.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.2.0/24 is directly connected, GigabitEthernet0/1
L       192.168.2.254/32 is directly connected, GigabitEthernet0/1

Router#

any help is appreciated.

 

thanks, tommy

1 Reply 1

Mohsin Alam
Cisco Employee
Cisco Employee

You need to have a return path from router to PC .
Run OSPF b/w router and switches or any routing protocol or even static route and it will work.

 

## Make sure to mark post as helpful. ##





## Make sure to mark post as helpful, If it resolved your issue. ##
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: