Broadband-Hamnet™ Forum :: Problems & Answers
Welcome Guest   [Register]  [Login]
 Subject :Multiple networks.. 2014-05-01- 12:19:26 
KD6MZC
Member
Joined: 2013-04-11- 14:26:17
Posts: 10
Location

I connect to my Mesh router using an Ethernet cable connected to my laptop.  The laptop connects to my home network and hence to the internet using the WiFi port on my laptop.

I find that I cannot be connected to both networks at the same time.  What I would like to do is for my browser session connected to the Mesh to connect only to the mesh node through the Ethernet cable and for all other network connections to take place using the WiFi port thus allowing me to be connected to both networks at the same time.

How do I make this happen?

IP Logged
 Subject :Re:Multiple networks.. 2014-05-01- 12:32:47 
KG6JEI
Member
Joined: 2013-12-02- 19:52:05
Posts: 516
Location
High level instructions: Add a static route entry for 10.0.0.0/8 to go out via the wired port. You may also need to do dns changes and other network related changes on your pc (see other posts in the forum) to get dns resolution to work, but by IP address should always work.
IP Logged
Note: Most posts submitted from iPhone
 Subject :Re:Multiple networks.. 2014-06-21- 05:05:51 
KO2F
Member
Joined: 2014-05-24- 13:04:16
Posts: 21
Location
Hi Mark, Did you ever get this to work? Bob KO2F
IP Logged
 Subject :Re:Multiple networks.. 2014-06-21- 20:05:41 
KD6MZC
Member
Joined: 2013-04-11- 14:26:17
Posts: 10
Location
Bob I have put this on the back burner for the time being since for me it involves a steep learning curve. Mark KD6MZC
IP Logged
 Subject :Re:Multiple networks.. 2014-06-22- 03:55:08 
K5KTF
Admin
Joined: 2010-01-18- 23:04:04
Posts: 266
Location: 5' from this webserver
  

If you are using Windoze, you can all but forget it trying to figure out which way is which. It gets confused very easily between the RJ45 and the wireless..

http://www.broadband-hamnet.org/documentation/96-using-the-mesh.html gives instruction on tying your mesh and LAN together, where a PC on the LAN can talk to the mesh and vice versa. I know this works, as I am using it right now. But it still wont help the wifi/LAN dilemma. Windoze will still get confused and almost always do it wrong.

KTF



IP Logged
B-) Jim K5KTF EM10bm Cedar Park, TX :star:
 Subject :Re:Multiple networks.. 2014-06-22- 06:21:40 
KO2F
Member
Joined: 2014-05-24- 13:04:16
Posts: 21
Location

Just to be clear, I am talking about physically connecting one Windows 7 computer to a BBHN node on a wired Ethernet interface and to another network (presumably the Internet) using a separate wired or wireless interface.  The objective are:

1.  Don't screw up the existing Internet connection.  It has to work the way it did before we started.

2.  Provide access to the BBHN node and network.  Doing everything by IP address is not acceptable.  If my node can see another node by name, I want to use that name to connect to the remote node.

3.  While others are free to make their own choices, I do not want to create an open bridge between the Internet and the BBHN network.

I accept that the BBHN network owns the 10. class-A address space.  The 10. address space is not used on my LAN.

Given these objectives and constraints, it is possible and I have it working.  I can open my web browser and connect to QRZ, ARRL or eBay just like I always have.  My email client and other network applications work.  I can still open and use a VPN to my corporate office.  I can connect to my BBHN node as localnode.local.mesh:8080 and through it to a remote node using a URL like ko2f-503.local.mesh:8080.

The only think I cannot do is click the KO2F-503 link on my BBHN node.  This is because when you do this the URL provided by the BBHN node is not a FQDN the link is actually just KO2F-503, not KO2F-503.local.mesh.

In the days of old Windows used simple computer names to communicate between networked computers.  Fifteen years or more back they discovered that NetBIOS wasn't going to be enough and they switched over to the use of DNS server and fully qualified domain names (FQDN).  When you use your web browser on a Windows system and enter eBay in the address bar, there is a complex set of actions that take place in the background to discover you really mean eBay.com.  Windows then does all of its network communications using the FQDN.

This is significant because Windows allows you to specify a primary DNS server for each interface on your computer and it also allows you to specify a DNS suffix for each interface.  By configuring your system correctly, everything works as long as you are using FQDNs.

For more information about how Windows actually resolves names, you can refer to the following Microsoft TechNet article:

http://technet.microsoft.com/en-us/library/cc961411.aspx

I spent a lot of time lately figuring this out and writing a How-To for setting up the configuration.  It needs to be sanity checked by someone else before I release/post it.  And frankly, I would like to discuss my findings with the BBHN development team and see if the FQDN issue can be addressed before release.

One final point.  This reply and my comments are specifically focused on connecting a BBHN node to a Windows 7 workstation.  I respect and play in the Linux work as well but this is not the topic being discussed and I have no interest in discussing or debating the merits of using Linux or whit it might be better or worse for some purpose.  This discussion is about accommodating the Billion plus users that still use Windows.

Bob, KO2F

IP Logged
 Subject :Re:Multiple networks.. 2014-06-22- 06:53:59 
KG6JEI
Member
Joined: 2013-12-02- 19:52:05
Posts: 516
Location

Discussion on the FQDN in links had already begun prior to your message though I don't have a ticket number off hand for it.

It will not make it into the next build however as it is already well into feature freeze and testing.

The work around for now would be to fully qualify links when you visit them(note: this also will trigger higher security settings in some web browsers, Internet Exloirer included --- difference in Internet and Intanet zones).  I've seen a couple of scenarios where this is needed, usually because how the device that inspired into the node is configured.

Using multiple interfaces though always brings up "complex" routing (everything is relative on the word complex ). --- you also have on worry about what order Windows queries the DNS servers as if it gets a NXDomain it will stop querying. Obviously .mesh is not a registered GTLD so it will NXDomain to public servers.

IP Logged
Note: Most posts submitted from iPhone
 Subject :Re:Multiple networks.. 2014-06-22- 07:27:18 
KO2F
Member
Joined: 2014-05-24- 13:04:16
Posts: 21
Location
Hi Conrad, Thank you for your timely response. I would be very interested in following the FQDN discussion. If some part of it has occurred on this forum server I haven't found it. If you could point me to the thread, I would appreciate it. I have no delusions about last minute changes in the pending release. As is frequently the case, I wish the issue had surfaced earlier in the process. Frankly, I see a lot of hams balking at the need to dedicate a computer for connecting to a BBHN network. Right now I am trying to create a number of viable scenarios for connecting to and using a BBHN mesh. A dedicated system is certainly on the list, a dual homed system is also on the list. I also want to explore a more LAN connected approach, but the viability of this is unclear right now. Bob, KO2F
IP Logged
 Subject :Re:Multiple networks.. 2014-06-22- 08:47:30 
K5KTF
Admin
Joined: 2010-01-18- 23:04:04
Posts: 266
Location: 5' from this webserver
  

I completely understand the DNS system. I run 2 copies of BIND9 (primary and secondary servers in chroot jails)  myself on CentOS (redhat upstream) with a multitude of domain names registered through my GoDaddy account. Do a rDNS on www.broadband-hamnet.org and you will see it reverses back to an IP that has its main DNS as web.leandercomputing.com, my company :-)

Im not saying having dual-homed NICs WONT work. Whenever I have done it, It did work for a while, but then Windows 'forgets' which route to go, and I would have to restart the networking services/DNS for it to start thinking again, which would last for a while, rinse and repeat.. Been there, done that. Maybe they have fixed it in Win7, I just havent tried it past XP, since I have it working this way already.

