06-15-2017 10:33 AM - edited 03-08-2019 10:59 AM
hi all,
I have a home lab with 2 Cisco routers (2620 and 2651) and 1 switch (2960 catalyst) and working towards CCNA 200-125 R/S. I connected and configured all the devices according to my requirements. My question is: how can I impersonate the hosts in VLAN in the switch? I already setup ROAS and would like to ping from one VLAN to another.
thanks in advance.
regards,
Solved! Go to Solution.
06-15-2017 11:13 AM
You can use the router not configured for the routing between vlans as an end host.
So turn off IP routing ("no ip routing"), give it an IP address from the vlan the port on the switch is in and then -
"ip default-gateway x.x.x.x" ---> where x.x.x.x is the IP address for that vlan on the router.
Hope that makes sense :)
Jon
06-15-2017 10:36 AM
Hi,
Could you please provide more details about what you want to implement?
06-15-2017 10:40 AM
Hi Julio Moisa,
thanks for the reply. I actually would like to test the ROAS is working or not. I have 3 VLANS configured in 2960 and would like to test ping from each other but I have only one laptop. so need a solution how to do this. thanks again
06-15-2017 11:13 AM
You can use the router not configured for the routing between vlans as an end host.
So turn off IP routing ("no ip routing"), give it an IP address from the vlan the port on the switch is in and then -
"ip default-gateway x.x.x.x" ---> where x.x.x.x is the IP address for that vlan on the router.
Hope that makes sense :)
Jon
06-16-2017 07:10 AM
I have tried as you said. Ping from my PC (VLAN 10) to host router (VLAN 20) is working but when I am trying to ping PC from router not working. my router is connected to PC via the console port. Ping to the other VLAN interface gateway is working from the router. Just can't ping PC from the router. any known solution?
thanks
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