cant print to network printer

savinda.missaka

Prominent
Mar 29, 2018
8
0
510
Hi,I have 2 networks one is 1.(IP10.226.217.10 sub net 255.255.255.0 gateway 10.226.216.10) and other is 2.(ip192.168.251.29 sub net 255.255.255.224 gateway 192.168.251.1) the network i mentioned as "1" 192.168.251.29 is connected to computer through cable network and other network "2" 10.226.216.10 is connected to computer through wifi. and also i have a printer which ip is (192.168.236.111 subnet 255.255.255.224 and gateway 192.168.236.129) this printer connected to the same switch same router which "1"192.168.251.29 occupied. but wifi network(10.226.216) is in a seperate network switch and router. the problem is when i connect the wifi network(10.226.216) also to the computer while i'm connected to 192.168.251.29 i cant get printouts from 192.168.236.111 even it's not pinging to the ip. There are other 192.168.251 range devices connected to switch, they can be pinged though one or both the network connected. and when i disconnect the wifi from the computer it starts pinging to 192.168.236 range.and also printouts.why i cant use the printer when the computer connected to both networks.
view
 
Solution
Wow ... you have a mess. First off, if what you wrote is correct, you have more than 2 networks. Second, as written, the printer is not on the same network as anything ... so, I have to assume something is not correct.

For one device to connect to another device, it must be able to find a path to that device. For example, 192.168.2.2/255.255.255.0 can connect to all the 192.168.2.xx devices because they are on the same network. It also has a gateway, 192.168.2.1, so it can connect to anything that the gateway can connect to. Let's say the gateway it connected to another network 192.168.1.xx. Then 192.168.2.2 can also access the devices on 192.168.1.xx, but those devices can not access 192.168.2.2 unless we tell them how find that...
Wow ... you have a mess. First off, if what you wrote is correct, you have more than 2 networks. Second, as written, the printer is not on the same network as anything ... so, I have to assume something is not correct.

For one device to connect to another device, it must be able to find a path to that device. For example, 192.168.2.2/255.255.255.0 can connect to all the 192.168.2.xx devices because they are on the same network. It also has a gateway, 192.168.2.1, so it can connect to anything that the gateway can connect to. Let's say the gateway it connected to another network 192.168.1.xx. Then 192.168.2.2 can also access the devices on 192.168.1.xx, but those devices can not access 192.168.2.2 unless we tell them how find that network (via routing commands). Generally speaking.

Hope that helps a bit.

My thought is make your network into 1 network, if you can. Is there reason you can't?
 
Solution

savinda.missaka

Prominent
Mar 29, 2018
8
0
510
hi anotherdrew,thanks for the reply..routing commands has already given to communicate with 192.168.251.1 and 192.168.236.129 gateways.they communicate (can get printouts) without any trouble.only when i connected to wireless network(10.226.216.10) it doesn't communicate.