dhcp

  1. W

    Is there a way to get assigned DNS server from DHCP server on FreeBSD

    I currently use FreeBSD on a laptop and I need to connect to different wireless network, some blocked external DNS server somehow, so I was wonder if there is a way to change my DNS server with DHCP assigning. I have to manually change my resolv.conf to get that to work. Any suggestion would...
  2. Lucian

    Missing default gateway in multi-fib DHCP env

    tl;dr - Second NIC doesn't get a def router via DHCP breaking multiple routing table setup Hello, I need to setup a VM with 2 NICs on DHCP, we need a separate routing table (fib) per NIC, but I'm not getting the default router for the second one. What I've done so far: In /boot/loader.conf...
  3. post.ed

    Solved DHCP: How to exclude router in ip address reservation in isc-dhcpd?

    How to exclude router in ip address reservation in isc-dhcpd? host ws11.lan { hardware ethernet 00:15:5D:07:B3:09; fixed-address 192.168.0.11; option routers NONE; } the gateway is registered globally, and for reservation it is necessary to exclude it in the reservation section option routers...
  4. kavex

    dhclient not finding dhcp server

    Hello everyone, I recently installed FreeBSD 13.1-RELEASE on another computer. The installation went fine, except that no internet connection could be established, although my network card was recognized and attached to the alc driver and it having a working network cable attached to it. I know...
  5. R

    Solved IPFW stops bhyve guest from getting IP address from DHCP server

    I'm trying to setup some bhyve guests for the first time on my 13.0-RELEASE system but the guests were unable to obtain IP addresses from the DHCP server on my router unless I disabled ipfw. It appears that ipfw was blocking the responses from the DHCP server. Google searches didn't come up...
  6. scotia

    How is /etc/resolv.conf updated?

    Hi all, I'm trying to comprehend how FreeBSD updates /etc/resolv.conf. Upon boot my interface gets an IP from the DHCP server, but resolv.conf remains missing. Running dhclient vxm0 gets an IP, but does not populate the various kenv variables that /etc/rc.d/resolv uses. Does anyone know what...
  7. N

    Wifi stopped working 13.1

    I believe I may have misconfigured something, but I am not sure what. I am connecting to a hotel AP with a captured portal at this time. I was attempting to request a new dhcp lease (at this point I still had a connection - able to ping google.com). I did so by attempting to run dhclient on my...
  8. sidetone

    Solved IPv4 stopped working on FreeBSD 13.1-RELEASE; manually set it to access Internet

    My Internet wasn't working properly, and I wasn't able to ping my router. Some Internet sites worked, while others didn't. Used a live Linux CD, and the Internet was fine, and I could ping my router from it. That showed that the problem wasn't my router or the Ethernet cable. It turns out that...
  9. Sivan!

    What do I to have more than one IP address in my computer?

    While trying to understand if it is possible for me to have more than one IP address in my computer (I don't even have one that is static at the moment), I found the discussions on this thread which seems to say: 1. Does this mean that it is possible to have multiple IP addresses mapped to a...
  10. Sivan!

    Is there a way to "mask" a DHCP assigned IP address in a personal computer?

    I do not have a static IP for my computer connected by fiber to home. My ISP assigns an IP address by DHCP, is there a way of making my ISP's router at my home remember the address assigned to me by local settings? I do not fully understand but this URL to a how-to guide points to a method...
  11. G

    Solved Bridging dissimilar networks/NAT configuration

    I am attempting to create a virtual network on VMware using FreeBSD as a router and a firewall. I am relatively new to many of the concepts involved here. I have FreeBSD currently setup as a DHCP server on my vlan(I will eventually switch to static networking), it is issuing addresses on a...
  12. K

    PF Allow DHCP within PF

    In terms of PF rules (enabled, actively running in my VPS), which way is the best way to allow a DHCP server (of my VPS provider) connect&define an IP to my VPS without any prevention? 1- pass quick proto udp from any to 255.255.255.255 or 2- pass in quick on $ext_if inet proto udp from any...
  13. K

    Detect DHCP Network Changes?

    I have a machine running FreeBSD 12.3 and I am looking for a way to monitor network changes through a shell script, specifically related to the network interfaces. Some examples of things that I would like to detect are: When a network interface changes status (e.g. from active to no carrier)...
  14. F

    Solved No route to host using USB Tethering (rc.conf DHCP ifconfig not setting up ue0)

    PLEASE IGNORE THIS ! This post was made late in the night in the middle of frenzied network troubleshooting. I was not thinking stright. It is not possible to configure DHCP for ue0 on bootup, and given the nature of USB Tethering, it is not useful even if it did exist. You will always have the...
  15. 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...
  16. E

    Allow setting different root-path options for freebsd DHCP configuration

    From the official wiki pxeboot(8) I could see that the option root-path must be given in order to finish netboot for FreeBSD using NFS mount root directory, for instance: option root-path "nfs://10.0.0.1/FreeBSD"; but in this case, it is only possible to boot a certain version of FreeBSD that...
  17. F

    Solved DBDIR/dhcpd.leases

    I've installed isc-dhcp44-server and client and have read the manual pages for dhcpd.leases. The instructions say to look in man page of dhcpd.leases if you don't know what to do, which is that when dhcpd is invoked it cannot find var/db/dhcpd.leases. In the man page it says to create "touch...
  18. 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...
  19. J

    failed to start dhclient - wifi

    Good morning gang, I have been hanging around her for a while now, I thought I could solve some issues by me onsy but no luck. I am getting the following message and no wireless service: # service netif restart Destroyed wlan(4) interfaces: wlan0. Created wlan(4) interfaces: wlan0. Starting...
  20. pixelsyntax

    No DHCPOFFERS received when trying to retrieve an IP via DHCP using alc NIC driver

    I am in a similar situation to the thread https://forums.freebsd.org/threads/no-dhcpoffers-received-when-trying-to-retrieve-an-ip-via-dhcp.68993/ and receive no DHCP offers via a 'Killer E2400 Gigabit Ethernet' interface using the alc driver. The interface is confirmed working in other operating...
Top