Computer NetworksNETWORKS

Configuring secondary IP addresses on an interface

Configuring secondary IP addresses on an interface on a Cisco router

If you have a situation in which you need to connect more IP hosts to a network segment and you have used up all of the available IP host addresses for the subnet to which you have assigned the segment,
you can avoid having to readdress all of the hosts with a different subnet by adding a second IP network address to the network segment.

Perform this task to configure a secondary IP address on an interface.

SUMMARY STEPS
enable
configure terminal
interface type number
no shutdown
ip address ip-address mask
ip address ip-address mask secondary
end
wr

Assign static IP addresses to Ubuntu Docker Guest workstation:
nano /etc/network/interfaces and uncomment the following and assign the correct IP settings.

auto eth0
iface eth0 inet static
address 192.168.3.2
netmask 255.255.255.0
gateway 192.168.3.1

#cisco #ccna #ipaddress

Reference:
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_ipv4/configuration/xe-16-11/ipv4-xe-16-11-book/configuring_ipv4_addresses.html

source

ip address

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.

Leave a Reply

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