If you go into Windows Network TCP/IP settings, Make sure that your mesh node is set as the primary server. Then go into Advanced DNS, and where it says "Append these DNS suffixes (in order)" add  local.mesh . Having it as the primary DNS will not break the ability to surf the internet. If Windows cant find it ont he mesh node, it will fallover to the secondary, being your router or ISP's DNS. In the Advanced section, you can also add tertiary or more DNS servers.

That will then let you click mesh links and surf the mesh without needing to add the rest of the domain all the time manually.

But do not be surprised if it does work for a while, and then at some point you cant surf one or the other and start pulling your hair out what broke..

If you get this working on win7, and it doesnt 'forget' over time, let me know, as I will be very interested if M$ got that fixed.

IP Logged
B-) Jim K5KTF EM10bm Cedar Park, TX :star:
 Subject :Re:Multiple networks.. 2014-06-22- 20:12:12 
KG6JEI
Member
Joined: 2013-12-02- 19:52:05
Posts: 516
Location

Bob,

I'm not sure if it came across forums or came across my desk direct, just that's I know I've seen it.

I'm sure the software will continue to evolve to fit the needs as it becomes more popular and more feedback is given.

IP Logged
Note: Most posts submitted from iPhone
 Subject :Re:Multiple networks.. 2014-06-23- 06:09:37 
K5LXP
Member
Joined: 2014-01-01- 13:06:12
Posts: 41
Location: Albuquerque NM

Just wondering - what drove the decision to use non-FQDN's in BBHN in the first place?

I'm no network expert but I saw this right away when I'd try to click on services links in my own mesh and they'd come up broken.  Hard to imagine the development would get this far before anyone noticed.


Mark K5LXP

Albuquerque, NM

IP Logged
Mark K5LXP
 Subject :Re:Multiple networks.. 2014-06-23- 06:18:57 
KG6JEI
Member
Joined: 2013-12-02- 19:52:05
Posts: 516
Location

I'm not sure why the decision to use short domains vs long domains in links as it predates my joining the project

I can speculate that it would be easier for users to remember http://node/ vs http://node.local.mesh/ but that is speculation only.

In regard to "broken" lInks right out if the box if you are using a single connection hard wired with wifi off it should work as the computer SHOULD get the local.mesh part from the DHCP lease.  I have seen at least 1 case where a corporate controlled PC did not accept the search root from the mesh node, but this is distinctly an issue with how the computers are setup and not with the mesh itself. Switching to FQDN's will reduce the likelyhood of single system issues displaying themselves, but is not suppose to be strictly requeired since all systems are currently in the same namespace.


IP Logged
Note: Most posts submitted from iPhone
 Subject :Re:Multiple networks.. 2014-09-15- 15:10:16 
W5LMM
Member
Joined: 2012-02-13- 18:18:04
Posts: 126
Location: Albuquerque, NM
 
I have a Mac pro with two ethernet ports. I have a mesh node on one, and my regular network on the other. IP range of the regular network is 10.19.x.x Unfortunately, routing is a problem since the developers chose the entire 10.x.x.x net. I am trying to figure out how to use the mesh on one port in harmony with the other. I have tried changing the DNS entries for the individual ports, but that's not working, and the fact that they screwed up by cutting local.mesh out of the FQDN does not help. Any idea how I can get this to work? Thanks
IP Logged
 Subject :Re:Multiple networks.. 2014-09-15- 16:12:40 
KG6JEI
Member
Joined: 2013-12-02- 19:52:05
Posts: 516
Location

The issue of having two networks with overlapping subnets is an issue WAY below the DNS layer. DNS has no relevance on the issue. Also the reason for a full. 10.x segment is that it's designed to be used in isolation (we are using it in isolation) and having. 2^24 address space matches up with fairly unique data set size to avoid IP address collisions.

Ultimately the fact you are running a network that conflcts with the mesh address space mean you will always have to loose some access to the full mesh 

