LES BSD Thread!

167891012»

Comments

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @Crab said: IPv6 simply refuses to work

    @yoursunny

    Thanked by (1)Crab

    I hope everyone gets the servers they want!

  • I was finally able to get it working with this in rc.local:

    /sbin/ifconfig igb0 inet6 <ipv6_address> prefixlen 64
    /sbin/route -6 add default -ifp igb0 <ipv6_gw_address>

    Prefixlen 64 through rc.conf doesn't work, but for reason doing it manually like this does. Also route addition through rc.conf returns and invalid argument error, but manually works. Perhaps somebody here can explain why, but I'm just happy to have it finally working :lol:

    Thanked by (1)Not_Oles
  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @Crab said: I'm just happy to have it finally working

    Congrats! :star:

    @Crab said:

    Prefixlen 64 through rc.conf doesn't work, but for reason doing it manually like this does.

    Why? :)

    Also route addition through rc.conf returns and invalid argument error, but manually works.

    Why? :)

    I hope everyone gets the servers they want!

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    Seems like NetBSD's Linux emulation can run Geekbench 6!

    Geekbench 6 scores for our nice Linveo 2 vCore Ryzen 9 7950X NetBSD/Linux VPS:

    • Single core: 2493
    • Multi-Core: 4133.

    Check https://browser.geekbench.com/v6/cpu/9018149 if you want to see the full test result.

    Geekbench 6 is a downloaded, pre-compiled Linux ELF binary:

    bash-5.2# file geekbench6
    geekbench6: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, not stripped
    bash-5.2# 
    

    Maybe there is a newer version of Geekbench than 6-1-0? I happened to have 6-1-0 handy.

    What's up with the lines in the terminal output below that say >! [ 612604.8349775] linux_sys_rt_sigaction: setting signal 64 ignored? Maybe ignoring signal 64 is a safety feature in NetBSD Linux emulation? Seems like signal 64 is sometimes used in rootkits? Are people running Geekbench sometimes giving Geekbench root privileges even if they don't run Geekbench as root?

    Thanks @Linveo! <3

    linveo# cd /use/pkgsrc/emulators/suse131_base
    linveo# make && make install
    [ . . . ]
    linveo# modload compat_linux
    linveo# echo $?
    0
    linveo# cd /emul/linux/bin
    linveo# bash
    bash-5.2# bash --version
    GNU bash, version 5.2.37(1)-release (x86_64--netbsd)
    Copyright (C) 2022 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    
    This is free software; you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    bash-5.2# cd /usr/pkgsrc/emulators/suse131_base/
    bash-5.2# ls
    CVS                INSTALL            MESSAGE.NetBSD     distinfo
    DEINSTALL          MESSAGE.DragonFly  Makefile           files
    DESCR              MESSAGE.FreeBSD    PLIST              work
    bash-5.2# ls ~
    .bash_history                   .login                          Geekbench-6.1.0-Linux
    .cshrc                          .profile                        Geekbench-6.1.0-Linux.tar.gz
    .klogin                         .shrc                           motowashere
    .lesshst                        .ssh                            plan9-environment-variables
    bash-5.2# ls ~/Geekbench-6.1.0-Linux
    geekbench-workload.plar geekbench6              geekbench_x86_64
    geekbench.plar          geekbench_avx2
    bash-5.2# ls -l ~/Geekbench-6.1.0-Linux
    total 488224
    -rw-r--r--  1 tom  1000  316570457 Jun  6  2023 geekbench-workload.plar
    -rw-r--r--  1 tom  1000    4295615 Jun  6  2023 geekbench.plar
    -rwxr-xr-x  1 tom  1000    3468192 Jun  6  2023 geekbench6
    -rwxr-xr-x  1 tom  1000   91511824 Jun  6  2023 geekbench_avx2
    -rwxr-xr-x  1 tom  1000   83715032 Jun  6  2023 geekbench_x86_64
    bash-5.2# ~/Geekbench-6.1.0-Linux/geekbench6
    Geekbench 6.1.0 : https://www.geekbench.com/
    
    Geekbench 6 requires an active internet connection and automatically uploads 
    benchmark results to the Geekbench Browser.
    
    Upgrade to Geekbench 6 Pro to enable offline use and unlock other features:
    
      https://store.primatelabs.com/v6
    
    Enter your Geekbench 6 Pro license using the following command line:
    
      /root/Geekbench-6.1.0-Linux/geekbench6 --unlock <email> <key>
    
    System Information
      Operating System              openSUSE Leap 15.5 Alpha
      Kernel                        Linux 6.3.10 x86_64
      Model                         N/A
      Motherboard                   N/A
    
    CPU Information
      Name                          AMD Ryzen 9 7950X
      Topology                      1 Processor, 1 Core, 2 Threads
      Identifier                    AuthenticAMD Family 25 Model 97 Stepping 2
      Base Frequency                4.49 GHz
      L1 Instruction Cache          32.0 KB
      L1 Data Cache                 32.0 KB
      L2 Cache                      1.00 MB
      L3 Cache                      64.0 MB
    
    Memory Information
      Size                          4.00 GB
    
    
    Single-Core
      Running File Compression
      Running Navigation
      Running HTML5 Browser
      Running PDF Renderer
      Running Photo Library
      Running Clang
      Running Text Processing
    [ 612426.8340863] linux_sys_rt_sigaction: setting signal 64 ignored
      Running Asset Compression
      Running Object Detection
      Running Background Blur
      Running Horizon Detection
      Running Object Remover
      Running HDR
      Running Photo Filter
      Running Ray Tracer
      Running Structure from Motion
    
    Multi-Core
      Running File Compression
      Running Navigation
      Running HTML5 Browser
      Running PDF Renderer
      Running Photo Library
      Running Clang
      Running Text Processing
    [ 612604.8349775] linux_sys_rt_sigaction: setting signal 64 ignored
      Running Asset Compression
      Running Object Detection
      Running Background Blur
      Running Horizon Detection
      Running Object Remover
      Running HDR
      Running Photo Filter
      Running Ray Tracer
      Running Structure from Motion
    
    
    Uploading results to the Geekbench Browser. This could take a minute or two 
    depending on the speed of your internet connection.
    
    Upload succeeded. Visit the following link and view your results online:
    
      https://browser.geekbench.com/v6/cpu/9018149
    
    Visit the following link and add this result to your profile:
    
      https://browser.geekbench.com/v6/cpu/9018149/claim?key=903037
    
    bash-5.2# 
    
    Thanked by (2)Crab linveo

    I hope everyone gets the servers they want!

  • @Not_Oles said:

    @Crab said: IPv6 simply refuses to work

    @yoursunny

    Rent our ASN and IPv6 magically starts to work.

    Both BIRD and Pathvector support FreeBSD.

    Thanked by (2)Not_Oles GeekWanderer

    HostBrr aff best VPS; VirmAche aff worst VPS.
    Unable to push-up due to shoulder injury 😣

  • Do we have a list of LES providers who are offering BSD VPS options?

    Thanked by (1)Not_Oles

    VPS providers to check out:

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    @yoursunny said:

    Rent our ASN and IPv6 magically starts to work.

    @yoursunny It's a nice offer to share your ASN, thank you, but maybe you are just trolling. How can I know that you are not trolling?

    I hope everyone gets the servers they want!

  • @Not_Oles my friend you're having way too much fun with your NetBSD!

    Thanked by (1)Not_Oles
  • ZizzyDizzyMCZizzyDizzyMC Hosting Provider

    Wanted to post that I had some very unique router requirements, and ended up installing OPNSense on some hardware I put together and it not only worked out of the box, it pushes 10gbps pixies with ease on hardware sub 60w. Was a bear to configure though.

    Thanked by (1)chitree
  • @ZizzyDizzyMC said:
    Wanted to post that I had some very unique router requirements, and ended up installing OPNSense on some hardware I put together and it not only worked out of the box, it pushes 10gbps pixies with ease on hardware sub 60w. Was a bear to configure though.

    That's the BSD power right there! What kind of hardware configuration you have if I may ask?

    Thanked by (1)Not_Oles
  • ZizzyDizzyMCZizzyDizzyMC Hosting Provider

    @Crab said:

    @ZizzyDizzyMC said:
    Wanted to post that I had some very unique router requirements, and ended up installing OPNSense on some hardware I put together and it not only worked out of the box, it pushes 10gbps pixies with ease on hardware sub 60w. Was a bear to configure though.

    That's the BSD power right there! What kind of hardware configuration you have if I may ask?

    I'm using a box from Riverside Networks that was bricked, I opened it up reflashed the nvram chip and put on stock intel bios for the Xeon D cpu onboard. It has a Xeon D-1553N (8c16t) and 32GB of ram, quad 10g and 8 1g, but only 2 10g and 6 1g ports are usable due to the hardware design of the board using a multiplier that seems to only be supported by Riverside's custom distro stuff.

    Definitely would never recommend Riverside's equipment due to how locked down it is, but used it can be made into something cool if you know your way around hardware.

    Thanked by (3)Not_Oles Crab chitree
  • @Not_Oles said:

    @yoursunny said:

    Rent our ASN and IPv6 magically starts to work.

    @yoursunny It's a nice offer to share your ASN, thank you, but maybe you are just trolling. How can I know that you are not trolling?

    We are the Official Troll so you can never tell.

    When IPv6 is delivered via a BGP session, it is guaranteed to be a routed subnet instead of an on-link subnet.
    Routed subnets have fewer problems than on-link subnets as you don't need to answer Neighbor Solicitations.

    HostBrr aff best VPS; VirmAche aff worst VPS.
    Unable to push-up due to shoulder injury 😣

  • Not_OlesNot_Oles Hosting ProviderContent Writer
    edited November 23

    @yoursunny said:

    We are the Official Troll so you can never tell.

    How is Official Troll status working for you? How will others' "never being able to tell" help you long term?

    What I hope for, for you, instead of Official Troll status, would be to see you holding a wonderful reputation as helpful, friendly, and kind. And also as a fundamental contributor to the larger internet community. Like Rich Stevens: Guru of the Unix gurus. I want to see the US Congress and the President give you a standing ovation on the occasion of their granting you honorary full citizenship. But that's just what I want. You should do what you want.

    When IPv6 is delivered via a BGP session, it is guaranteed to be a routed subnet instead of an on-link subnet.
    Routed subnets have fewer problems than on-link subnets as you don't need to answer Neighbor Solicitations.

    Thanks @yoursunny! Now I remember your ndpresponder which you told me about and which I used previously to get IPv6 working. I appreciate your patience in telling me a second time! <3 Probably only 42 more times will be required! <3

    So, @Crab, it looks like @yoursunny is kindly hinting that your issue with IPv6 and FreeBSD rc.conf not working but configuring rc.local working might be caused by rc.conf expecting but not receiving NDP responses.

    Thanks again, @yoursunny! <3

    Thanked by (1)yoursunny

    I hope everyone gets the servers they want!

  • @Not_Oles said:
    So, @Crab, it looks like @yoursunny is kindly hinting that your issue with IPv6 and FreeBSD rc.conf not working but configuring rc.local working might be caused by rc.conf expecting but not receiving NDP responses.

    Wireshark is your friend.
    Wireshark solves confirms or denies all networking problems.

    Thanked by (2)Not_Oles chitree

    HostBrr aff best VPS; VirmAche aff worst VPS.
    Unable to push-up due to shoulder injury 😣

  • edited November 23

    @Not_Oles said:
    So, @Crab, it looks like @yoursunny is kindly hinting that your issue with IPv6 and FreeBSD rc.conf not working but configuring rc.local working might be caused by rc.conf expecting but not receiving NDP responses.

    After reading through the latest comments, I went back and checked what I actually did to make it work and I realized my initial post about this was incorrect.

    According to Kimsufi, only /128 is assigned to you. This means that you have 'neighbors' very close to you and according to our resident expert, @yoursunny, you have to deal with 'Neighbor Solicitations'.

    The IPv6 configuration for my box is this:

    inet6 2607:5300:1234:1234::1 prefixlen 128

    and I said that adding the same thing with prefix length 64 from rc.conf didn't work but worked when you manually issued the command. Well, I was actually wrong with this statement and what I actually did was created a /64 for the same interface:

    inet6 2607:5300:1234:12ff::1 prefixlen 64

    As you can see the last 1234 is 12FF instead which now means that the neighbors and not anymore close by and if I interpret @yoursunny's comment 'Routed subnets have fewer problems' properly, that's exactly what is happening here.

    Once /64 setting was added, creating a route for it didn't throw an error like it did when I just had /128:

    /sbin/route -6 add default -ifp igb0 2607:5300:1234:12ff:ff:ff:ff:ff

    After this everything started to work!

    When I was trying to get this work initially, I was asking Co-Pilot some advice for different possible configuration options. I asked it now why this type of config is needed, and this is what it responded:


    In FreeBSD, when you assign an IPv6 address with a prefix length of /128 (like 2607:5300:1234:1234::1/128),
    it means that this address is a single, specific address with no additional addresses in the same subnet.
    This can sometimes cause issues with routing and connectivity because there's no room for a subnet prefix.

    By adding a /64 address range (like 2607:5300:1234:12ff::1/64), you're defining a larger subnet that includes
    your specific address. This helps with routing and ensures that your interface can communicate properly
    within the network.

    IPv6 addresses are divided into two parts: the network prefix and the interface identifier. When you use
    a /128 prefix, you're saying that all 128 bits of the address are used to identify a single device. This
    leaves no bits to define a network range or to address other devices within the same subnet. Essentially,
    it’s like having a street address without naming the street—it’s too specific to form a neighborhood.

    Here's a quick analogy:

    /128 Prefix: This is like having a precise address like "123 Main St, Apartment 456." This address points
    to a single apartment in a building, with no other addresses.

    /64 Prefix: This is more like "Main St." This allows for many houses or buildings to be part of "Main St,"
    defining a range of addresses within that street.

    In networking terms, having a /64 prefix is standard practice for IPv6 because it allows for a vast number
    of individual device addresses (2^64 addresses) within the same subnet. This facilitates proper routing
    and communication between devices on the same network.

    Thus, assigning a /64 address to your interface helps the network to understand that it’s part of a larger
    subnet, making routing and communication smoother.


    TL;DR

    My last post was incorrect. You need to set up /128 AND /64 AND route on /64 to make it work:

    /sbin/ifconfig igb0 inet6 2607:5300:1234:1234::1 prefixlen 128
    /sbin/ifconfig igb0 inet6 2607:5300:1234:12ff::1 prefixlen 64
    /sbin/route -6 add default -ifp igb0 2607:5300:1234:12ff:ff:ff:ff:ff

    Thanked by (2)yoursunny AlwaysSkint
  • edited November 23

    I've not delved into IPv6 before (no need) so above was interesting. Analogous to IPv4 /32 & /24 methinks.
    (Though I still don't get the convention of calling them a prefix, when they're often expressed as a suffix.)

    Thanked by (2)yoursunny Not_Oles

    It wisnae me! A big boy done it and ran away.
    NVMe2G for life! until death (the end is nigh)

  • Not_OlesNot_Oles Hosting ProviderContent Writer

    Hi @Crab!

    Wow! Thanks!

    I have to confess not understanding most of what you just posted. From the last part,

    @Crab said: You need to set up /128 AND /64 AND route on /64 to make it work:

    /sbin/ifconfig igb0 inet6 2607:5300:1234:1234::1 prefixlen 128
    /sbin/ifconfig igb0 inet6 2607:5300:1234:12ff::1 prefixlen 64
    /sbin/route -6 add default -ifp igb0 2607:5300:1234:12ff:ff:ff:ff:ff

    it looks like the server gets two IPv6 addresses, one from each invocation of ifconfig. The second line gives a single address (a /128 from a /64). The first line gives another single /128 address which, with respect to the /64 from the second line, is out-of-band because 1234:: is not part of 12ff::.

    I guess that the router at 12ff:ff:ff:ff:ff might be configured to forward from and to send to 1234::1. Maybe the router neither accepts from nor sends to 12ff::1. Or maybe the 12ff::1 is used by your server both when packets from 1234::1 are sent to and when packets are received from 12ff:ff:ff:ff:ff.

    I am not sure whether anything I am saying here is correct. It amazes me how complex the subject of networking seems.

    At the least, it is delightful that you got IPv6 working with FreeBSD on your server! :) Congrats! :star:

    Thanked by (1)Crab

    I hope everyone gets the servers they want!

  • @Crab said:
    My last post was incorrect. You need to set up /128 AND /64 AND route on /64 to make it work:

    /sbin/ifconfig igb0 inet6 2607:5300:1234:1234::1 prefixlen 128
    /sbin/ifconfig igb0 inet6 2607:5300:1234:12ff::1 prefixlen 64
    /sbin/route -6 add default -ifp igb0 2607:5300:1234:12ff:ff:ff:ff:ff

    Are you assigned both 1234::1 and 12ff::1? If not, what happens if other VMs on that node use the same 12ff::1? Shouldn't that be at least an address that is guaranteed to be unique?

Sign In or Register to comment.