[Skimmertalk] Moving a trio of RP over to a separate LAN - how to assign static fixed IP to the Red Pitaya
Jeff Blaine
KeepWalking188 at ac0c.com
Fri Mar 10 14:29:33 EST 2023
Ha ha. A quick look at the SD image and I noticed this config file is
no where to be found. So I assume that's part of the compiler options
and is not something referred to at run time.
It will be easy enough to hang a little DHCP app off the PC to clear
this issue though and that's my next option as my understanding of linix
is slightly less than zero. :)
73/jeff/ac0c
alpha-charlie-zero-charlie
www.ac0c.com
On 3/10/2023 11:56 AM, Jeff Blaine wrote:
>
> Thanks for the pointer Bob.
>
> You know far more about this sort of thing than I do but I did notice
> in the notes that if DHCP requests fail, it's got a static IP fall
> back to 192.168.1.100 and I think x.101. I will have to test that out
> but if that's the case, then it looks like all I have to do is to
> patch the dhcpcd.conf lines 41 & 51 on two of the units and that will
> give me static and unique IP on the 3 boxes. And fortunately that
> subnet x.1.x is unused in my network.
>
> Easy enough to try...
>
> 73/jeff/ac0c
> alpha-charlie-zero-charlie
> www.ac0c.com
> On 3/10/2023 1:07 AM, Bob Wilson, N6TV wrote:
>> The method for assigning a fixed IP address to the RP is documented
>> somewhat tersely here, under "Network Configuration".
>>
>> http://pavel-demin.github.io/red-pitaya-notes/alpine/
>>
>> You'll have to get into the weeds and edit /etc/dhcpcd.conf as
>> explained in the referenced link.
>>
>> But, if you're using the RP-16, it requests /two/ IP addresses with a
>> "phoney" Mac address (FF substituted for 2nd to last byte) for the
>> second 8-slice receiver, using this command in start.sh:
>>
>> ip link add mvl0 link eth0 address $address type macvlan mode passthru
>>
>> I don't know if that command works with fixed IP addresses; it
>> probably requires a real DHCP server.
>>
>> In sum, I don't think trying to make all that work is worth the effort.
>>
>> 73,
>> Bob, N6TV
>>
>>
>> On Thu, Mar 9, 2023 at 10:04 PM Jeff Blaine <KeepWalking188 at ac0c.com>
>> wrote:
>>
>> My key question is how to assign a static IP to the RP Skimmer
>> receiver?
>>
>> The background is this...
>>
>> I have 3 RP now and in a busy contest condition, the combined
>> network
>> utilization of the 1G link is pretty significant. Not nearly the
>> point
>> where it swamps the network, but it's easily 30-50% of network
>> capacity
>> in these conditions.
>>
>> The computer I use for the skim server host has 2 LAN cards built
>> into
>> the motherboard. So I'm thinking that I could probably hang the
>> 3 RP
>> and a switch off of the 2nd LAN port which would isolate all that
>> Skimmer chatter to the 2nd LAN port and keep it all from my primary
>> LAN. As all the skimmer apps (as well as HSSDR) run on that
>> computer
>> and no where else in the shack, I won't need to bridge the two
>> Ethernet
>> connections on the motherboard.
>>
>> There is no gateway bound traffic and I don't want to hang a
>> router off
>> this mini-network just to provide DHCP so I'm thinking that I
>> probably
>> could make this work cleanly if I can figure out how to assign the 3
>> individual RP with static fixed IP.
>>
>> Appreciate any advice there. And if any other of you fine
>> fellows may
>> have been there, done that as well.
>>
>> --
>> 73/jeff/ac0c
>> alpha-charlie-zero-charlie
>> www.ac0c.com <http://www.ac0c.com>
>>
>> _______________________________________________
>> Skimmertalk mailing list
>> Skimmertalk at contesting.com
>> http://lists.contesting.com/mailman/listinfo/skimmertalk
>>
>
> _______________________________________________
> Skimmertalk mailing list
> Skimmertalk at contesting.com
> http://lists.contesting.com/mailman/listinfo/skimmertalk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.contesting.com/pipermail/skimmertalk/attachments/20230310/3b758a76/attachment.html>
More information about the Skimmertalk
mailing list