Unsolved

This post is more than 5 years old

1 Message

8852

July 5th, 2007 15:00

Using 6224 for vlan routing

Hi,

I have a 6224 switch, and I try to route between two vlans created on it.
I use the Application Note #38 (What is VLAN Routing) and I have questions about this note :
What is the use of the 3348 switches ?
Is it possible to connect directly the hosts to the 6224 switch ?

Thanks for your help to understand the 6224 using.

Patrick

93 Posts

July 6th, 2007 16:00

Patrick,
 
In order for the routing to work, you must enable routing Globally in the switch.
 
console(config)# ip routing
 
Once you do that, you need to assign IP addresses to the VLAN interfaces.
 
console(config)# interface vlan x
console(config-vlan x)# ip address xxx.xxx.xxx.xxx 255.255.255.255 (whatever the subnet mask is)
 
Now, the most important thing is that the VLAN interfaces are now the default-gateways to all of the computers in that VLAN.  You will need to set the default-gateways accordingly. 
 
Note:  The management VLAN (VLAN 1 by default) is not routable.  If you need VLAN 1 to route, you will need to create another VLAN and make it the management VLAN.
 
console(config)# vlan database
console(config-vlan)# vlan 4093
console(config-vlan)# exit
console(config)# ip address vlan 4093
 
The management VLAN will use the default Management IP address of 192.168.2.1 /24.  If you are going to use that IP subnet you will need to change the Management IP address.
 
console(config)# ip address xxx.xxx.xxx.xxx 255.255.255.255 (whatever the subnet mask is)

44 Posts

July 9th, 2007 14:00

Crzywolf,
 
Since the Management VLAN is not routable, what do you think is the best way to have access to the managment VLAN from another site or accross a WAN.  I've always routed the Management VLAN, but used access lists to restrict access with my other switches.
 
Thanks

93 Posts

July 10th, 2007 18:00

You can still access the switch from any of the active default-gateways on the switch.
No Events found!

Top