how to do i connect to a share that is on a address of 192.168.5.x when my ip is 192.168.1.x.. i know i have to use some sort of subnet but since i'm in a class c ip address will setting the subnet mask to say 255.255.0.0 help?
If you have a host that is on both subnets (probably your router) and you define a route for 192.168.5.0/255.255.255.0 to go to that host and ip forwarding is turned on, you don't need anything else.
Typically your default gateway can see both networks, so the routing happens automagically. If not, you can define a static route for hosts that need to access both networks, or you can put a second IP address on each computer that needs to connect to both networks.
Putting both networks in the same broadcast domain (your proposed netmask change) will increase your broadcast overhead on every machine. It is generally a poor solution to a simple routing problem.
Networks are defined by thier IP address. 10.x.x.x and 11.x.x.x are two different networks. I guess you could give the 2 clients a SMN of 255.255.0.0, but it that would simply make them part of the same network. If you're going to do that, you would be better off giving them both IP addresses in the same range, but, depending on your situation, this may not be an option. BTW, by giving them IP addresses in the same range, I mean one gets 192.168.1.1 and the other gets 192.168.1.2.
Pansophic is right. You need either a router or a proxy server to connect your networks. However, since you want to cennect a "share", I'm going to assume you're using Windows as your file server. Windows based file sharing requires NETBIOS, and that means you'll need to enable this on your router/proxy server, or else you may probably won't see the Windows share.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.