Hi,
Here's my pretty simple setup with 3 networks:
I am apparently experiencing unicast flooding.
Every dozen seconds or minutes I can see a large drop down when it comes to bandwidth processing on the LAN/WAN interfaces on my FreeBSD router. E.g the traffic is around 200Mb/s, then it suddenly drops to 100MB/s for a brief moment, or a few seconds tops, then it resumes normally. All the counters you can imagine to check indicate no errors on the FreeBSD router when that happens.
I've noticed that I can see traffic destined for others from my PC.
For example me, being PC1 (10.10.10.5), and using wireshark:
Shows a bunch of tcp, udp, etc. traffic (src, dst) from e.g 10.10.30.0/24 network.
Which I guess should not be happening.
The FreeBSD 10.1-RELEASE p6 amd64 system has nothing fancy configured. Which I guess it means a misconfiguration of some of the switches or some stupid mistake on my part.
For NAT I use pf, but it's so dead simple there's no point in posting the config for it.
The switches are some cheap TP-Links. I have Port Isolation enabled on all of them.
MAC expiry time is set to 600 seconds on all the switches.
I am positive this is mostly due to some misconfiguration of the switches that I am seeing such behaviour (traffic halting, seeing different networks from my PC).
Does anyone know what could it be?
Did I forget to configure something that might be critical in such scenario?
Is there an error in my setup (including the FreeBSD 10) router?
Thank you.
Here's my pretty simple setup with 3 networks:
I am apparently experiencing unicast flooding.
Every dozen seconds or minutes I can see a large drop down when it comes to bandwidth processing on the LAN/WAN interfaces on my FreeBSD router. E.g the traffic is around 200Mb/s, then it suddenly drops to 100MB/s for a brief moment, or a few seconds tops, then it resumes normally. All the counters you can imagine to check indicate no errors on the FreeBSD router when that happens.
I've noticed that I can see traffic destined for others from my PC.
For example me, being PC1 (10.10.10.5), and using wireshark:
not eth.addr == <MY_MAC_ADDRESS> and ip.addr != 10.10.10.5 and ip.addr != 10.10.10.255Shows a bunch of tcp, udp, etc. traffic (src, dst) from e.g 10.10.30.0/24 network.
Which I guess should not be happening.
The FreeBSD 10.1-RELEASE p6 amd64 system has nothing fancy configured. Which I guess it means a misconfiguration of some of the switches or some stupid mistake on my part.
Code:
### /etc/rc.conf ###
defaultrouter="XXX.XXX.XXX.XXX"
gateway_enable="YES"
#wan interface
ifconfig_em0="inet XXX.XXX.XXX.XXX netmask 255.255.255.0"
ifconfig_em0_alias0="inet XXX.XXX.XXX.XXX netmask 255.255.255.255" # IP address to nat to from network 10.10.10.0/24
ifconfig_em0_alias1="inet XXX.XXX.XXX.XXX netmask 255.255.255.255" # IP address to nat to from network 10.10.20.0/24
ifconfig_em0_alias2="inet XXX.XXX.XXX.XXX netmask 255.255.255.255" # IP address to nat to from network 10.10.30.0/24
#lan interface
ifconfig_em1="inet 10.10.10.1 netmask 255.255.255.0" # gateway ip
ifconfig_em1_alias0="inet 10.10.20.1 netmask 255.255.255.0" # gateway ip
ifconfig_em1_alias1="inet 10.10.30.1 netmask 255.255.255.0" # gateway ip
...
The switches are some cheap TP-Links. I have Port Isolation enabled on all of them.
MAC expiry time is set to 600 seconds on all the switches.
I am positive this is mostly due to some misconfiguration of the switches that I am seeing such behaviour (traffic halting, seeing different networks from my PC).
Does anyone know what could it be?
Did I forget to configure something that might be critical in such scenario?
Is there an error in my setup (including the FreeBSD 10) router?
Thank you.