Configure Multiple IP Address on a Cisco Router Interface
Posted on Apr 16, 2008 under Cisco | 9 CommentsTags:Cisco ios ip-address multiple-ip router   
Cisco IOS supports multiple IP Addresses on an interface. There will be one Primary IP Address on the interaface and multiple Secondary IP Addresses on the interface. There is no limit on the number of IP Addresses that can be configure on an interface. Configurng multiple IP Addresses on your cisco routers can sometime help where you have multiple subnets having one physical router interface.
The IP Addresses can be from different subnets and from different networks.
To configure multiple IP Addresses,
Configure primary IP Address
From the Interface configuration mode, configure the primary IP Address
ciscorouter# conf term
ciscorouter(config)# int fa0/0
ciscorouter(config-if)# ip address 172.20.20.1 255.255.255.0
That configures the primary IP Address.
Configure Secondary IP Address
Now, add the required secondary IP Addresses onto the same interface
ciscorouter(config-if)# ip address 172.20.21.1 255.255.255.0 secondary
This adds the additional IP Address onto the interface. In the command above, the keyword "secondary" at the end defines the additional IP Address as a secondary IP Address.


by dave, on August 27 2008 @ 10:54 pm
pls let me know the model #of this cisco router
-thanks
Dave
by admin, on August 28 2008 @ 3:07 pm
Not sure if I correctly remember. But, very likely on a 2811
by Mustafa Gökhan Kurt, on July 15 2009 @ 8:47 am
i have got a 1841 cisco router. it have got secondary interfaces. i have tried on packet tracer with same router model “1841″ but secondary is not available.
by Jon M, on October 6 2009 @ 4:15 am
I’ve configured several secondary IP addresses on my 1811, and for some reason only the primary is reachable from the internet. Any advice? They are all on the same subnet, and when doing a trace route on the secondary IPs it times out at the last hop before my router.
by Blake Payne, on November 7 2009 @ 3:32 pm
Jon M,
It seems like maybe the packets TTL (time to live) is expiring before it gets there. Unless someone has something else, that’s all I could think of.
by suhail, on January 29 2010 @ 4:40 am
no answer of my qustion
by boyd, on June 29 2010 @ 3:40 am
What are the IP and subnet assigned to the primary and secondary address. Its possible that your secondary IP doesnt have a route to the internet or it doesnt participate on the routing protocol that you use. If that is the case, you need to setup a static route for the secondary IP.
by Robinson A, on July 7 2010 @ 8:18 am
Hi,
Is it possible to Configure same IP Address in the Different interfaces on a Router.
Thanks & Regards,
Robinson A
by Boni, on July 15 2010 @ 1:47 am
Hi..
My ISP has given me details below:
IP: xxx.xxx.xxx.xxx
SM: xxx.xxx.xxx.xxx
Gateway: xxx.xxx.xxx.xxx
DNS1: xxx.xxx.xxx.xxx
DNS2: xxx.xxx.xxx.xxx
How can I enter this information on a router interface?
Regards,