02-28-2018 03:31 AM - edited 03-08-2019 02:03 PM
Hi,
im trying to make a local network with GNS3.
im using NAT and static routing to connect network 192.168.10.0 and 192.168.137.0.
the R1 can connect to internet and able to ping any IP, but the PC1 cant even ping the cloud.
here's my config.
R1#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int fa0/0
R1(config-if)#no sh
R1(config-if)#
*Mar 1 00:01:22.059: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:01:23.059: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#ip add dhcp
R1(config-if)#ip nat outside
R1(config-if)#
*Mar 1 00:01:45.323: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to up
R1(config-if)#exit
R1(config)#int fa1/0
R1(config-if)#no sh
R1(config-if)#ip add 192.
*Mar 1 00:01:58.875: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed state to up
*Mar 1 00:01:59.875: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up
R1(config-if)#ip add 192.168.10.1 255.255.255
*Mar 1 00:02:40.071: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 192.168.137.37, mask 255.255.255.0, hostname R1
R1(config-if)#ip add 192.168.10.1 255.255.255.0
R1(config-if)#ip nat inside
R1(config-if)#exit
R1(config)#ip nat inside source static 192.168.10.2 192.168.137.2
R1(config)#ip nat outside source static 192.168.137.1 192.168.10.10
R1(config)#ip route 192.168.10.2 255.255.255.255 192.168.137.1
im sharing the internet from my wi-fi to host-only adapter and i can ping R1 from my cmd-prompt.
Do you have any suggestion to solve this problem?
02-28-2018 03:39 AM - edited 02-28-2018 04:50 AM
i try to use ospf routing and still had the same result.
router ospf 10
network 192.168.10.0 0.0.0.255 area 0
network 192.168.137.0 0.0.0.255 area 0
redistribute connected subnets
exit
did i need to use BGP to connect this?
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