LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-19-2014, 05:29 AM   #1
hooba
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
Bridge filters DHCP traffic


On a virtualization host system I have created a bridge (using NetworkManager) for a bunch of VMs.

VM1 is a DHCPv4 and DHCPv6 server with static IPv4/IPv6.
VM2 is supposed to receive it's IPv4 and IPv6 addresses from that server.

When using tcpdump on the bridge from the host system, I can see VM2 sending DHCP requests.
When using tcpdump on VM1, nothing comes in.

The host system has all policies set to accept in ebtables.
The VM1 system has its firewall disabled.

I'm missing something really obvious as this happens on multiple Linux distributions and regardless of whether I use NetworkManager or command line brctl to set up the bridge. Why is the bridge not forwarding DHCP traffic?

Last edited by hooba; 07-19-2014 at 05:35 AM.
 
Old 07-21-2014, 07:54 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Does the host system traffic reaching to VM1? Also verify MAC address of VMs which must be unique.

Thanks
 
Old 07-21-2014, 08:00 AM   #3
hooba
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
The host system can communicate with the VMs and their MAC is all different.

While I was verifying this I noticed that DHCP started working after I cleared iptables on the host. Apparently broadcast traffic on the bridge was blocked through iptables.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating iptraf-ng traffic filters gosssamer Linux - Software 2 06-04-2014 09:21 PM
bridge / qemu - bridge is natting multicast traffic eantoranz Linux - Networking 1 12-31-2012 06:46 PM
DHCP Offer is not a broadcast traffic when using a DHCP Relay, why? jayadhanesh Linux - Networking 1 03-23-2009 08:17 AM
transparent bridge for snooping traffic LasseBob Linux - Networking 2 02-01-2008 07:06 AM
iptables rules to bridge traffic scheidel21 Linux - Networking 2 08-31-2007 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration