04-05-2017 01:02 AM - edited 03-08-2019 10:04 AM
Hello everyone!
Soon I am going to my exams, and I've heard that we have to setup Router on a Stick. This is all great, but I have some minor difficulities.
Router on a Stick is working, I can ping from one of my PC's with the following IP: 172.10.2.10 to my other PC with the following IP: 172.10.4.10
I've setup SSH aswell, and I have some problems accessing my switch.
I've tried to create another sub-interface on the router with the following IP: 172.10.6.1, and then created a vlan on the switch with the following IP: 172.10.6.5, but I can't seem to come in contact with it.
I've thought about adding switchport access vlan # to my trunk port that's going from the switch to the router, but I have no clue if this will work.
I've attached both router and switch configuration.
Fell free to ask, if I havn't made everything clear.
Thanks in advance!
Best regards
Kristian Berg
Solved! Go to Solution.
04-05-2017 01:14 AM
On the switch, IP address 172.10.6.5 should be configured on interface Vlan30, not Vlan5 (because on the router 172.10.6.1 is configured on a subinterface with encapsulation dot1Q 30).
04-05-2017 01:14 AM
On the switch, IP address 172.10.6.5 should be configured on interface Vlan30, not Vlan5 (because on the router 172.10.6.1 is configured on a subinterface with encapsulation dot1Q 30).
04-05-2017 01:24 AM
Thank you so much lulian!
My tunnel vision caught me off guard there.
Have a wonderful day
//Kristian
04-05-2017 01:22 AM
You need to create SVIs in those VLANs on the switch
interface Vlan10 ip address 172.10.2.2 255.255.254.0 ! interface Vlan20 ip address 172.10.4.2 255.255.254.0
!
interface Vlan30
ip address 172.10.6.2 255.255.252.0
04-10-2017 09:48 PM
i'll try this method : http://www.192168-ip.com/setup-cisco-router/ but still i did not get any output (Settingup) and setup server can you please guide me?
Thanks
Kishan Ravi
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide