Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

5308xl Vlan Issue

SOLVED
Go to solution
Ed Valenzuela
Occasional Advisor

5308xl Vlan Issue

Working with a 5308xl with three modules. The A module has ports 1-16, B and C have 1-24. We set up 6 Vlans no including the default one. This is the current setup:
Default Vlan: no port assigned
Vlan1: C19-C24; A1-A7; A11-A16; C7-C12; C19-C24 with an IP address of 10.1.0.1
Vlan2: A5-A6 with an IP address of 10.2.0.1
Vlan3: A2-A4 with an IP address of 10.3.0.1
Vlan4: A8; B1-B6; B13-B18 with an IP address of 10.4.0.1
Vlan 5: A9; B7-B12, B19-B24 with an IP address of 10.5.0.1
Vlan 6: A10; C1-C6; C13-C18 with an IP address of 10.6.0.1
We have IP RIP, IP PIM ALL and IGMP running on all of the Vlans. The DHCP and SNTP server are one in the same at 10.2.0.101. The problem is that we cannot get to the server from any Vlan other than Vlan1. How can we get the Vlans to communicate to each other?
14 REPLIES
Ryan_G
Frequent Advisor

Re: 5308xl Vlan Issue

If you can post the config file. That will be alot more helpful.
Ed Valenzuela
Occasional Advisor

Re: 5308xl Vlan Issue

Heres the log
cenk sasmaztin
Honored Contributor

Re: 5308xl Vlan Issue

for comminication between vlan
must be ip routing enable on switch

and must be vlan member client address true config

for example

your dhcp and sntp server ip address config

ip address 10.2.0.101
subnet mask 255.255.255.0
default gateway address 10.2.0.1

for example vlan 3 member pc ip address config

ip address 10.3.0.10
subnet mask 255.255.255.0
default gateway 10.3.0.1







cenk

Ed Valenzuela
Occasional Advisor

Re: 5308xl Vlan Issue

How would I change the individual Vlans' default gateway?
cenk sasmaztin
Honored Contributor

Re: 5308xl Vlan Issue

default gateway address for vlan member pc

you can create different dhcp scobe on dhcp server and assign each vlan subnet each scobe

or statically assign ip address on all client
cenk

Ed Valenzuela
Occasional Advisor

Re: 5308xl Vlan Issue

Another question is what is the command to enable IP routing on the switch? Also do I have to do this for each individual vlan as well? Sorry kinda new to this.
cenk sasmaztin
Honored Contributor
Solution

Re: 5308xl Vlan Issue

very easy

(config)# ip routing
cenk

cenk sasmaztin
Honored Contributor

Re: 5308xl Vlan Issue

already ip routing enable on switch
cenk

cenk sasmaztin
Honored Contributor

Re: 5308xl Vlan Issue

have only problem vlan member client ip (mask-default gateway) configuration
cenk

Ed Valenzuela
Occasional Advisor

Re: 5308xl Vlan Issue

I am not fully understanding how to configure this. IP routing is enabled and when I try to change the default gateway i get a message that IP routing needs to be disabled first.
Ed Valenzuela
Occasional Advisor

Re: 5308xl Vlan Issue

Am I going to go into config and to each vlan menu and type ip address 10.2.0.1/xx? And if so that does the xx denote?
cenk sasmaztin
Honored Contributor

Re: 5308xl Vlan Issue

default gateway configuration for client (vlan member pc or server )

dhcp server ip address config
ip address 10.2.0.101
subnet mask 255.255.255.0
default gateway address 10.2.0.1*********


vlan 3 member pc ip address config
ip address 10.3.0.10
subnet mask 255.255.255.0
default gateway 10.3.0.1*********

**ip routing enable on switch no need default gatewayon switch
cenk

Gerhard Roets
Esteemed Contributor

Re: 5308xl Vlan Issue

Hi Ed

With ip routing enabled the command ip default-gateway does not work to add a default route you type

ip route 0.0.0.0/0 ipofdevicethatgoestothrestoftheworld(nexthop)

now the /0 means there is 0 bits in the subnet mask aka 0.0.0.0

if it is /8 it is 255.0.0.0
if it is /16 it is 255.255.0.0
if it is /24 it is 255.255.255.0
if it is /25 it is 255.255.255.128

I think you can deduce from that how the bitmask notation works :)

cenk sasmaztin
Honored Contributor

Re: 5308xl Vlan Issue

default gateway configuration for client (vlan member pc or server )

**ip routing enable on switch no need default gateway on switch
*********************************************
default gateway configuration for client (vlan member pc or server )

**ip routing enable on switch no need default gateway on switch
*********************************************
default gateway configuration for client (vlan member pc or server )

**ip routing enable on switch no need default gateway on switch
********************************************
default gateway configuration for client (vlan member pc or server )

**ip routing enable on switch no need default gateway on switch
********************************************
default gateway configuration for client (vlan member pc or server )

**ip routing enable on switch no need default gateway on switch
*******************************************
cenk