What is VLAN sub interface?

What is VLAN sub interface?

A dot1q VLAN subinterface is a virtual Cisco IOS interface that is associated with a VLAN ID on a routed physical interface. A parent interface is a physical port. Subinterfaces can be created only on Layer 3 physical interfaces.

What are sub interfaces on router?

A subinterface is a virtual interface created by dividing one physical interface into multiple logical interfaces. A sub-interface in a Cisco Router uses the parent physical interface for sending and receiving data.

How do I enable inter VLAN communication?

SVI (Switch Virtual Interface) Start by enabling routing using the ip routing command. If you forget this your switch won’t build a routing table! Next step is to create a SVI for VLAN 10 and 20 and configure IP addresses on them. This configuration might look familiar if you worked with layer 2 switches before.

How to block traffic between VLANs with Cisco?

(If the source IP is within the ip range 192.168.20.0-192.168.20.255, then allow the traffic and ignore all statements afterwards. If it is not in the 192.168.20.0-192.168.20.255 range, then go to the next statement.) The next statement is “deny ip any any”.

What happens if you restrict access to a VLAN?

If you apply an access-list to deny traffic from it to another vlan, it works both way. So its all or nothing, which doesn’t make sense to me, but we worked on it for couple of hours and no success. They minute we would restrict access, all other vlans would lose connectivity to this particular vlan (services).

How to stop VLAN Y from making connections to VLAN X?

2) stop vlan y making connections to vlan x. The problem is as soon as you do this you are also blocking the return traffic when vlan x made the initial connection because the acl has no idea it is return traffic as opposed to traffic initiated from y. There are some solutions but because you have a switch you are limited ie.

How are packets switched between different VLANs?

The technology logically segments the network into separate Layer 2 broadcast domains whereby packets are switched between ports designated to be within the same VLAN.