Changing the router id – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 75

Advertising
background image

Brocade Virtual ADX Switch and Router Guide

61

53-1003246-01

Configuring IP parameters

4

Virtual ADX(config)# ip dns server-address 10.157.22.199 10.96.7.15 10.95.7.25

10.98.7.15

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

In the example above, the first DNS server entered becomes the primary DNS server and all others
are secondary servers. Because DNS IP address 10.98.7.15 is the last DNS server listed, it is also
the last DNS server consulted to resolve a query.

Changing the router ID

In most configurations, a Virtual ADX with router code installed has multiple IP addresses, usually
configured on different interfaces. As a result, the Virtual ADX identity to other devices varies
depending on the interface to which the other device is attached. Some routing protocols identify a
Virtual ADX by just one of the IP addresses configured on the Virtual ADX, regardless of the
interfaces that connect the Virtual ADXes. This IP address is the router ID.

NOTE

Routing Information Protocol (RIP) does not use the router ID.

By default, the router ID on a Virtual ADX is one of the following:

If the router has loopback interfaces, the default router ID is the IP address configured on the
lowest numbered loopback interface configured on the Layer 3 Switch. For example, if you
configure loopback interfaces 1, 2, and 3 as follows, the default router ID is 10.9.9.9/24:

Loopback interface 1, 10.9.9.9/24

Loopback interface 2, 10.4.4.4/24

Loopback interface 3, 10.1.1.1/24

If the device does not have any loopback interfaces, the default router ID is the lowest
numbered IP interface configured on the device.

If you prefer, you can explicitly set the router ID to any valid IP address. The IP address cannot be in
use on another device in the network.

To change the router ID, enter a command such as the following.

Virtual ADX(config)# ip router-id 10.157.22.26

Syntax: ip router-id ip-addr

The ip-addr can be any valid, unique IP address.

NOTE

You can specify an IP address used for an interface on the Virtual ADX, but do not specify an IP
address in use by another device.

Advertising