01-04-2013 08:02 PM - edited 03-04-2019 06:35 PM
Hi Friends,
When do we assign the ip for the Physical interface as well as the sub interface of the same physical interface. and enable the routing protocols on both physical and sub interface. Is there any significance for using this kind of setup.
Please clarify.
Thanks in advance.
Naveen
01-04-2013 09:22 PM
The implementation is going to dictate what it's used for, but the physical interface defaults to native vlan 1. Anything underneath would be tagged. You can't change the encapsulation method on the primary interface, but on subinterface you have to configure "encapsulation dot1q
HTH,
John
*** Please rate all useful posts ***
01-04-2013 10:46 PM
when you want to comunicate different network by a single port then you will provide IP to subinterface. like vlan configuration you have three vlan then you will make 3 subinterface then give ip to that subinterface.
01-05-2013 10:34 PM
HI thanks for the reply,
If we apply an IP for physical interface for one network and create a sub interface under that same physical interface and assign diffrent network IP will it work.
01-06-2013 01:05 AM
Hi Naveen,
This will work. But please be aware that you will not be able to change the encapsulation the the physical interface and you will have to use "encapsulation dot1q
These points are applicable only for enthernet interface and if you are on serial interface you dont have to mention the encapsultion on subinterface and with out specifying the encapsulation communication will happen.
Hope that helps.
Regards
Najaf
Please rate when applicable or helpful !!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide