Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Mar 2011 05:55:38 +0200
From:      Eugene Perevyazko <>
Subject:   ipfw fwd and multicast mac address
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

I've stumbled on a pretty strange issue in combination of ipfw fwd rules
with multicast.
 The system is 7-Stable.
 It runs ospf, that uses MC groups and Normally those groups use dst mac addresses of 01:00:5e:00:00:05 and 01:00:5e:00:00:06 respectively
where last 4 bytes are taken from group's IP.
 Then I needed to add some fwd rules like this:
fwd out xmit em0
(em0 is the interface on which ospf is running)
Somehow after that MC dst mac has got 2 bytes changed: got 01:00:5e:a8:1f:05 and got 01:00:5e:a8:1f:06
"a8:1f" clearly is "168.31" from fwd destination.
Of course this means no ospf anymore.
I've fixed this by adding "pass dst-ip" before "fwd" but
it has made my evening much more lively until I figured what's happening.

The question is if this is intended consequence and if yes then why change
only two bytes instead of four (irony intended)? 

Eugene Perevyazko

Want to link to this message? Use this URL: <>