Bridge a static lan connection and a dynamic wireless connection together

J

joshkraemer

I have two computers that I want networked wirelessly together.

Computer A has an ethernet connection with a static ip of 172.1.116.x
and a wireless adapter that gets a dynamic ip of 192.168.2.xxx from the
wireless router. Computer B has an ethernet connection that is hooked
directly to the wireless router and also gets a dynamic ip
(192.168.2.xxx) from the router as well.

I need computer B to see computer A's static (maunally assigned) lan of
172.1.116.x through the wireless connection of 192.168.2.xxx I also
should probably assign an alternate static ip of 172.1.116.x to
computer B's ethernet connection. I cannot change computer A's lan
static ip because it is used to control a whole feed mill. I also need
the 192.168.2.xxx wireless netowrk between the two so both can access
the internet coming from the router

How should I go about networking the 2 computer's 2 network connections
together? I don't know if a bridge will work. Basically, I need both
computers to see each other's static lan of 172.1.116.x through the
dynamic (DHCP) wireless connection of 192.168.2.xxx.

My router won't let me assign it an ip of 172.1.116.xxx nor use an ip
range 172.1.116.x to 172.1.116.xxx with the DHCP server.

Any help would be appreciated. Thank you very much.
 
S

Steve Winograd [MVP]

I have two computers that I want networked wirelessly together.

Computer A has an ethernet connection with a static ip of 172.1.116.x
and a wireless adapter that gets a dynamic ip of 192.168.2.xxx from the
wireless router. Computer B has an ethernet connection that is hooked
directly to the wireless router and also gets a dynamic ip
(192.168.2.xxx) from the router as well.

I need computer B to see computer A's static (maunally assigned) lan of
172.1.116.x through the wireless connection of 192.168.2.xxx I also
should probably assign an alternate static ip of 172.1.116.x to
computer B's ethernet connection. I cannot change computer A's lan
static ip because it is used to control a whole feed mill. I also need
the 192.168.2.xxx wireless netowrk between the two so both can access
the internet coming from the router

How should I go about networking the 2 computer's 2 network connections
together? I don't know if a bridge will work. Basically, I need both
computers to see each other's static lan of 172.1.116.x through the
dynamic (DHCP) wireless connection of 192.168.2.xxx.

My router won't let me assign it an ip of 172.1.116.xxx nor use an ip
range 172.1.116.x to 172.1.116.xxx with the DHCP server.

Any help would be appreciated. Thank you very much.

Do you really need two different subnets and two different networks?
If you configure the wireless router to assign addresses in the
172.1.116.x range, would everything work?

I don't think that a network bridge can do what you want. Its
purpose is to combine multiple physical networks into a single logical
network with a single subnet. I've written a web page with details:

XP ICS - Network Bridge
http://www.practicallynetworked.com/sharing/xp_ics/networkbridge.htm

To route traffic between the two networks, enable TCP/IP forwarding on
Computer A, as described here:

How to Enable TCP/IP Forwarding in Windows XP
http://support.microsoft.com/kb/315236/en-us

You'll need to assign a static 192.168.2.xxx address to Computer A's
wireless connection and use that address to define a static route on
computer B. For example, if computer A's wireless connection is
192.168.2.10, define this route on B:

route add 172.1.116.0 mask 255.255.255.0 192.168.2.10

Computer B will then have access to the 172.1.116.x computers using
their IP addresses. Accessing them by their computer names will
require an Lmhosts file on Computer B that maps the computer names to
IP addresses.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
J

joshkraemer

Do you really need two different subnets and two different networks?
If you configure the wireless router to assign addresses in the
172.1.116.x range, would everything work?

I would really like to configure the wireless router to assign an ip
address in the 172.1.116.x range, but it says that 172.1.116.x is not a
routable ip, but 172.x.116.xxx is (where x=16-31). I'm not sure if I
need two different subnets and two different networks, but the lan
network must be static (computer A = 172.1.116.2 and computer B =
172.1.116.4). The only reason for the wireless router and connection
is so both computers can access the internet and be connected together
from two seperate buildings (one in a feed mill and the other in an
office). Computer A runs SQL server and hosts the feed mill database
files for the feed mill program on computer B to access. That is why
they need a specific static lan.

So, the bottom line is: the static lan is for file sharing, MS Access
databases and SQL server. The wireless connection connects the two
computers together so the two static lans can see each other and gives
them internet access (no files/SQL through the wireless connection).

I'll try what you suggested.
 
S

Steve Winograd [MVP]

Do you really need two different subnets and two different networks?
If you configure the wireless router to assign addresses in the
172.1.116.x range, would everything work?

I would really like to configure the wireless router to assign an ip
address in the 172.1.116.x range, but it says that 172.1.116.x is not a
routable ip, but 172.x.116.xxx is (where x=16-31).[/QUOTE]


That's right. The range reserved for allocation in a private network
is 172.16.0.0-172.31.255.255. 172.1.x.x is a public IP address and
shouldn't be used in a private network.
I'm not sure if I
need two different subnets and two different networks, but the lan
network must be static (computer A = 172.1.116.2 and computer B =
172.1.116.4). The only reason for the wireless router and connection
is so both computers can access the internet and be connected together
from two seperate buildings (one in a feed mill and the other in an
office). Computer A runs SQL server and hosts the feed mill database
files for the feed mill program on computer B to access. That is why
they need a specific static lan.

So, the bottom line is: the static lan is for file sharing, MS Access
databases and SQL server. The wireless connection connects the two
computers together so the two static lans can see each other and gives
them internet access (no files/SQL through the wireless connection).

I'll try what you suggested.

OK. Please report the result and post any further questions here.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
S

Steve Winograd [MVP]

one other thing:


When you say 172.1.116.0, do you mean the ip of computer A or B?

I mean exactly what I said: 172.1.116.0. This route says to send all
traffic for 172.1.116.x through the local area network connection with
IP address 192.168.2.10.
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top