LAN Routing
1751948 Members
4585 Online
108783 Solutions
New Discussion

CONNECTING 2 DIFFERENT NETWORK

 
MarkAM
Advisor

CONNECTING 2 DIFFERENT NETWORK

Good day,

 

I have an problem in network, my boss wants me to make an connection with two offices
(50 meters apart or less than). I want to config my 5500 EI switch for them to access our network (Im a newbie in networking and in HP 5500 EI switch)

I have already my VLAN Interface 10 - 100.100.10.1 255.255.255.0 (OFFICE 1) and they have their current network
192.168.50.1 / 24 network. We run an UTP cable and I config an
VLAN Interface 100 - 192.168.50.50 255.255.255.0 (OFFICE 2) for us not to change the existing gateway of
their network. how can I connect my network to 192.168.50.1 network using the vlan 100 i have created?

Thanks

3 REPLIES 3
manuel.bitzi
Trusted Contributor

Re: CONNECTING 2 DIFFERENT NETWORK

Hi Mark

 

On the 5500 you need a defaultroute to 192.168.50.1 (firewall?):

  ip route-static 0.0.0.0 0.0.0.0 192.168.50.1

 

And on the device 192.168.50.1 you need a route back

100.100.10.0/24 => 192.168.50.50

 

If the .50.1 is a firewall you may need additional rules, nat-sets, etc.

 

 

br

Manuel

H3CSE, MASE Network Infrastructure [2011], Switzerland
Vince-Whirlwind
Honored Contributor

Re: CONNECTING 2 DIFFERENT NETWORK

The first thing you need to know is - where is each network's default gateway?

 

If the default gateway is on the switch, then Office1 can already access Office 2, all you need to do is add a route on the office2 switch:

ip route 100.100.10.0/24 192.168.50.50

 

If the default gateway is somewhere else, then that somewhere else is where you need to add a route.

 

MarkAM
Advisor

Re: CONNECTING 2 DIFFERENT NETWORK

Office 1 gateway is 100.100.10.1 and routed to my firewall 100.100.10.2

 

and Office 2 (outside network) gateway is 192.168.50.1.

 

I will try your advice and config