Solved

Configure Sonicwall for CIDR block with a Host IP

Posted on 2014-11-20
7
622 Views
Last Modified: 2015-01-27
I have a Sonicwall NSA 220.
We upgraded our Internet connection with our ISP.
I'll use example IP addresses.
I was given a block of 8 public IP addresses (123.123.123.208/29).
I have been given a different host IP (222.222.222.230).
I've been told to configure the WAN port with the host IP (222.222.222.230), which I've done.
I've also been told to configure a route for the public IP addresses.  I've attempted to do so, but I have apparently not done so correctly.

I've tried creating an address object called Public IPs with a range of 123.123.123.208 through .215.
I've also tried making the address object with a network of 123.123.123.208 with a subnet mask of 255.255.255.248.

I then added a route with the following:
Source    LAN Subnets (I also tried Any)
Dest        Public IPs (address object described above)
Service    Any
Gateway 0.0.0.0
Interface X1  (where the ISP is connected and the Host IP is configured for the WAN port)

Any help on what I'm doing wrong is greatly appreciated.
Also, out of curiosity, is there a term to describe this type of setup?
Thanks, Rick
0
Comment
Question by:rickmills
  • 3
  • 3
7 Comments
 
LVL 20

Expert Comment

by:masnrock
ID: 40456480
What you never mentioned is where the public addresses are supposed to point to or correspond with. Could you please answer that?
0
 
LVL 32

Accepted Solution

by:
aleghart earned 500 total points
ID: 40456502
What do you mean by "host IP"?  You can be issued multiple subnets, but usually not just a single IP address.

For instance, you could be issued a /30 network (255.255.255.252) which has 4 IP addresses:
1. network address
2. broadcast address
3. gateway address (ISP's router)
4. usable address

For your single IP address example:
network address: 222.222.222.228
gateway address: 222.222.222.229
usable address: 222.222.222.230
broadcast address: 222.222.222.231

When you are issued additional subnets, you will get the same information from the ISP:

123.123.123.208/29 (255.255.255.248)
network address: 123.123.123.208
gateway address: 123.123.123.209
usable address: 123.123.123.210 - 214
broadcast address: 123.123.123.215

You'll have 5 usable addresses.

On the Sonicwall, you'd keep your existing /30 on the X1 WAN interface.  Usually, this is the first subnet you're granted.  You add more as your needs grow...but you don't have to change the original that you were issued.

For the new subnet, you'll need to:

1. create a static ARP entry for the new subnet:

Network > ARP
[Add]
IP address: 123.123.123.210
interface: X1
publish entry [check]

2. Configure static route:

Network > Routing
[Add]
Destination network: 123.123.123.208
Subnet mask: 255.255.255.248
Gateway: 0.0.0.0
Interface: X1
Metric: 20 (any number above zero is OK, but starting with 20 lets you add more routes later with higher or lower priority)
0
 

Author Comment

by:rickmills
ID: 40462026
I have checked with my ISP.  They have given me a single IP address with subnet mask and default gateway.  They have also given me a range of IP addresses with a subnet maks of 255.255.255.248, but no default gateway.
They have told me to configure the WAN port with the individual IP address, which I've done.
They said I need to create routes for the range of IP addresses, but have given me nothing more to go on.
The ISP is Cox.
Any help is greatly appreciated.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 32

Expert Comment

by:aleghart
ID: 40462143
Did you read my instructions Section 2 for the static route?  There should be no default gateway within the /29 subnet.  You'll use the default gateway of the /30 subnet that you were first issued.

"0.0.0.0" means "default route"
The default gateway is treated as an object "X1 default gateway".
0
 

Author Comment

by:rickmills
ID: 40462195
Thank you.  I think I understand what you're telling me, but I still don't have it working.
Let me tell you what I have now and see if you can identify my mistake(s).

I have the WAN port configured with the 222.222.222.228 IP info.

I have an address object name Cox Fiber IPs.  Zone: Wan, Type: Network, Network: 123.123.123.208, Netmask: 255.255.255.248

I have multiple static ARP entries.  
IP: 123.123.123.208, Type: Static, MAC: (same as other ARP entry for X1), Interface: X1
IP: 123.123.123.209, Type: Static, MAC: (same as other ARP entry for X1), Interface: X1
IP: 123.123.123.210, Type: Static, MAC: (same as other ARP entry for X1), Interface: X1
through 123.123.123.215

I have a static route:
Source: Any, Dest: Cox Fiber IPs, Service: Any, Gateway: 0.0.0.0, Interface: X1, Metric: 20

Thanks, again.
0
 
LVL 32

Expert Comment

by:aleghart
ID: 40463499
For the static ARP entry, you should only use the gateway IP address for the second subnet.  Did the ISP assign one out of the IP addresses provided?  My instructions for the Static ARP route should read:

1. Create A Static ARP Entry For The New Subnet:

Network > ARP
[Add]
IP address: 123.123.123.209
interface: X1
publish entry [check]

This is assuming that the ISP is assigning the '.209' address as your gateway.  They will publish this address to their upstream routers so that all traffic for 210-215 will head for 209.

Does that make sense?
0
 

Author Closing Comment

by:rickmills
ID: 40573724
The ISP had provided incorrect information, but this response clarified the information for me.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now