Insert BS here A place to discuss anything you want

How (and why) to Ramble on your goat sideways

Thread Tools
 
Search this Thread
 
Old 04-29-2019, 09:37 PM
  #30381  
Elite Member
iTrader: (7)
 
mgeoffriau's Avatar
 
Join Date: Jul 2009
Location: Jackson, MS
Posts: 7,388
Total Cats: 474
Default

Late to this, but codrus has got the right idea. At a very minimum you need a decent router in front of the machine that can do WAN failover.

Here's a nice little guide for using a Ubiquiti router like this: https://xenappblog.com/2016/cheapest...-for-failover/

Even cheaper (if you have some hardware to host it), you can probably roll your own pfSense or OPNsense box and do WAN failover. I run OPNsense on these great little HP T620 Plus thin clients that you can find on eBay for $80 or so (plus the cost of an Intel NIC), but if size and power consumption aren't big concerns, you could easily run it on a $40 SFF PC.

https://www.cyberciti.biz/faq/howto-...fsense-router/
https://wiki.opnsense.org/manual/multiwan.html
mgeoffriau is offline  
Old 05-03-2019, 12:44 PM
  #30382  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,031
Total Cats: 6,596
Default

This actually turned out to be easy. I just plugged the second network into the PC, and it worked.

I have no idea why it worked, but nothing scary happened, and the routing table looks fine. I can make outbound connections from the machine, and I can VNC into it via ether address.

So that's nice.
Joe Perez is offline  
Old 05-03-2019, 02:04 PM
  #30383  
Senior Member
 
gooflophaze's Avatar
 
Join Date: May 2007
Location: Atlanta
Posts: 997
Total Cats: 156
Default

Aside from service binds, I don't think any of us doubted it would work with multiple nics - but it's when your primary gateway stops passing traffic ****'ll hit the fan.
gooflophaze is offline  
Old 05-03-2019, 02:24 PM
  #30384  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,031
Total Cats: 6,596
Default

Originally Posted by gooflophaze
Aside from service binds, I don't think any of us doubted it would work with multiple nics - but it's when your primary gateway stops passing traffic ****'ll hit the fan.
Why?

I've simulated outages on both networks by putting small ethernet switches in between the PC and both networks. This was I can kill the network while keeping the link on the PC up. It worked fine with either link gone.
Joe Perez is offline  
Old 05-03-2019, 08:58 PM
  #30385  
Elite Member
iTrader: (7)
 
mgeoffriau's Avatar
 
Join Date: Jul 2009
Location: Jackson, MS
Posts: 7,388
Total Cats: 474
Default

Originally Posted by Joe Perez
Why?

I've simulated outages on both networks by putting small ethernet switches in between the PC and both networks. This was I can kill the network while keeping the link on the PC up. It worked fine with either link gone.
Hmm, with a little more digging I found this in the Win 10 Creator's Update.

https://techcommunity.microsoft.com/...ws/ba-p/339676

The info in the "Multi-homing improvements" is mostly concerning WAN failover in a WLAN to cellular failover scenario, but I'm wondering if this feature set would include logic such that failed connections to public destinations might trigger a failover to the next adapter. It at least hints at some capability there. Probably something going on there with comparing routing metrics and selecting the best adapter.
mgeoffriau is offline  
Old 05-03-2019, 11:31 PM
  #30386  
Senior Member
 
gooflophaze's Avatar
 
Join Date: May 2007
Location: Atlanta
Posts: 997
Total Cats: 156
Default

You're connecting to the mach from the same subnet, right? Probably won't matter then.
gooflophaze is offline  
Old 05-03-2019, 11:36 PM
  #30387  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,031
Total Cats: 6,596
Default

Originally Posted by gooflophaze
You're connecting to the mach from the same subnet, right?
Negative.

Two different VLANs, two different gateways, two different physical paths.

Path redundancy is the real key here. Router / gateway / DNS / etc services are already handled in a redundant fashion at the main site. This is a remote site (specifically, a room on the 98th floor of Sears Tower), which history has shown to experience link interruptions about once a year. That's unacceptable (from an FCC compliance standpoint), so the goal is to have two separate physical paths to communicate with critical machines at the site.

