Router-on-A-Stick (Inter VLAN Routing)
This CBT company seems good. I watch one video off of YouTube. Attached here is a video that describes ROS. Watch and learn. And then check out this site and let me know what you think? I have used CBT Nuggets and Bryant Advantage but I am always looking for better CBT courses. Most better explained.
Double Click video and go to YouTube website so you can enlarge the screen to FULL. It is much easier to watch video in Full Screen mode.
1. PC Configuration (TCP/IP Settings)
2. Router Configuration
On a FastEthernet interface create 3 subifs (sub-interfaces)
that match up with each vlan #
no ip address
interface FastEthernet 0.20
ip address 192.168.2.1 255.255.255.0
encapsulation Dot1q 2
interface FastEthernet 0.30
ip address 192.168.3.1 255.255.255.0
encapsulation Dot1q 3
interface FastEthernet 0.40
ip address 192.168.4.1 255.255.255.0
encapsulation Dot1q 4
3. Switch Configuration
The port on the switch that will be connected to the router’s FastEthernet port must be in trunking mode, and you must know the trunking protocol in use that will be Dot1q. The Cat 2950 doesn’t support ISL trunking it only supports Dot1q. Set “encap Dot1q”on the switch fa0/0 interface.
Enter configuration commands, one per line. End with CNTL/Z
SW2(config-if)#switchport mode trunk
Assign each PC into its own VLAN
- create vlans on each Switch like this.
Note: Assign vlan # to the proper vlan like this. For example, if you hav 192.168.2.5 on a PC and the FastEthernet port is connected, that fa0/x port belongs to Vlan 2 because of the 2 in the 3rd octet. The same goes for all the rest.
- Assign Fa0/x to a vlan
SW3(config-if)#switchport mode access
SW3(config-if)#switchport access vlan 4
Note: You could setup VTP server/client and do it that way. But I left them all VTP Server mode for simplification to focus on inter vlan router setup.
- Test ROS
Ping from one PC all the IP addresses on the network. If you can do this, the ROS config setup is done correctly. Again, if you can ping each subnet from one PC and its subnet respectively, then what you did is correct.
So from host A 192.168.3.5 if you can ping all the ip addresses on the network, you have setup ROS correctly. Good Job! This is inter vlan ROS configuring!