IPv4 101

1. Setting an IP Address

R(config)#ip address IP-ADDR NETMASK

Any combination of IP-ADDR and NETMASK can be used as long as the host portion of the address is not all zeros. One exception is allowed, when using a /31 mask.
By default, the router will accept combinations that result in a subnet portion of the address with all zeros, but this behavior can be disabled using:

R(config)#no ip subnet-zero

1.1 Secondary IP Addresses

Multiple IP Addresses can be configured on an interface using the secondary keyword:

R(config-if)# ip address IP-ADDR NETMASK secondary

1.2 IP Unnumbered

This feature allows a router to use the IP address of another interface instead of using a new IP Address. It can only be configured on point-to-point interfaces

R(config-if)# ip unnumbered INTERFACE

Leave a Reply

Your email address will not be published. Required fields are marked *