cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3616
Views
0
Helpful
5
Replies

Switch IP routing and vlan

serge_leboeuf
Level 1
Level 1

First office.

Hi, I have multiple vlan at the datacenter.

vlan 236 = vlan switches  IP:10.133.236.0

vlan 238 = vlan of the server   IP:10.133.238.0

Those two vlan are configured on a 3750 switches.

Second Office

vlan 100 for administration of those switches   10.138.100.0

vlan 91 for the server    10.138.91.0

vlan 10 for office.    10.138.10.0

etc.

It is an 3750 switches also.

Both switches are doing layer 3

What I want to do is to add in my second office the vlan 238 ( Server ) that is at my first office , So I already configure and add the vlan 238 on my second switch.

But, now, I don't know how to route , Ping from my first datacenter to the second ,

I think that I need to

IP route 0.0.0.0 0.0.0.0 10.133.100.0

Could you help ??

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

serge_leboeuf wrote:

First office.

Hi, I have multiple vlan at the datacenter.

vlan 236 = vlan switches  IP:10.133.236.0

vlan 238 = vlan of the server   IP:10.133.238.0

Those two vlan are configured on a 3750 switches.

Second Office

vlan 100 for administration of those switches   10.138.100.0

vlan 91 for the server    10.138.91.0

vlan 10 for office.    10.138.10.0

etc.

It is an 3750 switches also.

Both switches are doing layer 3

What I want to do is to add in my second office the vlan 238 ( Server ) that is at my first office , So I already configure and add the vlan 238 on my second switch.

But, now, I don't know how to route , Ping from my first datacenter to the second ,

I think that I need to

IP route 0.0.0.0 0.0.0.0 10.133.100.0

Could you help ??

How are the 2 sites connected to each other. If it is a L3 link then you won't be able to have the same vlan in your 2 different sites unless you use something along the lines of L2TPv3 but as far as i know that isn't supported on the 3750 switches.

If the connection is L2 then you could do this.

Is there any reason you need to add the vlan to your second office. Can you not just route to the server vlan in the data centre  ? If this is what you are asking you can add a static route on the 3750 in your second office but again we need to know how the 2 sites are connected and the IP addressing that connects the 2 sites. Perhaps a quick topology diagram.

ip route 0.0.0.0 0.0.0.0 10.133.100.0  does not make any sense.

On the 3750 office switch this is what you would need

ip route 10.133.238.0 255.255.255.0  

but as i say without knowing how your sites are connected/ip addressing can't say for sure which approach you need.

Jon

View solution in original post

5 Replies 5

Jon Marshall
Hall of Fame
Hall of Fame

serge_leboeuf wrote:

First office.

Hi, I have multiple vlan at the datacenter.

vlan 236 = vlan switches  IP:10.133.236.0

vlan 238 = vlan of the server   IP:10.133.238.0

Those two vlan are configured on a 3750 switches.

Second Office

vlan 100 for administration of those switches   10.138.100.0

vlan 91 for the server    10.138.91.0

vlan 10 for office.    10.138.10.0

etc.

It is an 3750 switches also.

Both switches are doing layer 3

What I want to do is to add in my second office the vlan 238 ( Server ) that is at my first office , So I already configure and add the vlan 238 on my second switch.

But, now, I don't know how to route , Ping from my first datacenter to the second ,

I think that I need to

IP route 0.0.0.0 0.0.0.0 10.133.100.0

Could you help ??

How are the 2 sites connected to each other. If it is a L3 link then you won't be able to have the same vlan in your 2 different sites unless you use something along the lines of L2TPv3 but as far as i know that isn't supported on the 3750 switches.

If the connection is L2 then you could do this.

Is there any reason you need to add the vlan to your second office. Can you not just route to the server vlan in the data centre  ? If this is what you are asking you can add a static route on the 3750 in your second office but again we need to know how the 2 sites are connected and the IP addressing that connects the 2 sites. Perhaps a quick topology diagram.

ip route 0.0.0.0 0.0.0.0 10.133.100.0  does not make any sense.

