dhcp

  1. I

    IPFW Why do ipfw rules have no effect on dhclient?

    I've run a simple experiment on FreeBSD 14.0 and the results are quite unexpected to me. Could you explain these results to me? Warning! The experiment MUST be run from console. Do not try to reproduce it over SSH as it will make the host inaccessible! Console log, with comments: # killall...
  2. G

    Solved DHCPDISCOVER on wlan0 loop while booting

    Hello. I'm pretty new to FreeBSD after having using GNU/Linux for more than a decade. I've installed FreeBSD 14.0 (MATE desktop) on an rather old Samsung AMD A6-3420m apu with radeon hd graphics (AMD Sumo 512 MB) and 4GB ram. Everything went fine, but after booting one time, only to discover...
  3. N

    service netif restart && service routing restart removes default route for gateway received via dhclient

    Hi, I have a FreeBSD server running 14.0. It's primary network interface receives public IP and default route via dhclient. Sometimes after fiddling with static routes in fib 1 and adding these to rc.conf I need to run: service netif restart service routing restart This however removes the...
  4. S

    Lagg0 doesn't work properly after upgrade from FreeBSD 13.2 to 14.0

    Hi Community, I need your help solving this issue. I had lagg0 and other interfaces assigned in /etc/rc.conf as follows: ifconfig_em0="ether 8c:70:5a:XX:XX:XX" ##MAC address of the wlan0 ifconfig_em0="up" wlans_iwn0="wlan0" create_args_wlan0="regdomain FCC country XX" ifconfig_wlan0="up WPA"...
  5. A

    CARP (dns/dhcp/tftp) network boot.

    Hi, My setup is like following. server1 = primary server setup with carp, it is running the dnsmasq and it is also the gateway for my local network 192.168.1.0/24 server2= secondary server setup with carp, it is also running the dnsmasq (/var/db/dnsmasq.leases is copied from server1) and it is...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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)...
  19. 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...
  20. 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...
Back
Top