I'm going to let this one machine (the site controller) simmer for a week or two. If nothing weird happens, I'll dual-NIC the transmitter itself.

Thus far, this seems way too simple, given the huge amount of forum content I've come across which proposes extremely complicated solutions to a problem which, when I first learned the basics of TCP/IP, seemed insurmountable.
Joe Perez is offline  
Old 05-04-2019, 12:02 AM
  #30388  
Senior Member
 
gooflophaze's Avatar
 
Join Date: May 2007
Location: Atlanta
Posts: 997
Total Cats: 156
Default

So - here's my concern - charlie don't surf, windows don't failover. It looks like for windows7 they "improved" a dead gateway detection (DGD) algorithm that works as a sort of failover - if it can't communicate with the gateway, it fails over to the next one that's prioritized by link speed(?) and device number. But I fear that in your failure mode - your gateway will be alive but your traffic will timeout - your experiment earlier, if I understand it properly - would hit DGD as designed. But an actual outage would just result in timeouts being returned from the gateway, so not triggering DGD.

Keep in mind a lot of us are approaching this problem from a 5(or 6) 9's site reliability perspective - and that if this box needs to be up, the entire internet needs to be able to connect to it. There's also questions of route table cache and expiry and how windows will deal with it. Windows will still try and use interface1 if DGD isn't triggered - so if it has other data it's trying to send, it's going to send them to a dead pipe.

But if it's connecting through VLAN's - relying on straight ARP it's not needing to route through the gateway if your querying machine is close enough.

Last edited by gooflophaze; 05-04-2019 at 12:16 AM.
gooflophaze is offline  
Old 05-04-2019, 09:12 AM
  #30389  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,031
Total Cats: 6,596
Default

Originally Posted by gooflophaze
So - here's my concern - charlie don't surf, windows don't failover. It looks like for windows7 they "improved" a dead gateway detection (DGD) algorithm that works as a sort of failover - if it can't communicate with the gateway, it fails over to the next one that's prioritized by link speed(?) and device number. But I fear that in your failure mode - your gateway will be alive but your traffic will timeout - your experiment earlier, if I understand it properly - would hit DGD as designed.
That's an interesting point. And I will admit that I don't actually know if the VLAN145 gateway is in this building or not. For the 147 (the one extended over the microwave radio) I know it's not. But for the 145, which is the primary, you're probably correct in that it's in the local Juniper SRX550. And I'm not taking that down for a simulation.

I might move to Plan C. Since I can technically control the transmitter from two different PCs (albeit in a limited capacity on one of them), I might connect that second machine only to 147.
Joe Perez is offline  
Old 05-04-2019, 12:37 PM
  #30390  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,031
Total Cats: 6,596
Default

Wait a sec...

I don't care about outbound connections from the PC in question. I only care that I can VNC into it remotely.

Let's go back to the scenario in which it has two network connections, with VLAN 145 (fiber) being the primary, and 147 (radio) being the secondary. The 145 router is local to the site, the 147 router is five miles away in another building.

Assume that the fiber connection fails. Ok, so DGD won't go into effect (since the local Juniper SRX550 router is still apparently providing gateway service at 10.180.145.1), but why does that matter? If I initiate an inbound VNC connection on VLAN 147, won't all communication for that session flow over the 147 link?
Joe Perez is offline  
Old 05-04-2019, 02:07 PM
  #30391  
Senior Member
 
gooflophaze's Avatar
 
Join Date: May 2007
Location: Atlanta
Posts: 997
Total Cats: 156
Default

That's the crux of the question - if you're connecting to it from a local net, it won't hit the gateway. You might not care about outbound connections - but are you sure you can authenticate without one?
gooflophaze is offline  
Old 05-06-2019, 06:14 PM
  #30392  
Senior Member
iTrader: (5)
 
chiefmg's Avatar
 
Join Date: Dec 2010
Posts: 1,473
Total Cats: 1,113
Default

