Configuring IP Helper to Manage Broadcasts


The ip helper mechanism is an excellent way to forward certain broadcast traffic for manageability and inter-WAN communication. The interface configuration command ip helper-address is utilized to set up an interface to expect and receive broadcasts. By default, Cisco routers do not forward broadcasts to prevent broadcast storms that can easily disrupt a network. This is especially common in large, flat network designs indicative of legacy network environments. One of the most common situations is when a Dynamic Host Configuration Protocol (DHCP) client attempts to get configuration information from a DHCP server on the other side of a router in another broadcast domain. Unless a DHCP service or relay agent is available on the client's network segment, the client does not receive its configuration because broadcast packets are dropped at the router interface, as shown in Figure 3.5.

Figure 3.5. The default behavior of Cisco routers is not to forward broadcasts.

The ip helper-address command can be used on RouterA and parameterized with either the IP address of the DHCP (BOOTP) server or a direct broadcast address for the segment on which the server resides. The ip helper command works by changing a broadcast message to a unicast message. It is common to have multiple DHCP servers on your network, as in Figure 3.5, for fault tolerance. You can configure multiple entries of the command with different IP addresses as shown in Listing 3.3.

Listing 3.3 The ip helper Settings on RouterA
 RouterA(config)# int e0/0 RouterA(config-if)# ip helper-address 172.16.1.200 RouterA(config-if)# ip helper-address 172.16.1.201 

DHCP (BOOTP) is not the only service upon which the ip helper command operates. After you enable the ip helper command on RouterA, it automatically forwards on eight UDP ports by default. Table 3.12 displays the services and standard port settings.

Table 3.12. The Default Services and Ports Automatically Enabled by ip helper

IP Service

UDP Port

Time

37

TACACS

49

DNS

53

BOOTP server

67

BOOTP client

68

TFTP

69

NetBIOS name service

137

NetBIOS datagram service

138

If you want to designate a particular broadcast packet to forward on your router globally, you can use the ip forward-protocol command. For example, to forward only the time service, use the following command:

 ip forward-protocol udp 37 

To shut down an automatically forwarded service, such as Trivial File Transfer Protocol (TFTP), use the following command:

 no ip forward-protocol udp 69 

Remember that the BOOTP and DHCP services both use port 68 even though it is always called the BOOTP port.




Cisco BSCI Exam Cram 2 (Exam Cram 642-801)
CCNP BSCI Exam Cram 2 (Exam Cram 642-801)
ISBN: 0789730170
EAN: 2147483647
Year: 2003
Pages: 170

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net