05-14-2015 11:45 AM - edited 03-08-2019 12:01 AM
I have two networks. 10.22.227.X the 227 network has the internet connection on it, I also have 10.22.226.X Network as of right now this network has no internet.
You can see the current configuration file here http://jpst.it/yTur
As of right now i can not communicate between the two networks. What i mean by this is... I can not access files off my computer on the 227 net work from the 226 network and visa-versa. I am using Cisco packet tracer (that's where i got my configuration file from above.) and the network work great! But when i copy it to my router it doesn't work!!!!
Can anyone help my out! I have been trying for weeks to make this work.
05-14-2015 02:03 PM
Hello,
I can't see anything particularly wrong with the config. Its basic and it should work. You say that you cannot access files on the PC on the other network, does that mean there is no communication between the 2 hosts what so ever? Can you ping between the hosts? Have you configured the correct ip information on the hosts, particularly the default gateway?
05-14-2015 03:17 PM
Sorry i did not clarify, I can not ping or access any computer from the router of from the computer.
05-14-2015 03:21 PM
We need to know more about how it is setup ie. do you have a separate switch connected to each interface of the router ?
Do the clients have the default gateways set to be the router interface IPs ?
When pinging to a computer make sure any firewalls are turned off as this can block ICMP.
Jon
05-14-2015 03:38 PM
05-14-2015 03:53 PM
Okay well the default gateways for both set of computers are not the router interface IPs so that's why it's not working.
I suspect the 10.22.227.254 IP is the modem but I have no idea what the 10.22.226.254 IP is meant to be.
Can you clarify what those IPs are meant to be ?
Also do you know if your modem supports -
1) adding routes
2) doing NAT for non directly connected networks ie. 10.22.226.0/24
if it can't then we can do it all on the router but you are going to have to make a lot of changes.
Jon
05-15-2015 07:42 AM
05-14-2015 08:06 PM
As Jon quite rightly pointed out here the default gateway configurations on the hosts are incorrect. Please change it to the router interface for the respective networks.
I.e DG for the 10.22.226.0/24 network should be 10.22.226.1
and
10.22.227.1 for the 10.22.227.0/24 network
You need to think about what the routing logic would be from the hosts perspective, when it wishes to send a packet to another host it will compare the destination IP with its own IP. If the host is in the same subnet then it will ARP for the destination MAC and from that construct the L2 header information before sending it on its merry way.
If the destination is on a different subnet however it will want to send the packet to its default gateway, this is where in your case the host is unable to proceed as the default gateway config is invalid
Hope this helps.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: