how to connect two networks together

Posted on 2009-02-11
Medium Priority
Last Modified: 2012-05-06
i want to connect the two networks belong
clients in 172.x.x.x needs to be connected to 192 network

it is possible to create a vlan in the 3750 switch, and clients 172.x.x.x can point there gateway to vlan

i want to implement connectivity without changing the gateway,
is it possible to use a firewall with 2 network cards? or a router? i havent seen a router with 2 ethernet interface
Question by:ammadeyy2020
LVL 23

Expert Comment

ID: 23619816
Absolutly. The way you layed it out in your diagram would be one way to accomplish this.

Configure two VLANs on the 3750 and then connect each network to the VLANs. You can then allow or deny traffic between the two if you want. Then they will  both share the same Internet connection.

Create VLAN 192 and 172. Assign ports to each VLAN then connect each network to the respected VLAN ports. Then set the VLAN IP on the 3750 as the default gateway for all devices of that network.

Make sense?

Author Comment

ID: 23619848
attached new diagram

i cant do any changes in TEST1 network, ie: clients gateway

all what i got is a ethernet cable from TEST1 network

im thinking by connecting the cable to TEST2 layer 3 switch is it possible to route? or using a firewall with 2 NIC?

Expert Comment

ID: 23620168
Yes, it is surely possible to connect both IP subnets with router, for example with simple windows machine with two network cards (need not be Win Server, sufficient is WXP, but need simple registry adjustment to do routing).
Then must be set proper configuration for clients to reach target through your added router.
It can be handled in general by two ways:
1. Router settings on the and which can to redirect client's request back to your router. But only of you can configure routers and
2.  Set routing tables in clients, for example with logon script, or I think also there is possible to add multiple default gateways on clients.

LVL 23

Expert Comment

ID: 23627103
what  model is the test1 switch?

If the test 1 switch is a managed layer 2 switch it will be able to handle the separation of the two networks. Just connect the 3750 to it and set that link up as a trunk. You can then handle the routing on the test1 firewall.

If it is a 3750 or layer three switch then you can use my first comment to accomplish this.

Accepted Solution

Donboo earned 2000 total points
ID: 23642966

On the 3750:

vlan 10
 name test2- network
vlan 20
 name test1- network

interface Vlan10
 ip address (or what ever IP is free on the subnet)
interface Vlan20
 ip address (or what ever IP is free on the subnet)
 ip dhcp-helper x.x.x.x (ip address of your DHCP server)
interface g0/"whatever number connects to test1"
 switchport mode access
 switchport access vlan 20

ip route
On the firewall you make a static route pointing /24 to

And you would detach the test1 firewall from the test1 switch so you use the firewall of test2
Also I would recommend not using network (unless you own them).

Featured Post

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question