• 1 Post
  • 67 Comments
Joined 3 years ago
cake
Cake day: July 5th, 2023

help-circle




  • In terms of why, all I really want is for the machine to have the same, consistent ip address. Since it’s one of my networks dns and dhcp servers, I want it always available with the same ip. It’s hard-wired but has wifi, so in theory if the eth connection or switch it’s attached to dies, the wifi connection can kick in and it can still serve the network if it still has the same ip address, otherwise the wifi connection is no benefit.

    Since I didn’t know I could assign both connections the same ip address and still be functional, I originally setup a script that monitors network status and disables the wifi if eth is active and then re-enables the wifi if the eth connection drops. This works well on my two servers with one exception… my dvr scheduling/recording services don’t work properly when the wifi adapter is disabled. Not sure why but that’s how I stumbled on this setup with both active with the same ip and realized everything just seemed to work.¯\_(ツ)_/¯


  • That’s the thing about UDP packets… receipt isn’t acknowledged as part of the protocol. It’s send and forget. I’m not sure a UDP packet sent to my server would get lost but I’m not 100% certain there couldn’t be situations where the packet is received by the server on both interfaces, essentially duplicated. It’s been almost 30 years since I wrote programs that utilized UDP for communicating. I’m definitely a little rusty. 😄




  • You will need to make sure the IP you assign the adapter isn’t an IP the router will try to assign to another machine or device. The dhcp services don’t assign this IP address and it’s manually assigned in the adapter config so I guess the router doesn’t know or care.

    I am kind of curious how traffic destined for this address doesn’t have issues though, like being received twice. Maybe I haven’t tested enough from a mix of devices on the network.



  • Thanks for the reply. They seem to both be active. I don’t have iftop but tcpdump shows traffic on both, though much less on the wifi connection.

    ip route shows:

    default via 192.168.1.1 dev enp1s0 proto dhcp metric 100 
    default via 192.168.1.1 dev wlp2s0 proto dhcp metric 600 
    169.254.0.0/16 dev enp1s0 scope link metric 1000 
    192.168.1.0/24 dev enp1s0 proto kernel scope link src 192.168.1.4 metric 100 
    192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.4 metric 600
    

    I really didn’t think I’d be allowed to statically assign the same IP address to both interfaces, and surprisingly it seems to be working ok. I’m just wondering what I don’t know that’s going to bite me :)






  • Most people can’t repair a car themselves, especially true if it’s something more complicated than brake pads and rotors. If you adjust your numbers to reflect what it would have cost if you had to pay someone for repairs I’m guessing it might seem a little crazy to invest that much in such an old car. If one were in a wreck and the car was totalled, insurance pay out wouldn’t get close to the amount invested.

    Me… I’m still driving a 20 yr old car. Low mileage since I’ve worked from home most the time I’ve owned it, but it’s definitely showing its age. I can afford a new one but why would I want to right now? It still runs well and I have no desire to drop $50k on something to replace it. Happy now to keep my money saved.


  • I hate running but I’m good at it. In high school our PE teacher, also the track coach, made us run a mile and timed us. At the end of the semester we’d have to do it again to see how we improved. I was the first done by a pretty good margin and he tried to get me to join our track team. I explained the only reason I ran fast was to get the experience over with as quickly as possible.


  • Wouldn’t a microwave causing significant interference also be a sign of a very faulty, potentially unsafe microwave? If it’s bathing your environment with microwaves, you’re cooking to some degree. I know a 2.4 GHz router is using microwaves too, but restricted to much lower power. I’d be very suspicious of an oven that’s leaking enough to interfere with my signals since you don’t know how strong the leaking microwaves are and they may in fact be harmful. I imagine someone standing in front of their microwave watching it operate, cooking their eyeballs as they wait.