Configuring IP Addresses |
Configuring IP addresses On0 of the most basic concepts is to configure the ip addresses of an interface. Below I have configured the IP address on the Serial Interface 0. Make sure and enter in the full IP address then the appropriate subnet mask, (depending on how many bits you borrow). After you have the IP address entered and the subnet mask. Use the no shut command which is short for the no shutdown command. This brings the interface up. In this example it did not because the serial port is not connected. Also, a user can create a secondary IP address. Enter in the appropriate IP address and subnet mask, then at the end of the address type the command secondary, this will make the IP address a secondary address. Router(config)#int s0 Router(config-if)#ip address 192.168.7.2 255.255.255.0 Router(config-if)#no shut Router(config-if)# %LINK-3-UPDOWN: Interface Serial0, changed state to down Router(config-if)#ip address 192.168.7.3 255.255.255.0 secondary Router(config-if)#^Z |