If you need a laugh, read the reviews on this:

Amazon Amazon

I am not responsible for any lunatic who uses these in an inappropriate manner.
chiefmg is offline  
Old 05-07-2019, 01:09 PM
  #30393  
Senior Member
iTrader: (1)
 
dleavitt's Avatar
 
Join Date: May 2015
Location: Salem, OR
Posts: 757
Total Cats: 223
Default

Been an interesting week already at work. Wolters Kluwer seems to have suffered some manor of major catastrophe, so we haven't been able to use most of the software or access any client documents or contact information because everything is cloud-based. This outage has apparently impacted pretty much everything they offer/host, including educational resources. If memory serves, they are the #1 software provider for our industry (Public Accounting) so this is a HUGE disruption. Millions of dollars in lost productivity. Still have some work I can do using locally hosted software, but much of my office is on hold. Fun times.
dleavitt is offline  
Old 05-08-2019, 05:11 PM
  #30394  
Elite Member
iTrader: (5)
 
Erat's Avatar
 
Join Date: Oct 2011
Location: Detroit (the part with no rules or laws)
Posts: 5,677
Total Cats: 800
Default


Did anybody end up getting their cheap laptop?
Erat is offline  
Old 05-08-2019, 08:12 PM
  #30395  
Retired Mech Design Engr
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 857
Default

My friend and I received packages from Estonia today. I bit of junk. I think that is what we will get. Additionally, BoA voluntarily initiated a card change last week due to suspicious accounts having my number.
DNMakinson is offline  
Old 05-08-2019, 08:13 PM
  #30396  
Elite Member
iTrader: (5)
 
Erat's Avatar
 
Join Date: Oct 2011
Location: Detroit (the part with no rules or laws)
Posts: 5,677
Total Cats: 800
Default

Originally Posted by DNMakinson
My friend and I received packages from Estonia today. I bit of junk. I think that is what we will get. Additionally, BoA voluntarily initiated a card change last week due to suspicious accounts having my number.
That's good to hear, though i'm sorry about the trouble.

BoA has had me sorted out a few times. They have taken care of me pretty well for the last 15ish years.
Erat is offline  
Old 05-08-2019, 08:24 PM
  #30397  
Elite Member
iTrader: (8)
 
bahurd's Avatar
 
Join Date: Apr 2013
Posts: 2,381
Total Cats: 314
Default

Originally Posted by Erat
Did anybody end up getting their cheap laptop?
I haven’t but then there’s no charge on my account either although I have an email with shipment but no tracking info. If scammers they sure suck at it...
bahurd is offline  
Old 05-08-2019, 08:49 PM
  #30398  
Retired Mech Design Engr
iTrader: (3)
 
DNMakinson's Avatar
 
Join Date: Jan 2013
Location: Seneca, SC
Posts: 5,009
Total Cats: 857
Default

Originally Posted by bahurd
I haven’t but then there’s no charge on my account either although I have an email with shipment but no tracking info. If scammers they sure suck at it...
Charge came in under "Fancy Beauty LLC" to my account.
DNMakinson is offline  
Old 05-09-2019, 07:56 AM
  #30399  
Elite Member
iTrader: (8)
 
bahurd's Avatar
 
Join Date: Apr 2013
Posts: 2,381
Total Cats: 314
Default

Originally Posted by DNMakinson
Charge came in under "Fancy Beauty LLC" to my account.
Ahhh there it is. Had to go back into a prior billing cycle but yep. Oh well just initiated the Amex dispute and the credit was applied.

Thanks!

Last edited by bahurd; 05-09-2019 at 08:11 AM.
bahurd is offline  
Old 05-22-2019, 01:13 AM
  #30400  
Elite Member
iTrader: (6)
 
kenzo42's Avatar
 
Join Date: Sep 2007
Location: CA
Posts: 2,016
Total Cats: 13
Default

Delete

Last edited by kenzo42; 05-22-2019 at 02:27 AM.
kenzo42 is offline  


Quick Reply: How (and why) to Ramble on your goat sideways



All times are GMT -4. The time now is 01:58 AM.