• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1031
  • Last Modified:

cisco command to assign another IP address to cisco 2911

Hi
At the moment I have 2 IP addresses asssigned to one interface of my cisco 2911 router, I need to assign another one.  How and with what command I can accomplish it?  I need to assign it for the TMZ firewall purpose.  Help plz
0
amanzoor
Asked:
amanzoor
3 Solutions
 
bbaoIT ConsultantCommented:
Router(config-if)# ip address ip-address mask

more info see here:

http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfipadr.html#wp1000918
0
 
Istvan KalmarCommented:
you need:

conf t

Router(config-if)#interface x
Router(config-if)# ip address z.z.z.z y.y.y.y secondary



where
x: interface name
z.z.z.z: ip address
y.y.y.y: netmask

Best regards,
Istvan
0
 
Ernie BeekCommented:
If I might add to ikalmar's comment:
Though it looks confusion you can add an unlimited number of secondary addresses: http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/1cfipadr.html#wp1001012
0
 
amanzoorNetwork infrastructure AdminAuthor Commented:
Thanks guys, bbao and ikalmar, I really appreciate it.
erniebeek, thanks for clarifying, it helped.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now