Networking – Connecting 2 different subnet masks

gatewaynetwork-sharesnetworkingsubnet

I'm no network genius, but I have managed to get most things running. I get confused about subnets and gateways though. We have an office server connected to around 20 PC's that all communicate fine. We have just gotten a cutting machine that won't connect to our network. The server has DHCP, but that fails on the cutting machine, so I've been trying to set the IP manually.

Server details are as follows:

IP: 10.1.1.12
SUBNET: 255.255.255.0
GATEWAY: 10.1.1.1

Internet connection is via the modem which is 10.1.1.1

An office PC is ussually set up through DHCP and has the following settings:

IP: 10.1.1.36
SUBNET: 255.255.255.0
GATEWAY: 10.1.1.1
PRIMARY DNS: 10.1.1.12

Cutting Machine computer has 2 network ports. 1 is specifically for the communication between the PC and the cutting machine. It's details must be as follows:

IP: 10.100.100.2
SUBNET: 255.255.255.252
GATEWAY: BLANK

The other network port need to connect to the server. I was told that the IP and SUBNET need to be as follows:

IP: 10.100.100.1
SUBNET: 255.255.255.252
GATEWAY: ??

How can I connect this port to the server and/or the internet. If anyone can offer assistance, it would really be appreaciated.

Best Answer

  • Router

There are two networks- you need a Router to join them.

[10.1.1.1]lan<-- wire -->[router]lan<-- wire> -->lan[10.100.100.1]


Or

  • PC with 2 NICs

[10.1.1.1]lan<-- wire -->[NIC1] --> PC <-- [NIC2]<-- wire> -->lan[10.100.100.1]

Set the "Routing and RAS" service from disabled toautomatic and start the service to get things going. Further it is advisable to set the

HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\IPEnableRouter

reg entry to

1

Also add persistent routes to either networks:

Destination: 10.1.1.0 Mask: 255.255.255.0 Gateway: 10.100.100.1

Destination: 10.100.100.0 Mask: 255.255.255.0 Gateway: 10.1.1.1

Or

  • Change the IPs on the cutting-machine as:

IP: 10.1.1.x Subnet: 255.255.255.0 Gty: 10.1.1.1

Related Question