For CCNA and CCNP candidates, it’s challenging not to chuckle the first time you listen to the phrase “router over a adhere”. Permit’s facial area it, that’s a fairly foolish phrase. But as all those who have passed the CCNA and CCNP tests know, that is a https://en.search.wordpress.com/?src=organic&q=토토사이트 very important Examination subject matter you must know how to configure and troubleshoot.
Standard Cisco theory states that for hosts in numerous VLANs to communicate, a Layer 3 product have to be associated to take care of the routing concerning the VLANs. That product is often a router, and you can find Distinctive issues that need to be taken into consideration for each the physical router alone as well as the configuration you’ll be composing.
The router will likely be connected to a swap by means of a FastEthernet port (or larger). The router port can't be a regular Ethernet port, Because the router port will need a chance to send out and obtain knowledge at the same time.
The configuration with the interface is wherever issues get interesting. Let’s say we have two VLANs that could be working with router-on-a-adhere to speak.
Here's the VLAN information:
VLAN 20: twenty.20.twenty.0 /24
VLAN forty: 40.forty.40.0 /24
The port about the switch which will be linked to the router’s FastEthernet port should be in trunking mode, and you will need to know the trunking protocol in use. We’ll go Together with the Cisco-proprietary ISL in this article.
The Actual physical FE port over the router won't have an IP deal with. The use of router-on-a-stick mandates using sensible subinterfaces. Though we don’t really have to make use of the VLAN quantities for that subinterface figures, I’ve observed this allows you keep the interfaces straight. 1 subinterface should be offered an IP deal with in VLAN 20, and another will likely have an IP deal with in VLAN forty.
Right after producing subinterfaces rapidly 0.twenty and speedy 0.40, the config looks like this:
interface fastethernet0
no ip handle
interface FastEthernet 0.twenty
ip handle twenty.twenty.twenty.one 255.255.255.0
interface FastEthernet 0.40
ip handle forty.40.40.1 255.255.255.0
Truth be told, you’re Just about completed! Now we want the encapsulation assertion less 안전놀이터 than Each and every subinterface. The subinterface statement have to replicate equally the VLAN variety and the encapsulation variety getting used. Once we’re finished, the config would look like this:
no ip handle
ip address twenty.twenty.twenty.one 255.255.255.0
encapsulation isl 20
ip handle 40.40.forty.one 255.255.255.0
encapsulation isl forty
And that’s it! Your hosts in VLAN 20 really should now manage to talk to hosts in VLAN 40, and vice versa.
Two or three final troubleshooting details – the commonest mistake with router-on-a-stick is To place the wrong vlan quantity while in the encapsulation statement. Also, be sure you have configured the router’s IP address in VLAN twenty as being the default gateway for hosts in VLAN 20, and do the same for VLAN forty.
I hope you’ve relished this evaluate router-on-a-adhere. Even though the identify may possibly obtain a chuckle from you, it’s still used in Plenty of networks out there, and understanding tips on how to configure and troubleshoot it will get you that A lot closer to earning your CCNA and CCNP.