How to configure bridging to capture packets on multiple interfaces on RHEL 8 - nomorespice/rhel8-howto GitHub Wiki

This procedure will guide you through the configuration of interface bridging on a Red Hat Enterprise Linux 8 server.

This document assumes that:

  • you installed the RHEL 8 x64 Operating System according to How to install RHEL 8 via kickstart
  • you are performing these tasks as root
  • you are performing these tasks in order, as some tasks require others to be completed first
  • your network device is a Cisco Nexus

Configure Cisco Nexus switches

This configuration assumes the uplink ports are e1/1-e1/2 and your RHEL 8 system is connected to e1/3 on both switches.

monitor session 1
  source interface Ethernet1/1 both
  source interface Ethernet1/2 both
  destination interface Ethernet1/3
  no shut
  
  interface Ethernet1/3
  description monitor port
  switchport monitor

Configure RHEL 8 system

This configuration assumes the interfaces that are connected to e1/3 on both switches are eth2/eth3.

nmcli connection add type bridge con-name br0 ifname br0
nmcli connection modify br0 ipv4.addresses '192.168.2.1/24'
nmcli connection modify br0 ipv4.method manual
nmcli connection modify br0 connection.autoconnect-slaves 1
nmcli con modify br0 bridge.stp no
nmcli connection modify eth2 master br0
nmcli connection modify eth3 master br0
nmcli connection up br0