07-15-2008 11:09 PM - edited 03-03-2019 10:44 PM
when we make subinterfaces on Router Example(fa0/0.1) this subinterface work on which OSI Layer.
Solved! Go to Solution.
07-16-2008 03:35 AM
To go back to Kiran's original question about which OSI layers works on virutal interfaces, a virtual interface such as an Ethernet subinterface works at all the same OSI layers that a physical interface works at.
So certainly it works at layers 2 and 3 as already mentioned. And to the extent that it might be the source or destination of TCP based traffic such as telnet we could say that it works at layer 4. And to the extent that it might be the source or destination of things like SNMP we might say that it works at all the way up to the application layer.
HTH
Rick
07-15-2008 11:21 PM
Since the sub-interface has IPs on it, then it would be Layer 3.
HTH,
- sn -
07-15-2008 11:58 PM
Hi,
Well, to configure an Ethernet subinterface with an ip address (Layer 3) you must configure dot1q encapsulation with the appropriate VLAN first, and if you wish to do bridging (Layer 2) then you'll have to play with IRB (Integrated Routing and Bridging) or CRB (Concurrent Routing and Bridging) - since by default the router is capable of routing only (when ip routing is enabled, which is the default).
Router(config)#interface f1/3.1
Router(config-subif)#ip address 10.10.10.3 255.255.255.0
% Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.
Router(config-subif)#encapsulation dot1Q ?
<1-4094> IEEE 802.1Q VLAN ID
Router(config-subif)#encapsulation dot1Q 3
Router(config-subif)#ip address 10.10.10.3 255.255.255.0
BR,
Mohammed Mahmoud.
07-16-2008 03:35 AM
To go back to Kiran's original question about which OSI layers works on virutal interfaces, a virtual interface such as an Ethernet subinterface works at all the same OSI layers that a physical interface works at.
So certainly it works at layers 2 and 3 as already mentioned. And to the extent that it might be the source or destination of TCP based traffic such as telnet we could say that it works at layer 4. And to the extent that it might be the source or destination of things like SNMP we might say that it works at all the way up to the application layer.
HTH
Rick
07-16-2008 09:48 AM
Kiran
I am glad that my response helped to resolve your question. Thank you for using the rating system to indicate that your question was resolved (and thanks for the rating). It makes the forum more useful when people can read a question and can know that a response did help to resolve the question.
The forum is an excellent place to learn Cisco networking. I enourage you to continue your participation in the forum.
HTH
Rick
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: