cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1835
Views
10
Helpful
10
Replies

How to Merge Two Lan Uplink in L3 Switch

samphu
Level 1
Level 1

I have Two Lan Uplink for my network with respective Private IP (Uplink 1: 192.168.2.0/24 and Uplink 2:192.168.94.0/24).

 

I want to merge both the Lan IP and route it through different IP address 10.10.10.0 (Vlan202).

so that i can access both the services of different Lan.

 

Note:I cant change Lan Network of the uplink as it is provided by contact center.

Thank you in advance.

 

Network diagram in the attachment please

 

10 Replies 10

Andrew Khalil
Spotlight
Spotlight

Hello @samphu,

Greetings,

Actually to allow these different networks to reach each other, you will need to configure:

1- On the L3 Switch the following:

#ip routing

Also, don't to forget to assign for each device its gateway, 

for example for PC0, the gateway will be the IP add of the interface vlan 202.

 

2- On R1 (the left one):

you will need to configure static routing:

#ip route 192.168.94.0 255.255.255.0 192.168.2.x

#ip route 10.10.10.0 255.255.255.252192.168.2.x

note 192.168.2.x this it the IP address of interface Gi0/1 of the 3560 SW.

 

3- On R2 (the right on):

you will need to configure static routing:

#ip route 192.168.2.0 255.255.255.0 192.168.94.x

#ip route 10.10.10.0 255.255.255.252192.168.94.x

note 192.168.94.x this it the IP address of interface Gi0/2 of the 3560 SW.

 

Now, everything is done!

Another option is to use any routing protocol on the 3 devices, like RIP, EIGRP or OSPF! 

If you are interested more to use any of these protocols please, confirm! 

 

Please, don't forget to rate any helpful responses and mark the solutions!

Bst Rgds,

Andrew Khalil

Thank you for the support.
But since the vendor doesnt give access to their router to add ip routes. any chance to add ip routes in L3 switch to solve the problem.
And would be great if you could provide on how to solve using routing protocol.

@samphu

Can you let me know what model of routers are you using?

Is it Cisco ?

Why you can not preform the static route ?

Bst Rgds,

Andrew Khalil

i am using cisco router 1920 series and switch catalyst 3750G sir

@samphu 

Hello dear, 

Sorry for the late response! 

First and according to @Deepak Kumar suggestions (in case that you can not access the routers configuration) regarding the NAT, you should put in consideration that 3750 is not supporting NAT! so it can not be a solution! 

 

Second, I am still thinking the same, you need to have an access to the routers and to configure a static route or to use any routing protocol! 

 

Can you please confirm that you can access the routers to configure it?

If yes, I can help to write for you all the commands needed to finish you task! 

 

Please, don't forget to rate all helpful responses and mark solution! 

It will be so nice from you! 

Thanks in advance,

Bst Rgds,

Andrew Khalil

 

Hi,

As I am understanding that your vendor is not adding your local subnet 10.10.10.0/24 on their routers so you are not getting back a reply from the concerned system/router.

 

If it is correct then I believe that you have only option to go with NATing. Currently, NATing is possible on routers and some selected Nexus switches. So I thought the router is a best and cheaper solution for you. 

 

As you mentioned that you don't have any sort of access to those routers so it is not possible to do anything with a routing protocol. 

 

Regards,

Deepak Kumar

 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

can you help me with the ip routes in L3 Switch. Am kinda stuck here.
Thank you.

Hi,

Your Switch configuration will be like:

 

Enable L3 routing on Catalyst switches

SW#config t
SW(config)#ip routing

SW(config)

!

View routing table

!

SW#show ip route

 

Regards,

Deepak Kumar

 

 

 

 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

As I am understanding your question you are seeking a guide for accessing all resources which are behind or on networks as 192.168.2.0/24 and 192.168.94.0/24 from your LAN subnet 10.10.10.0/24.  If Yes, then

 

There are two steps for the same:

1. Enable IP routing on your L3 switch with help of "IP routing" commands.

2. Add static route (default if required) toward to a router (as per subnet hosted) IP address. 

 

Regards,

Deepak Kumar

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hi,
I want to add one more comment but it is not a standard and I am not sure what will impact on your reset network due to this.

Create one SVI and Assign and assign Primary subnet as 192.168.2.0/24 and secondary as 192.168.94.0/24 and now you can assign two IPs on your system (PC).
Again, I am not recommending this process. It will open many doors for security and Network issues.

Regards,
Deepak Kumar
Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
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: