Questions tagged [ebtables]
15 questions
3
votes
1 answer
Transparent LAN service on Linux
I need to implement a VLAN based transparent LAN service on Linux. Meaning I need to take configured VLAN and forward it directly to the specified port (all broadcast/multicast and unicast packets).
The trivial solution will be defining 1 to 1…
![](../../users/profiles/56045.webp)
Ilya
- 177
- 4
1
vote
0 answers
Transparent Proxy with DHCP passthru?
I'm trying to replicate on a small Linux-based router a behavior I've seen elsewhere, such as in cable modems: I need to get a single DHCP address from the WAN side, offer/pass that same address to the single attached client device, and mostly just…
![](../../users/profiles/223838.webp)
sburlappp
- 11
- 2
1
vote
1 answer
How can it preserve source mac address unchanged after layer-3 filtering through a Linux bridge (which using bridge-utils and ebtables)
Background:
I have a Linux bridge (Ubuntu 15.10, 64bit, name Bridge B) with two physical interfaces, eth0 and eth1, and the bridge interface’s name is br0. Send A (Win 10) connects to eth0, and Receiver C (Win 10) connects to eth1. As shown in the…
![](../../users/profiles/451088.webp)
Dynamic
- 11
- 3
1
vote
1 answer
Block linux bridge traffic (only one way) using iptables or ebtables
I am using openwrt router. It has a bridge br-lan and wlan0, wlan1 are connected to this bridge. eth0 acts as the WAN interface. When a packet comes from wlan0 or wlan1 it goes from the bridge, gets NATed and goes out through eth0 to the internet…
![](../../users/profiles/283996.webp)
The Prenx
- 111
- 4
1
vote
1 answer
STP Packet Filtering
I have a KVM host with guests joined to a virtual bridge for networking.
Netdata on guests of this system drew my attention to packets being dropped at the network interface level (the metric reported as RX dropped by ifconfig).
I tracked the…
user233054
1
vote
0 answers
Ebtables rule limit
Does anyone have any idea about ebtables rule count limitations?
It starts giving this error around 26000 rules for filter table :
[root@localhost 09]# ebtables -A testchain1 -p IPv4 --ip-src 'ipv4.x.x.x' -s 'mac:x:x:x:x:x' -j ACCEPT
Unable to…
![](../../users/profiles/460013.webp)
Jevin Gala
- 49
- 9
0
votes
1 answer
Bridge filtering for man-in-the-middle network node
I am inserting my network node between 2 legacy devices that exchange tcp and udp messages using dedicated ports, in both directions. My new node needs to push some tcp/udp messages through transparently, and intercept other tcp/udp messages for…
![](../../users/profiles/537037.webp)
markm
- 1
- 1
0
votes
1 answer
IP Packets stuck in routing decision
First of all, here is what my infra looks like and how it works :
Controller1/2 and Compute1/2 both runs VM and are linked to each other via a VPN. On each server, the br-ext interface is plugged with the ext interface (the vpn one). All server are…
![](../../users/profiles/461316.webp)
mitsugoya
- 54
- 6
0
votes
1 answer
logging packets on a linux bridge
I'm trying to log packets using a bridge created on an espressobin v5 SOC. I've set it up using the archlinux arm package. This board is built out of the box to provide inherent switching and routing capabilities. I think i've disabled all of these…
![](../../users/profiles/283941.webp)
j_unknown
- 3
- 4
0
votes
1 answer
Why does ebtables-restore fail when loading output from ebtables-save?
See:
%sudo ebtables-save
# Generated by ebtables-save v1.0 on Fri Mar 8 01:06:56 UTC 2019
*broute
:BROUTING ACCEPT
*nat
:PREROUTING ACCEPT
:OUTPUT ACCEPT
:POSTROUTING ACCEPT
*filter
:INPUT ACCEPT
:FORWARD ACCEPT
:OUTPUT ACCEPT
Trying to load…
![](../../users/profiles/513214.webp)
Gabe
- 31
- 3
0
votes
1 answer
Block port 25 for a Kvm VM on server
I need to know how to block port 25 for a VM on a KVM server using ebtables or firewalld service .
VM has interface name viifv3035 on the server and brctl shows this:
# brctl show
bridge name bridge id STP enabled …
![](../../users/profiles/460013.webp)
Jevin Gala
- 49
- 9
0
votes
0 answers
ebtables not working in docker
Hi I am trying to run ebtables within docker however none of the ebtables rules are being hit.
For example - pay attention that counters are not increased though ARP is sent and succeeds
[root@injector /]# ebtables -A OUTPUT -p ARP -j…
![](../../users/profiles/46798.webp)
Boris
- 173
- 10
0
votes
0 answers
Forwarding ethernet frames to tap interface using ebtables / ebtables missing broute table
I spend much time today figuring out how to do this, but I could not find a solution. In my mind it should be possible. I'm trying to setup the following setup:
setup overview
Reading the tap1 interface and forwarding to enp0s3 using Go should work…
![](../../users/profiles/764570.webp)
TonyP.
- 1
- 1
0
votes
0 answers
Linux bridge leaking traffic of shutdown vms
I've a linux bridge (br0) setup with netplan as the following:
version: 2
renderer: networkd
ethernets:
eno1:
dhcp4: no
dhcp6: no
bridges:
probr:
interfaces:
- eno1
macaddress: ab:cd:ef:01:02:03
…
![](../../users/profiles/554791.webp)
Andrew
- 11
- 1
0
votes
0 answers
Transform Broadcast packet in Unicast packet with iptables and ebtables
I've been struggling with this problem for months, and my limited networking knowledge doesn't allow me to progress further, so here I am asking for an advice.
I have an OpenWRT Router with two subnets, 192.168.1.x and 192.168.2.x. On 192.168.1.x I…
![](../../users/profiles/349684.webp)
Claudio Mezzasalma
- 111
- 2