Appologies for such a basic question but i'm just getting started with cisco kit so you will have to bare with me.
I have a cisco 1841,
Fa0/0 has the ip of 192.168.5.20
Fa0/1 has the ip of 10.0.0.1
Fa0/0 goes off to the Default gateway of 192.168.5.254
Fa0/1 goes off to a switch where I have a test machine connected (Ip 10.0.0.5).
From the router I can ping 220.127.116.11 for example and it's fine.
From the test computer I am unable to.
I added the "ip route 0.0.0.0 0.0.0.0 192.168.5.254" which then allow the router to ping 18.104.22.168
I realise I am probably making a very basic mistake but would appriciate some points or hints as to where I am going wrong.
Below is the config:
Current configuration : 847 bytes
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
enable secret 5 $1$wssO$VhBou3PyVzg.IbEz4.4xv/
no aaa new-model
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
no ip dhcp use vrf connected
no ip domain lookup
ip address 192.168.5.20 255.255.255.0
ip address 10.0.0.1 255.255.255.0
ip route 0.0.0.0 0.0.0.0 192.168.5.254
no ip http server
line con 0
line aux 0
line vty 0 4
line vty 5 15
If anyone could help that would be greatly appriciated.
Am I right in thinking I would have to create some sort of NAT rule from the inside to outside. or am I going down the wrong path here
yes you're right, just do NAT and it shall work:
access-list 1 permit 10.0.0.0 0.0.0.255
ip nat inside source list 1 interface f0/0
ip nat outside
ip nat inside