networking

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. B

    ifconfig: SIOCIFCREATE2: Invalid argument

    I am trying to create a network alias for a jail I want to install NextCloud in, but when I run ifconfig nxt0 create, I get the following error: ifconfig: SIOCIFCREATE2: Invalid argument I read on this forum post that there may be something wrong with my kernel modules but unfortunately there...
  17. lonniemason

    Solved Bhyve assign public /29 subnet addresses to VM's

    Hello everyone So I have a dedicated server with Hetzner running FreeBSD 12.1-RELEASE-p3 currently not running PF firewall. I have a /29 block of addresses assigned to me and I am trying to use them for Bhyve VM's but I am unsure how to go about it. I have read the following form threads...
  18. dinsdale

    Error Behind Keyboard causing No Route to Host when pinging WAN/Internet

    Hi, I've had FreeBSD (currently 12) running on an older AMD server for several years now. A few weeks back my Wifi router (and central router) died so I replaced it. The new router defaulted IP Addresses to 192.168.50.x, whereas I was running 192.168.1.x previously (both have cidr /24). Because...
  19. S

    rtl8812au access point slow

    Hi, has anyone played around with the rtl8812au wifi-chipset under freebsd? I have setup an access point (awus036ach) with hostapd and the rtwn / rtwn_usb driver using 11g but I am only getting about 1-3 Mbits/s. However I can achieve up to 16 Mbits/s with an Edimax Adapter (rt2870) and the run...
  20. Farhan Khan

    Jail IPv6 only works after base initiates connection

    Hi all, When I start the jail, I get this message on my console. nd6_dad_timer: cancel DAD on epair1b because of ND6_IFF_IFDISABLED. Then the jail cannot use IPv6 until the base initiates connection to it (ie, the base pings the jail first). Otherwise, networking over IPv6 does not work Any...
Back
Top