Theoretically (assuming mac lets you, I know the BSD base does) You can set the port with the. 10.19.n.n network to always route 10.19.* out that port and route the rest of the 10.n.n.n address space out to the mesh.  You will loose all access to mesh 10.19.* hosts.  All a matter of route setting commands and priority levels.

I wouldn't recommend a deployment like that for an emcom network due to the fact it would not be fully reachable.

IP Logged
Note: Most posts submitted from iPhone
 Subject :Re:Multiple networks.. 2014-09-15- 17:02:58 
W5LMM
Member
Joined: 2012-02-13- 18:18:04
Posts: 126
Location: Albuquerque, NM
 
Yeah, it's a bummer. There are way too many devices here for me to change the entire subnet from a 10.x network just for the mesh. As far as DNS goes, I would have thought that by putting in the domain and router info for each interface, it would fix that, but for some reason, no.
IP Logged
 Subject :Re:Multiple networks.. 2014-09-15- 17:08:43 
KG6JEI
Member
Joined: 2013-12-02- 19:52:05
Posts: 516
Location

DNS only deals with turning it into an IP address

Routing and interface selection is done at the IP stack level.

All the mesh nodes will handle being assessed by their FQDN.

odds are you have multiple issues going on

1) Default gateway 

2) no route for 10.0.0.0/8 to the mesh gateway -- normally this is done by the fact the mesh gateway node is the default gateway (by default the interface is on a /28 )

3) IP route level priorities not set in correct order

4) possibly not all dns severed  in the resolve.conf file 



IP Logged
Note: Most posts submitted from iPhone
 Subject :Re:Multiple networks.. 2014-09-15- 17:21:38 
W5LMM
Member
Joined: 2012-02-13- 18:18:04
Posts: 126
Location: Albuquerque, NM
 
Thanks Conrad, How can I tell interface 1 to only work with 10.19.x.x and beyond, and interface 2 to work with everything BUT 10.19.x.x? I assume devices assigned through the mesh to the 10.19 would be rare enough for now.
IP Logged
 Subject :Re:Multiple networks.. 2014-09-15- 18:21:30 
KG6JEI
Member
Joined: 2013-12-02- 19:52:05
Posts: 516
Location

Might be better to ask a Mac forum as they will know better than me (I don't use mac)


normally I would just set a priority (on Linux/BSD/windows ) would use the route metric variable to change which route is higher priority but MAC doesn't support that 

http://superuser.com/questions/472454/how-does-mac-osx-prioritize-network-interfaces-when-routing

Looks like you can set higher priority on the first interface and lower on non mesh interface making the main mesh interface the main route.

That's about all I can give you as I don't use or have access to a Mac.

IP Logged
Note: Most posts submitted from iPhone
 Subject :Re:Multiple networks.. 2014-09-18- 07:17:04 
AE6XE
Member
Joined: 2013-11-05- 00:09:51
Posts: 116
Location

Just seeing this thread. Here's what I do, which may meet your needs:

1) laptop plugged into linksys Mesh node LAN port (windows, apple, linux, whatever)

2) linksys WAN port plugged into home network -> Internet

3) You can choose to NOT advertise the linksys to be a gateway out to the mesh in setup to not expose the gateway-internet to other nodes (but on your linksys it still routes from your LAN ports).

End result: Your laptop is fully able to community to all 10.x.x.x addresses freely. Your laptop is able to communicate with the internet freely. No internet traffic is going over RF. No other mesh nodes are aware of and do NOT have routing entries that would enable them to use your gateway to the internet. Joe AE6XE

IP Logged
Last Edited On: 2014-09-18- 07:17:52 By AE6XE for the Reason Corrected formatting
 Subject :Re:Multiple networks.. 2014-09-18- 13:47:58 
W5LMM
Member
Joined: 2012-02-13- 18:18:04
Posts: 126
Location: Albuquerque, NM
 
Excellent idea Joe! I will give it a try!
IP Logged
Page # 


Powered by ccBoard


SPONSORED AD: