8

Configuring IP Addressing

Contents

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2

IP Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-2 Just Want a Quick Start with IP Addressing? . . . . . . . . . . . . . . . . . . . . 8-4 IP Addressing with Multiple VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-4 Menu: Configuring IP Address, Gateway, and Time-To-Live (TTL) . . 8-5 CLI: Configuring IP Address, Gateway, and Time-To-Live (TTL) . . . . 8-7 Web: Configuring IP Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-11 How IP Addressing Affects Switch Operation . . . . . . . . . . . . . . . . . . . 8-11

DHCP/Bootp Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-12

Network Preparations for Configuring DHCP/Bootp . . . . . . . . . 8-15

Loopback Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-16

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-16

Configuring a Loopback Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-17

Displaying Loopback Interface Configurations . . . . . . . . . . . . . . . . . . 8-18

IP Preserve: Retaining VLAN-1 IP

Addressing Across Configuration File Downloads . . . . . . . . . . . . . . 8-21

Operating Rules for IP Preserve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-21

Enabling IP Preserve . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-22

Configuring a Single Source IP Address . . . . . . . . . . . . . . . . . . . . . . . 8-25

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-25

Specifying the Source IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-25

The Source IP Selection Policy . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-26

Displaying the Source IP Interface Information . . . . . . . . . . . . . . . . . 8-29

Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-32

8-1