05-01-2023 11:14 AM
I have build a home lab using physical Cisco gear. I am studying for my CCNA and I would like to use my router as a PC host, but I have not been able to get the configuration right. I would appreciate any assistance from the group to guide me on the proper config to setup a router to emulate a host. I am using 2901 routers with L3 capable switches.
05-01-2023 11:17 AM - edited 05-01-2023 11:23 AM
two point need to emualte the router as PC
1- no ip routing
2- ip default-gateway <IP of GW>
NOTE:- off course you need IP to router interface connect to SW or Router (dont forget no shut)
05-01-2023 11:21 AM
Hi
If you were to use a router as PC, you basically need to setup one interface as dhcp and add a default route to the gateway.
Example
Int gi0/0
ip address dhcp
ip route 0.0.0.0.0 0.0.0.0 "gateway IP"
Basically the router will reply ping and help you test dhcp.
Thats way GNS3 and Eve is very good alternative as PC can be virtual.
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