Sonicwall routing for multiply wans

I have the following interfaces

X0 Lan
X1 Wan
X7 Second WAN
X8 Second LAN

If i create under routing the following following

Source: X8 subset
Destination: Any
Service: any
Gateway: Secondary Default Gateway
Interface: X7
Metric: 20
Comment: second lan

Once i apply this, my wireless looses internet connections. What am i doing wrong?
miamitech305Asked:
Who is Participating?
 
miamitech305Connect With a Mentor Author Commented:
I was able to figure it out.

i needed to use

the x7 default gateway and it worked.
0
 
carlmdCommented:
What interface is the wireless connected to?

What are you trying to do?
0
 
miamitech305Author Commented:
I have two network.

Network 1 on interface X0 and network 2 on X7.

I need network 1 to use WAN on interface X1 and network 2 use WAN on interface X8.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
carlmdCommented:
All you really need to do is create a route that directs traffic from X1 to X8.

Go to Network -> Routing

then select Add

Source would be what you named the lan behind X1
Destination would be Any
Service would be Any
Gateway would be Secondary Default Gateway
Interface would be X8

That should do it.
0
 
miamitech305Author Commented:
I tried that and i didnt have internet access.
0
 
carlmdCommented:
Are you sure you have it configured correctly.

The source must be the lan behind X1 and NOT the X1 interface.

Have you defined the Seconday Default Gateway to be the first hop (ISP router?) after the interface and NOT the X8 interface ip?
0
 
miamitech305Author Commented:
how do you define the seconday default gateway?
0
 
carlmdCommented:
The secondary default gateway should have been auto added when the interface was defined.

This assumes you have a recent model Sonicwall with a recent version of SonicOS.
0
 
miamitech305Author Commented:
I am attaching screenshots of my setup.
interfaceScreenshot.jpg
route-policy.jpg
0
 
carlmdCommented:
Does the Secondary Default Gateway point to an ip that is on the same subnet as the X7 ip?
0
 
miamitech305Author Commented:
no, if i placed the cursor over the secondary default gateway, a balloon pops up with 0.0.0.0
0
 
skullnobrainsCommented:
not sure this is related but you are using wrong subnet masks for X3 and X8

10.0.0.0/255.0.0.0 is meaningful
10.10.0.0/255.255.0.0 and quite a few others are ok but the one you are using is not

What interface is the wireless connected to?
can i see the routing table before you add the rule ?
can you confirm both WAN connections work properly ?
0
 
carlmdCommented:
What model Sonicwall do you have and what is the version of SonicOS Enhanced. The definition and how the Secondary Default Gateway is created has changed at version 5.5.
0
 
masnrockCommented:
Did you make sure your NAT rules were laid out properly? That is most likely the cause of your issues...
0
 
miamitech305Author Commented:
I figured it out my self
0
All Courses

From novice to tech pro — start learning today.