cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1981
Views
5
Helpful
3
Replies

How to create sub interfaces

omal
Level 1
Level 1

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 3

scottmac
Level 10
Level 10

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

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

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.

Review Cisco Networking for a $25 gift card