03-08-2018 04:56 AM - edited 03-08-2019 02:10 PM
Sales Department
Lap1: 192.168.1.2
Lap2: 192.168.1.3
Account Department
PC1: 192.168.1.130
PC2: 192.168.1.131
ROUTER
G0/0:192.168.1.129
G0/1:192.168.1.4
S0/1/0 :192.168.1.242
what would be router rip command to ping from sale to account
please help me.........
Solved! Go to Solution.
03-10-2018 04:22 AM - edited 03-10-2018 04:24 AM
Hi
Yes, basically you have similar network segment configured under the interfaces but they are 2 different networks because they have different subnet masks. Now you must configure the default gateway on your computers like showed on the previous configuration.
The default gateway of the computers will be IP address configured under the interface on the router related to each LAN:
Gateway IP for Account LAN: 192.168.1.129
Gateway IP for Sales LAN: 192.168.1.4
G0/0:192.168.1.129 255.255.255.192
G0/1:192.168.1.4 255.255.255.128
:-)
03-08-2018 06:09 AM - edited 03-08-2018 06:10 AM
Hi
If we are based only on this scheme red and yellow boxes, you don't need routing, you should already be able to ping from the red to yellow devices. Because the networks 192.168.1.128/26 and 192.168.1.0/25 are directly connected to Router 3 and it is the gateway for these networks.
The first thing made by a L3 device once has started is know its directly connected networks, you could execute: show ip route, and you will see both networks.
Routing should be used to learn or enable communication between networks located between 2 or more routers. Basically remote networks.
Hope it is useful
:-)
03-08-2018 07:57 PM
Thanks Julio Moisa
but problem not solve yet, may be i gave less information
its like this way , sorry for less information
Sales Department
Lap1: 192.168.1.2 255.255.255.128
Lap2: 192.168.1.3 255.255.255.128
Account Department
PC1: 192.168.1.130 255.255.255.192
PC2: 192.168.1.131 255.255.255.192
ROUTER
G0/0:192.168.1.129 255.255.255.192
G0/1:192.168.1.4 255.255.255.128
S0/1/0 :192.168.1.242 255.255.255.252
Router's both port are directly connect but both post with different subnet mask , is that problem both no communicate each other ?
Sales and Account Dept. both connected via same router but different subnet mask, i m so confused for this connection ,
how to ping to pc with different subnet mask?
waiting for solution
03-09-2018 04:49 AM - edited 03-09-2018 04:58 AM
Hi,
You have the following the router displayed on the picture:
ROUTER
G0/0:192.168.1.129 255.255.255.192 (gateway for the Account computers)
G0/1:192.168.1.4 255.255.255.128 (gateway for the Sales computers)
S0/1/0 :192.168.1.242 255.255.255.252 (point to point with other device, I assume it is a router not considered on this question, I guess)
Now, you dont need routing in order to enable the communication between the account and sales networks because they are directly connected on the same router. But you need to configure the gateway on the computers, remember the gateway is used to be able to communicate with different networks, without gateway configured on the end devices like PC, IP Printers, IP Cameras, Phones, Tablets, etc you will be able to communicat with the devices over the same network only.
So for example your computers on the account section should have the following configuration:
PC0
IP 192.168.1.130
Subnet mask 255.255.255.192
Gateway 192.168.1.129 <--- IP configured under the interface on the router.
PC1
IP 192.168.1.131
Subnet mask 255.255.255.192
Gateway 192.168.1.129 <--- IP configured under the interface on the router.
SALES Area
Laptop 2
IP 192.168.1.2
Subnet mask 255.255.255.128
Gateway 192.168.1.4 <--- IP configured under the interface on the router.
Laptop 3
IP 192.168.1.3
Subnet mask 255.255.255.128
Gateway 192.168.1.4 <--- IP configured under the interface on the router.
Basically you have subnetted networks for each department Account has a /26 and Sales has a /26, there is no overlapping.
Hope it is useful
:-)
03-10-2018 12:39 AM
i m really may be dumb
may be my question is dumb, but i stuck in this network
one router with in its two interface with different subnet mast but in same class ip
but i cant communicate with other pc / or end user device
situation
router has two interface , both interface on different subnet mask with same ip class,
both side not able to communicate to each other
please give me solution
i m using packet tracer
03-10-2018 03:54 AM
Do you have the respective gateways configured on the client's as specified?
Martin
03-10-2018 04:22 AM - edited 03-10-2018 04:24 AM
Hi
Yes, basically you have similar network segment configured under the interfaces but they are 2 different networks because they have different subnet masks. Now you must configure the default gateway on your computers like showed on the previous configuration.
The default gateway of the computers will be IP address configured under the interface on the router related to each LAN:
Gateway IP for Account LAN: 192.168.1.129
Gateway IP for Sales LAN: 192.168.1.4
G0/0:192.168.1.129 255.255.255.192
G0/1:192.168.1.4 255.255.255.128
:-)
03-10-2018 07:47 PM
thanks
its works
03-11-2018 05:23 AM
You are welcome, have a great day!
:-)
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