Chapter 6. Network Discovery: A Quick Way to Create Objects

One of the distinguishing features that Firewall Builder provides is support for automated object creation. This helps populate the objects tree for large networks with lots of hosts and subnets. What might take hours to do manually, the Discovery Druid wizard can help you do in minutes.

To start the Discovery Druid, select Tools/Discovery Druid.

The Discovery Druid supports three main methods for automated object creation:

  • Reading the /etc/hosts file

  • Performing network discovery using SNMP queries

  • Importing the configuration of a firewall or router

You choose the method on the first page of the Druid ( Figure 6.1. )

Figure 6.1. Calling the Object Discovery Druid

Calling the Object Discovery Druid

Just check the radio button next to the method you want to use and click Next.

6.1. Reading the /etc/hosts file

This method imports the host records present in the standard /etc/hosts file or any other file that contain records in the following format (this format is actually described in the manual page hosts(5)).

IP_Address host_name

The IP address must be separated from the host name with any number of spaces or tab symbols. Lines starting with '#' are considered comments and are ignored.

When you choose the import from /etc/hosts on the first page, the Druid asks you for the file path and name on the next page. Once that information is entered, it reads the contents of that file and presents a table of new networks (Figure 6.2).

Figure 6.2. Choosing the File for Import

Choosing the File for Import

Once you have chosen the file, click Next to let the program read and parse it. The file should be in "/etc/hosts" format; that is it should have an address and host name on each line, separated by any number of white spaces. Here is an example: test1 test2  serv2  serv3

Figure 6.3. Parsing a File in Hosts Format

Parsing a File in Hosts Format

Once the program finishes importing, you can click Next to move on to the next page where you can choose which of the addresses you want to use:

Figure 6.4. Choosing the Addresses To Be Used

Choosing the Addresses To Be Used

You can select any number of addresses in the left panel and use buttons "-->" and "<--" to add or remove them to the panel on the right. The "Select All" and "Unselect All" buttons help to work with large lists of addresses.

Figure 6.5. Choosing the Addresses To Be Used

Choosing the Addresses To Be Used

Choose the object library where new address objects should be created on the next page:

Figure 6.6. Choosing the Object Library

Choosing the Object Library

Once you click Finish, object are created and shown in the tree:

Figure 6.7. New Address Objects in the Tree

New Address Objects in the Tree


Copyright © 2000-2012 NetCitadel, Inc. All rights reserved.
 Using free CSS Templates.