cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
733
Views
0
Helpful
17
Replies

Connecting two 3550 switches with VLAN IP routing

cmorley
Level 1
Level 1

Hi, our subcontractors have finished the switch install, consisting of two Catalyst 3550 switches connected to each other via a trunk on port 47, with clients and other switches tagged off these switches.

Im having a little trouble understanding the configuration, why has the client switch got an ip address of 192.168.2.10? From my understanding it shouldnt need an address as any packets arriving on its interface will be routed across trunk between the client and core switch, where the core switch will handle the routing?? Or am i totally offtrack? When i remove VLAN3 ip address from the client switch the entire lot goes down, it is obviously needed but i dont understand why.

CORE CONFIG

version 12.2

no service pad

service timestamps debug uptime

service timestamps log datetime

no service password-encryption

service sequence-numbers

!

hostname core

!

no aaa new-model

ip subnet-zero

ip routing

!

no file verify auto

!

spanning-tree mode pvst

no spanning-tree optimize bpdu transmission

spanning-tree extend system-id

spanning-tree vlan 1-3 priority 0

!

vlan internal allocation policy ascending

!

interface GigabitEthernet0/1-20

spanning-tree portfast

!

interface GigabitEthernet0/21-35

spanning-tree portfast

switchport access vlan 2

switchport mode access

!

interface GigabitEthernet0/36-46

spanning-tree portfast

switchport access vlan 3

switchport mode access

!

interface GigabitEthernet0/47

description connected to client as a trunk to port 47

switchport access vlan 3

switchport trunk encapsulation dot1q

switchport mode trunk

!

interface GigabitEthernet0/50

switchport trunk encapsulation dot1q

switchport mode trunk

!

interface GigabitEthernet0/51

switchport trunk encapsulation dot1q

switchport mode trunk

!

interface GigabitEthernet0/52

switchport trunk encapsulation dot1q

switchport mode trunk

!

interface Vlan1

ip address 192.168.0.2 255.255.255.0

ip helper-address 192.168.0.31

ip helper-address 192.168.0.28

!

interface Vlan2

ip address 192.168.1.1 255.255.255.0

ip helper-address 192.168.0.31

ip helper-address 192.168.0.28

!

interface Vlan3

ip address 192.168.2.1 255.255.255.0

ip helper-address 192.168.0.31

ip helper-address 192.168.0.28

!

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.0.1

ip http server

!

end

CLIENT CONFIG

version 12.2

no service pad

service timestamps debug uptime

service timestamps log datetime

no service password-encryption

service sequence-numbers

!

hostname client

!

no aaa new-model

vtp domain cisco

vtp mode transparent

ip subnet-zero

ip routing

!

no file verify auto

spanning-tree mode pvst

spanning-tree extend system-id

!

vlan internal allocation policy ascending

!

vlan 3

name UsersAccess

!

interface GigabitEthernet0/1-46

switchport access vlan 3

switchport mode access

spanning-tree portfast

!

interface GigabitEthernet0/47

description connected to Core Switch As a trunk port

switchport trunk encapsulation dot1q

switchport mode trunk

!

interface Vlan1

ip address 192.168.0.5 255.255.255.0

ip helper-address 192.168.0.31

ip helper-address 192.168.0.28

!

interface Vlan3

ip address 192.168.2.10 255.255.255.0

ip helper-address 192.168.0.31

ip helper-address 192.168.0.28

!

ip classless

ip http server

!

end

Many thanks in advance,

Chris

17 Replies 17

Hi Friend,

HSRP is for redundancy and load sharing when you have two l3 device so that if one goes down another can handle the network.

But because you have one core switch only HSRP is not for your network.

HTH, if yes please rate all helpfull post

Ankur

thanks for the reply. when you say core switch what do you mean by that? both switches are the same models.

cheers, i will rate your post.

thanks,

chris

Hi Chris,

By Core switch I mean the switch which is handling your core traffic. It does not matter if they are of same model.

Your switch which you have named as client should and is working as a layer 2 switch and your switch to which you have named a core switch is working as layer 3 switch.

The design where you can implement HSRP is like when a layer 2 switch is connected to 2 uplink layer 3 switches and HSRP is configured on both the uplink switches. Your users will sit on layer 2 switch with HSRP ip address as gateway ip address and if incae your core layer 3 switch goes down your second layer 3 switch will take care of your network.

Pls look at the link and this pic will explain you the way HSRP can be implemented

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3750/12225see/scg/swhsrp.htm#wp1044171

HTH

Ankur

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