cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
429
Views
0
Helpful
2
Replies

Multiple Vlans not working on same switch.

isanjays1973
Level 1
Level 1

Hi.

I have six 2059 switches with two GB ports each connected to a Dlink GB switch.

Theres only one vlan.(10.20.100.0/24)

Each switch has been given an ip address .

I am planning to intoduce a new subnet and do Ip routing with a 3550 switch. I follow the following steps -

1.make all the ports for the 3550 to dot1q.

2.the gb port on the 2950 switches i make them trunk allowing all vlans. I create the 2nd Vlan and give it a new address (10.20.101.1/24).

My problem is that the uplink does not come up. It comes up only when I am rebooting the 3550.

second problem is that when I do a no shut for vlan 2 then i have connectivity and the vlan1 shuts down automatically. can any one help please!

-----2950

interface FastEthernet0/47

switchport access vlan 2

!

interface FastEthernet0/48

switchport access vlan 2

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

switchport mode trunk

!

interface Vlan1

ip address 10.20.100.8 255.255.255.0

no ip route-cache

--More-- !

interface Vlan2

ip address 10.20.101.2 255.255.255.0

no ip route-cache

shutdown

------3550

!

interface Vlan1

10.20.100.12 255.255.255.0

!

interface Vlan2

ip address 10.20.101.1 255.255.255.0

!

ip default-gateway 10.20.100.1

ip classless

ip route 0.0.0.0 0.0.0.0 10.20.100.1

2 Replies 2

nelsonlin
Level 1
Level 1

Is this two commands necessary?

add "switchport mode access" to each interface of vlan 2 on 2950 switch.

e.q.

interface FastEthernet0/27

switchport access vlan 2

switchport mode access

further, add "switchport mode trunk" to each trunk interface of 3550 switch.

e.q.

interface GigabitEthernet0/7

switchport trunk encapsulation dot1q

switchport mode trunk

no ip address

glen.grant
VIP Alumni
VIP Alumni

This has been covered many times here but here it is again , the 2950 can only have 1 ip address which is used to manage the switch and that is all , it is not a routing device . So you can have an address on either interface vlan 1 or vlan 2 not both . Delete the one you don't want . To create a vlan on a 2950 all you have to do is "config t" , vlan X where X is the vlan number you want to create . Do not do a "interface vlan X" this is to create layer 3 SVI to manage the switch only . On the 3550 you can create multiple interfaces because it is a layer3 routing device , but you still have to create a layer vlan the same way you do on a 2950 , then you would have to have a trunk link to the 2950 if you are running more than 1 vlan down the link .

Review Cisco Networking for a $25 gift card