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. And see here for current known issues.

New Member

How to create sub interfaces

Hi

Can someone tell me how to create sub interfaces in a 2500 series router, wihch doesn't have fast ethernet. Well, it's like this. I can create sub interfaces, but the moment I try giving an IP address, it says, that I have to enable, 802.10, ISL or 802.1Q

Please give me a solution for this.

I also can give more than one secondary IP addresses on Ethernet interface. i.e. One primary address, and at least two secondary addresses. Is that possible or is it some sort of a bug in the IOS image?

Omal.

3 REPLIES
Green

Re: How to create sub interfaces

Sub-interfaces are only used in Ethernet for VLAN / trunking (ISL or 802.1q "Dot1q").

To add additional addresses to an interface add the keyword "secondary" at the end of the line. You can have multiple additional addresses, but you still use the "secondary" keyword.

i.e., ip addr 192.168.1.0 255.255.255.0 (this is primary address)

ip addr 172.16.1.0 255.255.255.0 secondary (second address)

ip addr 10.1.1.0 255.255.255.0 secondary (third address)

Since you are only adding addresses to a single physical or logical interface, the encapsulation and other parameters must all be the same.

Good Luck

Scott

New Member

Re: How to create sub interfaces

Hi Scott

Thanks a lot for your info. But I have a doubt here. In a 2600 series router I think I could creat sub-interfaces and give an IP address to that sub-interface although I cannot do it in this 2500 series. Is it may be because 2600 series has fast ethernet?

We can create sub-interfaces even in the serial interfaces can't we, when we configure Frame-Relay?

Thanks a lot for your previous answer.

Omal

New Member

Re: How to create sub interfaces

Hello Omal,

If I remember from a long time, the subinterface on a Cisco 2500 Ethernet interface is only to run different encapsulation of the IPX protocol. I do not beleive you can create subinterface for IP. The cisco 2500 does not support ISL or Dot1Q encapsulation on the Ethernet interface.

Regards,

Nadine.

916
Views
5
Helpful
3
Replies
CreatePlease login to create content