beautypg.com

Displaying information for a 31-bit subnet mask, Configuring dns resolver – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 43

background image

Routers B and C are connected by a regular 24-bit subnet. Router C can either be a switch with many
hosts belonging to the 10.2.2.2/24 subnet connected to it, or it can be a router.

Router A

RouterA(config)# interface ethernet 1/1/1

RouterA(config-if-e1000-1/1/1)# ip address 10.1.1.0/31

Router B

RouterB(config)# interface ethernet 1/1/1

RouterB(config-if-e1000-1/1/1)# ip address 10.1.1.1/31

RouterB(config-if-e1000-1/1/1)# exit

RouterB(config# interface ethernet 1/3/1

RouterB(config-if-e1000-1/3/1)# ip address 10.2.2.1/24

Router C

RouterC(config# interface ethernet 1/3/1

RouterC(config-if-e1000-1/3/1)# ip address 10.2.2.2/24

Displaying information for a 31-bit subnet mask

Use the following commands to display information for the 31-bit subnet mask:

show run interface
show ip route
show ip cache

Configuring DNS resolver

The Domain Name System (DNS) resolver is a feature in a Layer 2 or Layer 3 switch that sends and
receives queries to and from the DNS server on behalf of a client.

You can create a list of domain names that can be used to resolve host names. This list can have more
than one domain name. When a client performs a DNS query, all hosts within the domains in the list can
be recognized and queries can be sent to any domain on the list.

After you define a domain name, the Brocade device automatically appends the appropriate domain to
a host and forwards it to the DNS servers for resolution.

For example, if the domain "ds.company.com" is defined on a Layer 2 or Layer 3 switch and you want to
initiate a ping to "mary", you must reference only the host name instead of the host name and its
domain name. For example, you could enter the following command to initiate the ping.

Brocade:> ping mary

The Layer 2 or Layer 3 switch qualifies the host name by appending a domain name (for example,
mary.ds1.company.com). This qualified name is sent to the DNS server for resolution. If there are four
DNS servers configured, it is sent to the first DNS server. If the host name is not resolved, it is sent to
the second DNS server. If a match is found, a response is sent back to the client with the host IP
address. If no match is found, an "unknown host" message is returned.

Displaying information for a 31-bit subnet mask

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

43

53-1003087-04