Netgate SG-1000 microFirewall

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

0 Members and 1 Guest are viewing this topic.

Offline klausneil

  • Full Member
  • ***
  • Posts: 258
  • Karma: +4/-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.

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 14299
  • Karma: +1330/-193
  • 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.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.3.4_p1 (work)
1x 2.4.2-RELEASE on VM esxi 6.5 (home)

Offline klausneil

  • Full Member
  • ***
  • Posts: 258
  • Karma: +4/-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: 2688
  • Karma: +253/-11
    • 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....


Offline johnpoz

  • Hero Member
  • *****
  • Posts: 14299
  • Karma: +1330/-193
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: HOW TO CONNECT DIFFERENT NETWORKS
« Reply #4 on: September 25, 2017, 03:45:16 am »
"it would be in bridge mode so the pfsense assumes the ip publica."

Then it wouldn't be routing now would it..  What what is your question?
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.3.4_p1 (work)
1x 2.4.2-RELEASE on VM esxi 6.5 (home)