Chapter 25
| IP Interface Commands
IPv4 Interface
– 539 –
attached and the router’s host number on that network. In other words, a
router interface address defines the network and subnetwork numbers of the
segment that is connected to that interface, and allows you to send IP packets
to or from the router.
◆
Before any network interfaces are configured on the router, first create a VLAN
for each unique user group, or for each network application and its associated
users. Then assign the ports associated with each of these VLANs.
◆
An IP address must be assigned to this device to gain management access over
the network or to connect the router to existing IP subnets. A specific IP address
can be manually configured, or the router can be directed to obtain an address
from a BOOTP or DHCP server. Valid IP addresses consist of four numbers, 0 to
255, separated by periods. Anything other than this format is not be accepted
by the configuration program.
◆
An interface can have only one primary IP address, but can have many
secondary IP addresses. In other words, secondary addresses need to be
specified if more than one IP subnet can be accessed through this interface.
Note that a secondary address cannot be configured prior to setting the
primary IP address, and the primary address cannot be removed if a secondary
address is still present. Also, if any router/switch in a network segment uses a
secondary address, all other routers/switches in that segment must also use a
secondary address from the same network or subnet address space.
◆
If
bootp
or
dhcp
options are selected, the system will immediately start
broadcasting service requests for all VLANs configured to obtain address
assignments through BOOTP or DHCP. IP is enabled but will not function until a
BOOTP or DHCP reply has been received. Requests are broadcast periodically
by the router in an effort to learn its IP address. (BOOTP and DHCP values can
include the IP address, default gateway, and subnet mask). If the DHCP/BOOTP
server is slow to respond, you may need to use the
ip dhcp restart client
command to re-start broadcasting service requests, or reboot the router.
N
OTE
:
Each VLAN group can be assigned its own IP interface address. You can
manage the router via any of these IP addresses.
Example
In the following example, the device is assigned an address in VLAN 1.
Console(config)#interface vlan 1
Console(config-if)#ip address 192.168.1.5 255.255.255.0
Console(config-if)#
Содержание EX-3524
Страница 2: ......
Страница 28: ...Figures 28 ...
Страница 34: ...Section I Getting Started 34 ...
Страница 58: ...Chapter 1 Initial Switch Configuration Setting the System Clock 58 ...
Страница 72: ...Chapter 2 Using the Command Line Interface CLI Command Groups 72 ...
Страница 156: ...Chapter 5 SNMP Commands Notification Log Commands 156 ...
Страница 164: ...Chapter 6 Remote Monitoring Commands 164 ...
Страница 218: ...Chapter 7 Authentication Commands Management IP Filter 218 ...
Страница 268: ...Chapter 8 General Security Measures Port based Traffic Segmentation 268 ...
Страница 292: ...Chapter 9 Access Control Lists ACL Information 292 ...
Страница 312: ...Chapter 10 Interface Commands Power Savings 312 ...
Страница 324: ...Chapter 11 Link Aggregation Commands Trunk Status Display Commands 324 ...
Страница 366: ...Chapter 15 Address Table Commands 366 ...
Страница 428: ...Chapter 17 VLAN Commands Configuring Voice VLANs 428 ...
Страница 572: ...Chapter 25 IP Interface Commands IPv6 Interface 572 ...
Страница 578: ...Section I Appendices 578 ...
Страница 594: ...Appendix C Customer Support Manuals 594 ...