ifconfig

  1. K

    Add multicast group membership to an interface

    I'm using netmap and a tap interface to manipulate network traffic with a c-program. Everything works fine when the physical interface is in promiscuous mode, but I want to avoid that. The problem is that I'm not receiving multicast frames on the physical interface because the programs...
  2. I

    debugging ifconfig vlan

    Hello, community. Seeking help/guidance from more experienced folks. Issue: cannot create specific vlan interface. Surprisingly for me it does create all, but vlan 6 from configuration below. root@core01:/home/ # cat /etc/rc.conf | grep ifconfig ifconfig_igb0_name="wan up"...
  3. G

    How can I create VLANs faster or in a batch?

    I have a project that sometimes requires configuring a lot of vlans, but when I try to, for example, configure 100 vlans, it takes about 2 minutes, and when creating more vlans, that grows linearly, so it takes about 20 minutes for creating 1000 vlans, and over an hour for 4000 vlans. Is there a...
  4. nbari

    Solved ether random

    How to configure in /etc/rc.conf an interface with "ether random" so that the MAC address is not the same as the main interface? For example when creating a VLAN I use something like: cloned_interfaces="vlan0" create_args_vlan0="vlan 4000 vlandev em0 mtu 1400 fib 1" ifconfig_vlan0="ether...
  5. I

    FreeBSD 12.2 and 13.0 ifconfig tap0 destroy hangup.

    Hi guys, I am using tinc 1.1pre for my vpn service and it happily work fine until I upgraded to 12.2 and 13.0 and I notice tinc service will hung up when I try to restart or stop the service. Upon checking I found out the tinc-down service which has ifconfig tap0 destroy was hung. I try to run...
  6. jsaunders

    Solved ipv6 and downing interfaces

    I am seeking help here as despite reading the documentation for rc.conf I am clearly missing something. I wish vtnet0 to be disabled on boot along with ipv6 being disabled on vtnet1. I am perhaps being lead astray from the output so forgive me, I am a new user to BSD. rc.conf...
  7. 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...
  8. JonyPost

    Can't make bhyve with lagg failover work on wifi

    Hello, I'm using bhyve on 12.1-RELEASE-p6, with failover mode between ethernet and wireless interfaces enabled and configured as following: ifconfig_em0="ether 10:0b:a9:9e:76:28" wlans_iwn0="wlan0" ifconfig_wlan0="WPA" cloned_interfaces="lagg0" ifconfig_lagg0="up laggproto failover laggport em0...
  9. T

    Solved How to add an interface to a group automatically (on-boot)?

    I can add an interface to a group easily enough with ifconfig <interface> group <group name> However, I want this to be automatic (if possible). I can write a script and place it in /usr/local/etc/rc.d and enable that, but is there an existing way to do this? I tried editing /etc/rc.conf...
  10. spky

    Solved Interface comes up with IFDISABLED - I don't know why

    Hello, I have a simple box running FreeBSD 12. It is running some Jails, and I want it to have a dynamic network configuration. As network configuration I have this in my /etc/rc.conf: hostname="box" ifconfig_bge0="SYNCDHCP" ipv6_default_interface="bge0" ifconfig_beg0_ipv6="inet6...
  11. G

    freebsd 12 no route to host / PKG install

    Two weeks ago (end of December 2019) I installed FreeBSD from USB stick with FREEBSD-12.0-RELEASE-amd64-dvd.iso I recall only selecting ipv4 and setting the up to the static IP I wanted my freeBSD box to use. Two days ago there was bad weather and my R7000 was not plugged into UPS during a...
  12. K

    USB wireless adapter interface configuration requires "service netif restart" after reboot

    So I have been tried to setup a wireless connection on start up but it seems that the system does not see the wireless adapter when bringing up the interface, which is loaded later After reboot service netif restart outputs this: Stopping Network: lo0 em0. lo0...
  13. M

    Spoofing mac address with ifconfig and rtwn

    More info: Driver works for me, but I have to have spoofed mac address. wpa_supplicant seems to ignore ifconfig wlan0 ether pl:ac:eh:0l:de:rr Currenly I have dual booting with Linux for internet
  14. manas

    Wireguard and Mutiple FIBs - Undrestroyable Interface

    I have been testing Wireguard on FreeBSD 11.2-RELEASE and ran into a problem. The issue seems to occur when a Wireguard interface is brought online on a specific routing table with setfib 1 wg-quick up wg0 If this routing table doesn't have a default route defined, the interface and the...
  15. nactusberrilli

    Solved "service netif restart" required on reboot

    I can't seem to figure out why I have to use service netif restart every single time after I rebooted my system for the ifconfig to recognize (and make visible/accessible) my "wlan0". This is the /etc/rc.conf hostname="rpi-b" ifconfig_DEFAULT="DHCP" sshd_enable="YES" sendmail_enable="NONE"...
  16. J

    Solved ifconfig persistent pflog1 interface

    Hello forum, I am trying to create a persistent pflog1 interface. I am successful with ifconfig but am trying to add this interface through rc.conf. After reading the manuals for both ifconfig and rc.conf and trying many combinations using ifconfig and ifconfig_, none of them will create the...
  17. Rastko

    Unstable wireless link state

    my dmesg output has a lot of wlan0: link state changed to UP wlan0: link state changed to DOWN wlan0: link state changed to UP wlan0: link state changed to DOWN wlan0: link state changed to UP However, the network appears to be working ok. I once ditched Solaris 11, believing it was...
  18. Rand0m

    Issues with WiFi aliases and connectivity

    Hi all, I have a set network aliases in /etc/rc.conf to use them in my jails. # Adding alias for wlan0 for jails ifconfig_wlan0_alias0="inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255" ifconfig_wlan0_alias1="inet 192.168.0.101 netmask 0xffffff00 broadcast 192.168.0.255"...
  19. G

    FreeBSD 11 not showing RX,TX packets and counts using ifconfig/getifaddrs

    I am having a FreeBSD 11 system in which I get the following output for ifconfig command lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1...
  20. E

    Solved LACP with FreeBSD - Problem

    Hello everybody, We have installed FreeBSD 10.3 on a new server which shall be used as backup and file storage node. All set up was successful, however a problem appeared as we tried to activate LACP on the server. We wanted to combine the throughput of two 10G links. Our switch is a Netgear...
Back
Top