On the 3750 office switch this is what you would need

ip route 10.133.238.0 255.255.255.0  

but as i say without knowing how your sites are connected/ip addressing can't say for sure which approach you need.

Jon

Thank For the reply:

I'm pretty sure that I could do that with an IP route.

But , Idon't know where to do it.On which switch , On the  master  or on the second one that I want to add the server .

The master switch is at the datacenter

Vlan 236, 238, 228, 239

Second switch is in a mills.

vlan 100, 10, 50, 91,

I need to do that because I don't have any place at the datacenter .

So, I want to know, Do I need to add the vlan 238 on my second switch ??

Do I need to put an Ip address on the interface for that vlan ??

Also, To do what I want to do , On which switch I should do the Ip route and why ??

Ip route ( Ip  Of what , wich vlan  and is subnet) next hop ???

If I ping a server that is at the mills (vlan 091) It used the vlan 080..... 

Ip route ( Which one I should use ??  ) Next hop is the vlan I want to go ?????

Sorry, But i'm tryning to learn   .

Thanks !!

serge_leboeuf wrote:

Thank For the reply:

I'm pretty sure that I could do that with an IP route.

But , Idon't know where to do it.On which switch , On the  master  or on the second one that I want to add the server .

The master switch is at the datacenter

Vlan 236, 238, 228, 239

Second switch is in a mills.

vlan 100, 10, 50, 91,

I need to do that because I don't have any place at the datacenter .

So, I want to know, Do I need to add the vlan 238 on my second switch ??

Do I need to put an Ip address on the interface for that vlan ??

Also, To do what I want to do , On which switch I should do the Ip route and why ??

Ip route ( Ip  Of what , wich vlan  and is subnet) next hop ???

If I ping a server that is at the mills (vlan 091) It used the vlan 080..... 

Ip route ( Which one I should use ??  ) Next hop is the vlan I want to go ?????

Sorry, But i'm tryning to learn   .

Thanks !!

Serge

No need to apologize.

Can you clarify something. Do you want

1) to be able to route to vlan 238 from the office site

OR

2) actually be able to have vlan 238 exist in both the data centre and the office site.

The 2 things are very different and we need to know which one you want before we can suggest a solution.

Also we have to know

1) how is the data centre connected to the office site ie.

    what devices are used to connect the 2 sites

    is the link a Layer 3 routed link or a L2 switched link

Jon

Thanks again !

1) to be able to route to vlan 238 from the office site , NO !

OR

2) actually be able to have vlan 238 exist in both the data centre and the office site. Yes, I want to add the server there in the vlan 238 !

The 2 things are very different and we need to know which one you want before we can suggest a solution.

Also we have to know

1) how is the data centre connected to the office site ie.

    what devices are used to connect the 2 sites: Switches it is in the same building !!

    is the link a Layer 3 routed link or a L2 switched link

At the Datacenter , It is doing layer 3 , here's a show version :


Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(50)SE2,                                                                              RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Fri 15-May-09 21:29 by nachen
Image text-base: 0x00003000, data-base: 0x01D00000

ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE                                                                              (fc1)

CTG-CORE uptime is 12 weeks, 2 days, 5 hours, 27 minutes
System returned to ROM by power-on
System image file is "flash:/c3750-ipservicesk9-mz.122-50.SE2.bin"

At the mills :


Cisco IOS Software, C3750 Software (C3750-IPBASEK9-M), Version 12.2(50)SE2, RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Fri 15-May-09 21:29 by nachen
Image text-base: 0x00003000, data-base: 0x01900000

ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)

091-C3750-ADM-1 uptime is 24 weeks, 3 days, 20 hours, 5 minutes
System returned to ROM by power-on
System restarted at 20:01:06 EST Fri Jun 12 2009
System image file is "flash:/c3750-ipbasek9-mz.122-50.SE2.bin"

Both are doing layer 3 a I know !!

I just need to add a fiber optic from one switch to the other one only, Create the vlan on the

remote switch only.

Thank You very much  !!

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