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)...
I cant seem to find a way to work this out:
So I checked the network interfaces on my box and its showing re0 as the main interface. (running pfsense with other network cards showing igb'x')
I thought that's odd as they should all be intel interfaces.
How can I check what the interface...
After updating to 12.2-RELEASE my box no longer can reach a default route for ipv4. ipv6 seems to autoconfigure, but ifconfig does not show an inet entry. I have been able to fix it manually, but it requires me to do it after every reboot.
Manual Fix after reboot:
sudo setfib 0 route add...
am at a bit of a loss, here. Not super competent at FreeBSD but persistent enough to break stuff still it starts working.
Scenario: em's0-5 appear in dmesg log, however after boot completes em's1-4 are 'not found' via ifconfig, and pciconf -lv show em0 as an Intel 1000 pro...
I have problem to access some sites but not all, but I have internet connectivity normally.
Example this site below cannot be accessed:
I get the following message in Mozilla;
I want to simulate at least 100 nodes of an 802.11s network, but each of the nodes has to run some java code.
The java code reads from the routing tables. The packages between the nodes as well as the network interfaces should be simulated.
Is FreeBSD/Jails a reasonable choice?
I am trying to load another ethernet driver. My machine have 2 Intel network cards
vendor = 'Intel Corporation'
device = 'I350 Gigabit Network Connection'
class = network
subclass = ethernet interface cards.
I have FreeBSD 11.0 with that kernel built in igb network...
Hello after carp configuration on my IMS interface I see that I have also 2 INIT state vhid configured on EXT interface.
IMS: flags=8943 metric 0 mtu 1500
inet 10.16.0.218 netmask 0xfffffff0 broadcast 10.16.0.223
I installed FreeBSD 10.3 and got strange result with configuration of em0 interface:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
inet 184.108.40.206 netmask 0xfffffff0...
on a raspberry pi 2 B that has FreeBSD 11.0-current on it, I need to have some kind of a network interface created (meaning that if for example ifconfig is typed, my network interface and its options must be shown alongside lo0 & ue0 ).
and to do just that, I need ifnet and other structures...