Computing.Net > Forums > Networking > 2 Nics, 2 Networks

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

2 Nics, 2 Networks

Reply to Message Icon

Name: Salt
Date: February 8, 2009 at 08:58:05 Pacific
OS: Windows Vista Ultimate
Subcategory: Routers and Hubs
Comment:

Hi,

Currently in a situation where there are a number of users all connected to a switch (which I don't have access to) which is then connected to the internet. This switch turns 'off' automatically at 11.00pm, and 'on' at 6.00am and uses MAC address filtering to regulate who/what is on the network. I also have a wireless router (which I do have access to) which is connected to a 1TB NAS box. The users on the wired network currently connect via wireless to the NAS box for basic file sharing. My computer is connected to both the NAS box and the wired network by wire (I have 2 NICs). My question is this: is it possible to route the NAS shares through the wired network to the users by using my computer as a sort of router between the 2 networks?

Below is the information about subnets and IPs etc which I have pulled from running the command "ipconfig /all":

Wired Network (that I cannont access):
DHCP Enabled: Yes
IPv4 Address: 172.20.24.38
Subnet Mask: 255.255.255.0
Default Gateway: 172.20.24.1
DHCP Server: 10.30.0.2
DNS/WINS Server: 10.30.0.32

Wired Network (which has NAS and that I can access):
DHCP Enabled: No (although it is enabled in the router configuration ??)
IPv4 Address: 192.168.1.172
Subnet Mask: 255.255.255.0
Default Gateway:
DNS/WINS Server:

The router that I have access to is set to assign IPs in the range of 192.168.1.100 upwards. I am surprised that "ipconfig /all" shows DHCP to be disabled for this connection.

Currently, my computer works fine and can access both networks simultaneously. So can I connect both networks? The purpose of connection is not to share the internet connection, but to allow access to the NAS (through my computer) through the wired network for a quicker connection.

Any comments appreciated,

Cheers.



Sponsored Link
Ads by Google

Response Number 1
Name: wanderer
Date: February 8, 2009 at 11:30:45 Pacific
Reply:

Just because its enabled on the router doesn't mean its enabled on the client.

That nic is set to a static ip address with no gateway or dns server listed. You should be able to see this by going to the tcp/ip properties.

Google Internet Connection Sharing xp and follow one of the how tos


0

Response Number 2
Name: jamiesalter
Date: February 10, 2009 at 00:47:49 Pacific
Reply:

Thanks for the reply.

Using your advice, on the computer connected to the two networks, I have set up Internet Connection Sharing - sharing the wired network that the NAS is attached to it. I have also enabled IP routing. Then, on a computer connected to the switch that I can't access, I have set up the following route:

Network Destination: 192.168.1.77 (the IP of the NAS)
Netmask: 255.255.255.255
Gatewaty: 172.20.24.250 (my computer)
Metric: 1

Being a bit of an amateur with routes, I was surprised when the above worked and I could successfully connect to the NAS.

However, when someone is 'connected' to the NAS through my computer, and then I try to access it simultaneously using a mapped network drive, the following error occurs:

"Microsoft Windows Network: Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.
The connection has not been restored."

But when accessing it using its IP address in a run command with \\192.168.1.77\share - it works fine. Weird.

Anyway, more importantly is the route correctly configured? The IP routing table of the router connected to the NAS can be altered. Do I need to insert a route similar to the following:

Network Destination: 172.20.24.0 (Computers on the network whose switch I can't access)
Netmask: 255.255.255.0 (is this correct? - never understand network masks)
Gatewaty: 172.20.24.250 (my computer)
Metric: 1

(which is essentially opposite to the one above)?

By placing the 0 at the end of the netmask and network destination, does that number become similar to using a *. ie, whatever the number there, does the router still used the above rule? And considering everything 'seems' to be working, is the above route required at all?

Cheers!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: 2 Nics, 2 Networks

installing 2 network cards on 1 pc www.computing.net/answers/networking/installing-2-network-cards-on-1-pc/29821.html

help: 1pc 2 networks www.computing.net/answers/networking/help-1pc-2-networks/18594.html

1 computer connecting to 2 networks www.computing.net/answers/networking/1-computer-connecting-to-2-networks/24791.html