cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
828
Views
0
Helpful
15
Replies

Multiple subnetworks in VLAN

lubosbella
Level 1
Level 1

Hi,

can someone help me with this problem?:

I have c6500 with 2 vlans.

First: vlan10 is using ip subnet 192.168.100.0/24...clients are using default gateway 192.168.100.1

Second Vlan20 use subnet space 192.168.101.0/24...clients gateway is 192.168.101.1

In vlan10 will be SAN network with IP space 172.16.1.0/24 and in vlan20 SAN with subnet 172.16.2.0/24. I need these subnets 172.16.x.x will be visible and SANs can be replicated. How to configure c6500 to allow comunication???.

Thanks.

15 Replies 15

andrew.prince
Level 10
Level 10

Lubos,

Just create 2 more vlans to support the 2 new IP subnets.

HTH>

Thank,

maybe better will be to see problem on picture (in attachment).

Sites are interconected by one wire in vlan20. So i cant create new VLAN there.

So how to setup switches that SANs can comunicate?.

You need to either:-

1) Enable IP routing

2) Make the link between the 2 buildings a trunk, and create a VLAN that spans both buildings

3) Perform Layer 2 trunking.

HTH>

Thank,

this procedure is best, but im not sure if a switch in building B is managable and support to create VLANs.

If not, is possible to create in interface vlan20 second ip space/secondary ip address (ip address 172.16.2.0/24 secondary) and in interface vlan10 secondary ip address 172.16.1.0/24 ?

Then these subnets will be directly connected to c6500 and will be visible...

It is a good alternative idea?

what version of software are the 6500's running, CatOS or IOS? Hybrid or Native? What supervisor modules are installed?

Here is it:

IOS (tm) s72033_rp Software (s72033_rp-PK9SV-M), Version 12.2(18)SXD7b, RELEASE SOFTWARE (fc1)

ROM: System Bootstrap, Version 12.2(17r)S4, RELEASE SOFTWARE (fc1)

BOOTLDR: s72033_rp Software (s72033_rp-PK9SV-M), Version 12.2(18)SXD7b, RELEASE SOFTWARE (fc1)

Supervisor Engine 720 (Active) WS-SUP720-3B

This supports L2/L3 interfaces.

You can create 2 new vlans and have them route over the existing IP vlan between the two sites.

Thank,

and can you help me how to configure this routing? ....

- So we have:

interface Vlan10

ip address 192.168.100.1 255.255.255.0

interface Vlan20

ip address 192.168.101.1 255.255.255.0

- then i can add new VLANs:

interface Vlan30

ip address 172.16.1.1 255.255.255.0

interface Vlan40

ip address 172.16.2.1 255.255.255.0

But how to route them and assign them to interface?

When you create the VLAN - you also need to create the VLAN SVI.

Building B would be

interface vlan 40

ip address 172.16.2.1 255.255.255.0

ip route 172.16.1.0 255.255.255.0 192.168.100.x

Building A

interface vlan 30

ip address 172.16.1.1 255.255.255.0

ip route 172.16.2.0 255.255.255.0 192.168.101.y

x=4th octect of vlan interface in Building A

y=4th octect of vlan interface in Building B

Thank you very much Andrew.

Maybe some questions:

- i dont need to put this vlan 30 and 40 on same physicall interface? ... so physical interface where is connected building B to c6500 will be unchanged?

interface GigabitEthernet1/4

no ip address

switchport

switchport access vlan 20

switchport mode access

no cdp enable

spanning-tree portfast

- there are no others configuration changes for this routing except "ip routing"?

Only the interfaces on the respective sites that connect to the SAN need to be in the VLANs.

The VLAN/physical connection that connects the 2 buildings together does not need to be touched.

I would imagine that you already have "ip routing" enabled. so other than the static routes I posted earlier, no more routing config needs to be applied.

HTH>

Ok,

so one SAN interface which is connected to LAN is in building A. Here is SAN connected with one port to c6500. So config of this physical interface on c6500 will be:

interface GigabitEthernet1/5

no ip address

switchport

switchport access vlan 30 ???

switchport mode access

But if switch in building B is unmanagable then i cant configure this switch and i must to plug cable to this switch only....? but what than with vlan40?

Many thanks.

switchport config is correct.

If the switch in B is unmanaged, then you have a long walk to go an configure it!!

Ok if switch will be unmanagable then is better to buy new managable switch in building B...:)

Last question:

if i do a trunk link between buildings, is better to put SAN in building A in vlan 30 and put SAN in building in VLAN 40 or is better to use one VLAN (f.e.: 50) and put both SANs to this VLAN (in building A and B)?

Thanks.

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