Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Assign multi IP address at the same interface at router

Hi,

Is it possible to assign multi IP address to the same interface at router and what should be command.  As I only find some configuration example which is configure 2 ip address for the same interface.

Thx!

3 ACCEPTED SOLUTIONS

Accepted Solutions
Bronze

Re: Assign multi IP address at the same interface at router

Hi,

for example;

interface GigabitEthernet0/0

ip address 10.10.10.10 255.255.255.0

ip address 20.20.20.20 255.255.255.0 secondary

hth

Muammer

Purple

Re: Assign multi IP address at the same interface at router

Hi,

You can configure only one primary address and as many secondary addresses as you want up to hw/sw platform limit.

Regards.

Don't forget to rate helpful posts.
Bronze

Re: Assign multi IP address at the same interface at router

Hi Machi that's correct. you can use multiple secondary ip.

5 REPLIES
Bronze

Re: Assign multi IP address at the same interface at router

Hi,

for example;

interface GigabitEthernet0/0

ip address 10.10.10.10 255.255.255.0

ip address 20.20.20.20 255.255.255.0 secondary

hth

Muammer

Purple

Re: Assign multi IP address at the same interface at router

Hi,

You can configure only one primary address and as many secondary addresses as you want up to hw/sw platform limit.

Regards.

Don't forget to rate helpful posts.
New Member

Re: Assign multi IP address at the same interface at router

Yes, I found this example also.  Is that means

interface GigabitEthernet0/0

ip address 10.10.10.10 255.255.255.0

ip address 20.20.20.20 255.255.255.0 secondary

ip address 30.30.30.30 255.255.255.0 secondary

....

....


Is it Correct?

Bronze

Re: Assign multi IP address at the same interface at router

Hi Machi that's correct. you can use multiple secondary ip.

New Member

Re: Assign multi IP address at the same interface at router

Thank you!!

486
Views
0
Helpful
5
Replies
CreatePlease to create content