pfSense Gold Subscription

Author Topic: HOW TO CONNECT DIFFERENT NETWORKS  (Read 156 times)

0 Members and 1 Guest are viewing this topic.

Offline klausneil

  • Full Member
  • ***
  • Posts: 250
  • Karma: +3/-2
    • View Profile
HOW TO CONNECT DIFFERENT NETWORKS
« on: September 12, 2017, 08:55:54 pm »
Hi i have a two netrwork in diferent headquarters for example headquarters01 (172.15.20.0/24) and headquarters02 (172.15.10.0/24) these are interconnected by cisco L2L modems but the sede01 which is the main one also has a cisco L2L and here is the router that is the one that allows the Internet. I have install pfsense on my network main headquarters01 but before my internet provider suggested that I use the same router configuration in pfsense so I created a gateway 171.15.10.28 that is the same as another's.

My diagram of network is this (diagrama.png) This link could serve me https://doc.pfsense.org/index.php/IPsec_between_pfSense_and_Cisco_IOS and the configuration of my router cisco is this:

interface FastEthernet0/1
 description Interface LAN
 bandwidth 35000
 ip address 171.15.10.221 255.255.255.0 secondary
 ip address 191.x.y.23 255.255.255.240

ip route 171.15.20.0 255.255.255.0 171.15.10.28 name CNX_TO_Nicolli
ip route 171.15.30.0 255.255.255.0 171.15.10.28 name CNX_TO_ALCAZAR
ip route 171.15.40.0 255.255.255.0 171.15.10.28 name CNX_TO_AMANCAES
ip route 171.15.50.0 255.255.255.0 171.15.10.28 name CNX_TO_BIBLIOTECA
ip route 171.15.60.0 255.255.255.0 171.15.10.28 name CNX_TO_EL_SOL

access-list 10 permit 171.15.10.0 0.0.0.255
access-list 10 permit 171.15.20.0 0.0.0.255
access-list 10 permit 171.15.30.0 0.0.0.255
access-list 10 permit 171.15.40.0 0.0.0.255
access-list 10 permit 171.15.60.0 0.0.0.255
access-list 10 permit 171.15.50.0 0.0.0.255

Please help me.

Online johnpoz

  • Hero Member
  • *****
  • Posts: 13443
  • Karma: +1179/-176
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: HOW TO CONNECT DIFFERENT NETWORKS
« Reply #1 on: September 13, 2017, 07:52:57 am »
where is pfsense in this drawing?
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- If I have helped you and want to help back, https://www.freebsdfoundation.org/donate/
- Please don't PM me for personal help, info you don't want public sure. Link to thread you would like me to look at ok, etc.
1x SG-2440 2.3.4_p1 (work)
1x 2.4.0-RC Sep 15 16:04:53 VM running on esxi 6.5 (home)

Offline klausneil

  • Full Member
  • ***
  • Posts: 250
  • Karma: +3/-2
    • View Profile
Re: HOW TO CONNECT DIFFERENT NETWORKS
« Reply #2 on: September 13, 2017, 07:57:42 pm »
Hi, thanks for you, pfsense would be in replacement of the router, it would be in bridge mode so the pfsense assumes the ip publica.

Offline heper

  • Hero Member
  • *****
  • Posts: 2624
  • Karma: +246/-10
    • View Profile
Re: HOW TO CONNECT DIFFERENT NETWORKS
« Reply #3 on: September 14, 2017, 02:47:11 am »
replacement of which router?  i count around 8 routers in your drawing....