Sonicwall config for dual 2 subnets that talk to each other
Posted on 2014-02-28
We have 2 sites with Sonicwall TZ-105 routers. We have a cable that connects the 2 sites directly, and each site also has a WAN connection and an internal LAN, so on the back of the Sonicwall it would be X0 to LAN, X1 to WAN, and X4 I want to connect the 2 sites.
I first tried to assign 192.168.1.x to LAN1, and 192.168.2.x to LAN2, then 192.168.100.x to the X4 interfaces on each end, so Router1 has 192.168.100.1 and Router2 has 192.168.100.2. I then tried to set up a static route (I'm not familiar with this so I may have gotten it wrong). The static route stated that the 192.168.1.0 and 192.168.2.0 (on the respective routers) subnets were across the X4 interface and to go out the Gateway IP of the X4 interface. I was unable to ping across X4 at all. I experimented with this for a while before trying something else.
I found a guide on the net that said to do it as follows:
On Router1 I set up the X4 interface to portshield to X0, meaning that X4 is simply a switchport attached to X0, so no IP is assigned to that port. On router2, I assigned X4 an IP address from the scheme of Router1 (192.168.1.249), Then the guide said to set X4 interface to the "WAN" zone. I did this and the link now works, but it is very slow and I constantly lose connectivity for a few seconds, so I don't think this configuration is best.
I would like PROPER instructions to connect 2 LANs (on X0 of the routers) through the hardline I have on X4. Please do not post back with vague comments on possible issues with my config. Assume I have reset the routers to factory defaults and I am starting over. Thanks.