Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

2 Ip addresses on an interface

Hi,

I need to configure an ethernet interface on a router with 2 ip addresses. Anybody know how to do this?

Brgds

Patrik

  • Other Network Infrastructure Subjects
2 ACCEPTED SOLUTIONS

Accepted Solutions
Silver

Re: 2 Ip addresses on an interface

Use the seconday keyword at the end of the IP address:

int e 0

ip address 1.1.1.1 255.255.255.0

ip address 1.1.1.2 255.255.255.0 secondary

the second address can either be on the same subnet or a completely different one

Bronze

Re: 2 Ip addresses on an interface

ip address

ip address secondary

3 REPLIES
Silver

Re: 2 Ip addresses on an interface

Use the seconday keyword at the end of the IP address:

int e 0

ip address 1.1.1.1 255.255.255.0

ip address 1.1.1.2 255.255.255.0 secondary

the second address can either be on the same subnet or a completely different one

New Member

Re: 2 Ip addresses on an interface

thx, that did the trick !

Brgds

Patrik

Bronze

Re: 2 Ip addresses on an interface

ip address

ip address secondary

108
Views
0
Helpful
3
Replies
This widget could not be displayed.