beautypg.com

Configuring domain name server resolver, Defining a dns entry, Using a dns name to initiate a trace route – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 107

background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

89

53-1002603-01

Configuring IP parameters – Layer 2 Switches

To specify the Layer 2 Switch default gateway, enter a command such as the following.

Brocade(config)# ip default-gateway 192.168.6.1

Syntax: ip default-gateway ip-addr

NOTE

When configuring an IP address on a Layer 2 switch that has multiple VLANs, make sure the
configuration includes a designated management VLAN that identifies the VLAN to which the global
IP address belongs. Refer to the section “Designated VLAN for Telnet management sessions to a
Layer 2 Switch” in the Brocade ICX 6650 Security Configuration Guide.

Configuring Domain Name Server resolver

The Domain Name Server (DNS) resolver feature lets you use a host name to perform Telnet, ping,
and traceroute commands. You can also define a DNS domain on a Brocade Layer 2 Switch or
Layer 3 Switch and thereby recognize all hosts within that domain. After you define a domain name,
the Brocade Layer 2 Switch or Layer 3 Switch automatically appends the appropriate domain to the
host and forwards it to the domain name server.

For example, if the domain “newyork.com” is defined on a Brocade Layer 2 Switch or Layer 3 Switch
and you want to initiate a ping to host “NYC01” on that domain, you need to reference only the host
name in the command instead of the host name and its domain name. For example, you could
enter either of the following commands to initiate the ping.

Brocade# ping nyc01

Brocade# ping nyc01.newyork.com

Defining a DNS entry

You can define up to four DNS servers for each DNS entry. The first entry serves as the primary
default address. If a query to the primary address fails to be resolved after three attempts, the next
gateway address is queried (also up to three times). This process continues for each defined
gateway address until the query is resolved. The order in which the default gateway addresses are
polled is the same as the order in which you enter them.

Suppose you want to define the domain name of newyork.com on a Layer 2 Switch and then define
four possible default DNS gateway addresses. To do so, enter the following commands.

Brocade(config)# ip dns domain-name newyork.com

Brocade(config)# ip dns server-address 192.168.22.199 192.168.7.15 192.168.17.25

192.168.10.15

Syntax: ip dns server-address ip-addr [ip-addr] [ip-addr] [ip-addr]

In this example, the first IP address in the ip dns server-address... command becomes the primary
gateway address and all others are secondary addresses. Because IP address 192.168.10.15 is
the last address listed, it is also the last address consulted to resolve a query.

Using a DNS name to initiate a trace route

Suppose you want to trace the route from a Brocade Layer 2 Switch to a remote server identified as
NYC02 on domain newyork.com. Because the newyork.com domain is already defined on the Layer
2 Switch, you need to enter only the host name, NYC02, as noted in the following command.

Brocade# traceroute nyc02