Swithces

5 pts.
Tags:
Cisco
IP addressing
Switches
Can I assign two ip addresses in a cisco switch port?

Answer Wiki

Thanks. We'll let you know when a new response is added.

I know this works on a router but not sure about a switch

On a router you need to add a secondary address to the interface i.e.

int <interface>
add ip address <address> <mask> secondary

********
Hi,

In a Cisco switch, you can’t configure 2 ip addesses, it is only possible on a router in which you can configure sub interfaces. This is being used in intervlan routing and frame relay configuration.

*********************
This, of course, depends on the switch in question. Some of them have routing capabilities, in which case the switch can actually have secondary addresses on a port – either multiple (i.e. secondary) addresses on a VLAN definition, or by defining a port on the switch as
“no switchport”, and configuring the switch interface port like you would a router
(4506, 6509, 3750, and presumably many more have this capability).

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Rlm2173
    switches work at layer 2, ip addresses are layer 3. switches will use vlans, to get more than one vlan on a port, you will need to set up a trunk. the host will have to be able to have it's port setup for a trunk (802.1q).
    30 pointsBadges:
    report
  • Jendavis
    This depends on the Cisco switch model that you are using. Some Cisco switches are layer 2 only. You would not assign an IP address to a switchport. If the Cisco switch model that you have supports IP routing, a switchport can be setup as a routed port which does support secondary IP addressing.
    45 pointsBadges:
    report
  • Yapipo
    If the second vlan is for voice, you can configure an auxilary vlan for the voice network.
    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following