We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

how to connect two networks together

Medium Priority
1,502 Views
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
Drawing1.jpg
Comment
Watch Question

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.

example:
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

Commented:
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?
Drawing1.jpg

Commented:
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 192.168.1.1 and 172.100.100.1 which can to redirect client's request back to your router. But only of you can configure routers 192.168.1.1 and 172.100.100.1
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.

Peter
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.
Commented:

--------------------------------------------
On the 3750:

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

interface Vlan10
 ip address 192.168.1.3 255.255.255.0 (or what ever IP is free on the subnet)
!
interface Vlan20
 ip address 172.100.100.1 255.255.255.0 (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 0.0.0.0 0.0.0.0 192.168.1.1
-------------------
On the firewall 192.168.1.1 you make a static route pointing 172.100.100.0 /24 to 192.168.1.3

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

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.