switch(config)#int type <no>
switch(config-if)#switchport mode trunk
switch(config-if)#switchport trunk allowed vlan all/vlan no
switch(config-if)#exit
switch(config)#exit
switch#
What are three features of router-on-a-stick, inter-VLAN routing? (Choose three.)
both are the common inter networking devices(functionally) but the layer 3 switch has the functionality of both switch and router, layer 3 switch are most commonly used in frame relay networks, layer 3 switches are also capable of inter vlan routing
Advantages are that it is simple to implement, A Layer-3 switch (expensive) is not required, The router provides communication between VLANs.
A physical router device with an interface that routes between two or more VLANs that are attached to a VLAN network segment by a trunk link. In other words a " router on a [ TRUNK ] " which is originating from switches with independent non routing VLANs.
#1, #3, #5
In traditional inter-VLAN routing (also known as "router-on-a-stick"), only one physical interface is required on the router. However, this single physical interface needs to be configured with multiple sub interfaces, each corresponding to a different VLAN. The router uses these sub interfaces to route traffic between VLANs. The configuration involves: One physical interface on the router (e.g., GigabitEthernet0/1). Multiple sub interfaces (e.g., GigabitEthernet0/1.10, GigabitEthernet0/1.20) corresponding to different VLANs. Each sub interface is assigned an IP address in the respective VLAN's subnet. This setup enables inter-VLAN routing by allowing the router to route traffic between the VLANs using a single physical interface.
Routed ports on a multilayer switch function as traditional Layer 3 interfaces, allowing IP routing and enabling communication between different VLANs or subnets. They do not belong to any VLAN and are typically used for connecting to other routers or Layer 3 devices. Routed ports can be configured with an IP address and support routing protocols, making them integral for inter-network communication.
The IP address of each router subinterface mist be used as the default gateway for hosts on the corresponding VLAN.
Routing algorithms that are restricted to only work within the domain are referred as intera-domain routing algorithms and if they are not restricted only within the domains then they are inter-domain algorithms.
Using a simple show command will suffice to view that vlan's are configured properly. If the vlan's are configured properly on the routers as well as the switches, then the routers can talk to each other and so can the vlan's.show ip route - Provides a snapshot of the routing table entries.ping - verifies connectivity
1519
inter_vlan routing on d'link DGS3612 is automatic,you just creates vlan and tag them to the port access and trunk