networking

  1. I

    How do I use a static IP address with wireless networking?

    Dynamic IP for wireless works: in /etc/wpa_supplicant.conf network={ ssid="Name with spaces" psk="freebsdmall" } and in /etc/rc.conf wlans_ath0="wlan0" ifconfig_wlan0="WPA DHCP" https://docs.freebsd.org/en/books/handbook/advanced-networking/ I tried to set a static IP to my wireless...
  2. tenq

    Solved 13.1-RELEASE arm64 rpi3b+ wireguard after upgrade

    After upgrade to 13.1-RELEASE from 13.0-RELEASE-p11 at raspberry pi 3b+ wireguard kernel module or routing after wg interface is coming up doing strange thing. it defines route to wireguard server's ip address via ip address bound to wg interface, that is really strange. Removing wireguard...
  3. Rudy

    Networking much better in 13.1 (upgraded from 12.2)

    Our FreeBSD router was getting taxed at 15Gbps -- started to drop packets, customer complaints, etc. I upgrade to 13.1, turned on hyperthreading, and upped the hw.cxgbe queues to 16 from 8 and the box is working fine. I'm not sure if this is solely due to the hyperthreading of if the reworked...
  4. D

    Vlan configuration for Bhyve

    Hi there, currently I have a FreeBSD 12.3 Server for a school project. The goal of this project is to create a website from which you can create virtual machines. This works atm. The other goal of the project is to create bhyve switches with vlan id's so that the machines with the same vlan id...
  5. codetrotter

    IPv6 routing for VNET jails on FreeBSD 13-RELEASE

    Hi, I have a IPv6 address block of prefix size 64. On my host computer running FreeBSD 13-RELEASE I have three jails: jls JID IP Address Hostname Path 1 svcfw /usr/jail/svcfw 2 www...
  6. del

    Solved Building a networking lab with FreeBSD 13 in VirtualBox; virtual LAN unable to ping 8.8.8.8

    I'm trying to build a multi-router setup in VirtualBox using FreeBSD machines as the routers. I have two VMs, router-1 and router-2, which are on the same subnet and are able to ping one another. router-1 has a bridge interface with the host machine and is able to ping the wider internet. It...
  7. F

    Configure different specific default routes, nameserver, searchdomains etc. for different networks, bound to different nics

    Hello, sorry, if my question ist stupid. I want to configure a freebsd-server, that has different nic's, bound to different networks. For example em0 - 10.0.1.0 / 24 - defaultrouter 10.0.1.1 - nameserver 8.8.8.8, a.a.a.a, ... - search domain lan.home.arpa em1 - 10.1.1.0 / 24 - defaultrouter...
  8. R

    Enable IPv6 router advertisements

    Hi, I have enabled router advertisements on my FreeBSD 13.0 amd64 machine, but I am not getting a global IPv6 address. My rc.conf looks like the following: ifconfig_DEFAULT="SYNCDHCP mtu 1460 accept_rtadv" ipv6_activate_all_interfaces="YES" I am receiving router advertisements on a Linux...
  9. S

    PF pf rule not being used

    Howdy, I recently started using pf (FreeBSD 13.0) as my home FW with very basic rules: lan="bge0" wan="bge1" set loginterface $wan set optimization normal set block-policy drop set skip on lo0 scrub on $wan all nat on $wan from $lan:network to any -> ($wan) block drop log all pass in on $lan...
  10. I

    jails How to configure routing for jail?

    I'm having some problem setting routing inside a jail. I added to rc.conf (inside jail) and it did not work. I then tried "route add 172.16.0.1" and it responded "route: writing to routing socket: Operation not permitted" I think it is not possible to set routing from inside. So, how do I...
  11. I

    How to configure FreeBSD PC to Mac using an Ethernet crossover cable to access the Internet?

    I have: a router - with an internal IP address 192.168.1.1 and is connected to the Internet. a Mac - has the IP address of 192.168.1.10. Internet works, of course. a PC with FreeBSD 13 installed. I have connected the FreeBSD PC to the Mac using an Ethernet crossover cable. I have assigned...
  12. I

    Configuring wireless network card

    I'm trying to configure my wireless network card and it is identified as none2@pci0:0:21:3: vendor = 'Intel Corporation' device = 'Wi-Fi 6 AX201' The "none" means there is no driver? I think found this confirming that it is not yet supported...
  13. K

    Solved Multiple connections to same subnet for different functions

    I am trying out an idea I had for my FreeBSD-12.2-based router, which has six GbE ports (em0 to em5), to tweak how things work on the network. For the last year or two, I had things setup the traditional way where em0 was the WAN and em1 was the LAN, and a firewall governed what moved between...
  14. B

    bhyve No network connection from guest with vm-bhyve

    I am having some difficulty getting vm-bhyve working. Actually, I am having difficulty getting bhyve to work at all, but I opted to try vm-bhyve because it seems easier to use and manage compared to the native tools. I am trying to run a Linux guest (I have tried Ubuntu and Fedora) using...
  15. scott_sch

    PF Fundamentals of packet filtering with pf

    The purpose of this post is to try and clarify a few basic ideas in packet filtering that I'm having trouble reducing to firm principles in practice. 0. PF lives in the kernel and handles all packets as they pass between NI(C)'s and daemons 1. Packets are identified by the NIC of origin and...
  16. D

    Solved Creating Separate Virtual Interface For Jail

    Hello, I have set up an jail with ezjail while following this handbook tutorial. After setting it up, my physical interface that host uses has two IPs, one for jail one for host. For some programs listening on all IPs in host's interface this is not ideal. Can I add a virtual interface with its...
  17. I

    DHCP gets IP address wrong

    I just installed FreeBSD 12.2. I'm trying to set up internet access with an Intel 8260 Dual Band AC wifi adapter. I'm using an Xfinity Technicolor XB6 router from Comcast which has an IP address of 10.0.0.1 and when using DHCP it assigns IP addresses in the form of 10.0.0.x. For some reason the...
  18. S

    PPPoE from inside bhyve guest through VLAN

    My scenario: I'm building a home firewall/router on an Intel NUC. Host OS if FreeBSD 12.2 and I installed pfsense in a bhyve guest. I want to build a "router on a stick". I have a managed switch and plugged in my DSL modem into a vlan port. The NUC is connected to a trunk port. I created 2...
  19. R

    Why I can't use a Load Balancer configured in Apache ?

    Hello everyone, as you can see in the title, I'm having some trouble trying to make a load balancer on one of my FreeBSD servers. I don't know why but the configuration that I'm giving to apache looks fine, because it's giving me a "syntax ok" when I restart the service, but asks me if the...
  20. poorandunlucky

    How do you connect to a jailed server?

    This is probably really stupid, and I'm in no way a FreeBSD newb, but I'm new to jails, I used to run everything on the main OS, but now I'm trying to setup things that are going to be open to the Internet (like NextCloud, a VPN, DNS) so I want them jailed... I've setup my jails no problem...
Back
Top