You are here

WAN Routing Between 192.168.1.x and Mesh LAN

14 posts / 0 new
Last post
K1baa
WAN Routing Between 192.168.1.x and Mesh LAN
My non mesh LAN and WAN (Internet) is on a 192.168.1.x network. My mesh LAN is on a 10.x.x.x network. I want to get to the 10.x.x.x network from my workstation on my 192.168.1.x and vice versa. 

How do I get a static route in my mesh node that points back to an interface on the 10.x.x.x network as the next hop to the 192.168.1.x network?

Thanks

Bret K1BAA

 
KG6JEI
If your home router supports
If your home router supports it you could configure it to have an interface on the mesh node 10.0.0.0/8 range and have it perform NAT for your local network and route 10.0.0.0/8 and 172.16.0.0/12 via the mesh node.

Alternatively the other method more likely to be used is that your mesh node needs to be in NAT mode, you then need to configure each computer  or your existing home router to to route all 10.0.0.0/8 and 172.16.0.0/12 via the mesh nodes NAT ip. You will also likely need to disable DHCP on the mesh node.

This is discussed in other forum threads.

Both are classified as an "advanced deployment" where you will be expected to know about routing and understand what is involved.  With that in mind the above should pretty much give you what you need to know what to happen.
 
w6abj
i have scoured the forums and
i have scoured the forums and haven't found a post, most like I am blind.. Could you post a link..
AE6XE
AE6XE's picture
http://www.aredn.org/comment
wa2ise
wa2ise's picture
I think (!) I have a similar

I think (!) I have a similar question, though I'm still trying to figure out the correct terminology so I hopefully get understood what I want to do....

My current setup is a PC (computer A) that I use mostly for internet surfing, email and so on.  But I sometimes want to visit sites on the AREDN mesh network, which look to be all on TCPIP's of 10.x.x.x   What I did was crude: I built a 4 pole double throw switch that switches both of the ethernet cable's active twisted pairs, so when I want to access something on the AREDN mesh, I physically switch this switch to connect my computer to my AREDN node's LAN (which has tunnels and mesh connections on it), and the node DHCPs my PC to have an address of 10.53.122.234   Normally when this switch is set to connect to the internet house router, its DHCP tells my PC to become 192.168.1.101  (my PC looks to be smart enough to obtain a new address automatically when I throw this switch)  There's another PC in the house, which doesn't need to access the AREDN mesh net, 192,168,1,103   

What I think I want to have happen, is to replace the 4PDT switch with a 2nd router that can sort the packets so anything destined for 10.x.x.x is set out ethernet jack 3, and anything else destined to the rest of the internet gets sent out ethenet jack 2.  My PC would be connected to ethernet jack 1.  Something else I think would be needed is for this 2nd router to fool the AREDN node into thinking my PC accepted a DCHP of 10.53.122.234  when in fact it has an IP of 192.168.1.101 and translate packets marked  10.53.122.234 to 192.168.1.101  (and visa versa for the reply directions).  

Near as I can figure out, "port forwarding" is not what I need here.  "NAT" looks to be more what I'd need, though I haven't figured out how to tell the 2nd router to send every 10.x.x.x to ethernet jack 3 and send replies from those 10.x.x.x sites to my PC at ethernet jack 1.  Regular internet packets should go by default to ethernet jack 1, and those replies back to my PC at ethernet jack 1. 

I have an extra Linksys router flashed as an OpenWRT router, and another flashed as a DDwrt router.  I think an ordinary router may not be fancy enough to make what I want happen. 

I'm sure the above can't be that strange, and can be done, but I can't really google it because I don't know the terms well enough to get understood and get sensible answers...  smiley

One more thing, I need to be able to access files and such on computer B from computer A.  Putting the AREDN node between the house router and computer A doesn't allow this.

Image Attachments: 
AE6XE
AE6XE's picture
The common approach is to
The common approach is to work from a computer on the 10.x.x.x LAN of a mesh node.   This same mesh node is also attached to your home network (and internet) on its WAN port.    This setup means that you can fully browse to your home-network/internet and the mesh all at the same time.   It also means that no RF part 97 rules were harmed in the making of this movie.    All internet traffic is on cat5 cables.  This works independently if the mesh node advertises the gateway or not.    I do this architecture and for example print to a printer on my home network, read https gmail,  buy more mesh nodes on amazon :) , while watching HD video over the mesh.

Joe AE6XE
K5DLQ
K5DLQ's picture
My setup is exactly like Joe
My setup is exactly like Joe's.  Works like a champ.
K1baa
Any chance of either of you

Any chance of either of you guys drawing a picture or pointing me to one? I think that's all I need to solidify the concept in my head.

Thanks

Bret
K1BAA
 

K5DLQ
K5DLQ's picture
Sure thing...
Sure thing...
Image Attachments: 
K6AH
K6AH's picture
AirRouter
And I combine the AREDN node and VLAN Switch in Darryl's diagram by using an AirRouter with AREDN firmware loaded.

Andre, K6AH
wa2ise
wa2ise's picture
One thing I need to be able

One thing I need to be able to do is access files on what would be your "home PC" from what would be your "PC/laptop"  When I tried having the AREDN node between the PC/laptop and the home router I could not access files on the "home PC".  Would disabling the AREDN's internet gateway allow this (how do I do that?)?  The "PC/laptop" and "Home PC" are on teh same "workgroup" as Win 7 calls it. 

KG6JEI
Routers act as broadcast
Routers act as broadcast domain blocking devices (this is why my home workgroup doesn't show up on your computers)

Use \\ip_of_home_pc and you should be able to browse the file store.
AB4YY
Here's another way

See diagram below.  I can also use my laptop from the other side of the house over WiFi and have access to the mesh as well as all internet stuff.  Even the standard airGateway has pretty good WiFi coverage.  I just make sure I connect the laptop WiFI to the airGateway and not the normal house WiFi.
The desktop uses the 'optional' wired ethernet as a fail-safe to keep internet available on the PC even if the node is turned off.
- Mike ab4yy

Image Attachments: 
wa2ise
wa2ise's picture
Something else that I tried

Something else that I tried and failed was to use "static routing" on a Linksys router.  Connected my computer to one of its LAN ports, another of its LAN ports going to the house router (192.168.1.1) and then the Internet, and connected its WAN ("Internet") to my Airrouter's LAN port.
In the above router I set, under "Static Routing" Destination IP Address to 10.0.0.0 (As I (mis)understand it, 0's are like wildcards, stand ins for a range of other numbers, like saying 10.x.x.x ).  Subnet Mask to 255.0.0.0  Gateway: to 10.0.24.249 which is the LAN address on my Airrouter, hop count to 5, and interface to WAN ("Internet").  No dice.  Looks like this static routing isn't what I thought it might be, or maybe what I think are wildcards are not? 
 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer