11-24-2011 05:52 AM - edited 03-07-2019 03:35 AM
i would like to connect virtual router to real lan network using GNS3 Software
i do the following:
1-create loopback netwok;
2- i share this loopback with my local network (LAN)
3- i configure cloud as adding my loopback network
4- i configure router interface as "ip add dhcp" . .assegn ip address is ok by dhcp.
my ip address (lan): 138.132.x.x subent 255.255.255.0
router ip address assegned by dhcp :192.168.x.x subent 255.255.255.0
test:
ping from router to any address of my lan network is OK .
When i ping from any pc lan to router NOOOO PING!
NOTE: NO FIREWALL IS ACTIVE OR ANY ACCESS LIST SETTING YET INSIEDE THE ROUTER !!!!
Any help !!!!!
Thx
11-24-2011 05:59 AM
info router
Cisco IOS Software, 7200 Software (C7200-IS-M), Version 12.4(13b), RELEASE SOFTWARE (fc3)
11-24-2011 06:03 AM
Hi,
2- i share this loopback with my local network (LAN)
what do you mean? you bridged the loopback and the physical interface ? to give a DHCP address to router interface?
my ip address (lan): 138.132.x.x subent 255.255.255.0
router ip address assegned by dhcp :192.168.x.x subent 255.255.255.0
these are 2 different subnets and on your LAN you've got a public IP?
Regards.
Alain
11-24-2011 06:26 AM
Thanks for your immediate response.
Yes, i bridged the loopback and the physical interface,and these are 2 different subnets.
M.
11-24-2011 06:33 AM
Hi,
so your bridged interface is on 138.132.x.x subnet and your router Ip is on 192.168.x.x subnet, ok?
then when you ping from PC it will use it's default gateway and it can't work.
try configuring a static route to 192.168.x.x on your PC with route add command.
Regards.
Alain.
11-24-2011 06:54 AM
note that try to add in the table route using this comand:
c:\ route add 192.168.x.x mask 255.255.0.0 138.132.x.x
But no way..
11-24-2011 08:00 AM
Hi,
try with a host route : mask 255.255.255.255 and clear arp cache with arp -d * and verify the route is indeed in the routing table with route print -4
Regards.
Alain.
11-25-2011 01:57 AM
ok i add the route as you said and is indeed in the routing table. But does not work !!
But when i lunch tracert ip, command line utility that can be used to trace the path a packet's IP (Internet Protocol) to arrive at its destination as you see here output message : (Destination host unreachable) !!
C:\>tracert 192.168.x.x (router ip)
Tracing route to Router.mshome.net [192.168.x.x]
over a maximum of 30 hops:
1 myPC.xxxx.xxx.it [138.132.x.x] reports: Destination host unreachable.
Help . . . .
11-25-2011 02:55 AM
Hi,
Post a topology including all external devices.
Regards.
Alain
11-28-2011 01:30 AM
Hi,
Post topology including all external devices !!
Sorry, idont understand what u mean !
Regards,
M.
11-28-2011 01:57 AM
Hi,
post a drawing expaining which devices are connected to which and IP adressing, including GNS3 devices and physical devices.
and post the configs of all devices.
Regards.
Alain
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