Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2000 02:25:26 +0900
From:      Masachika ISHIZUKA <ishizuka@ish.org>
To:        freebsd-net@freebsd.org
Subject:   bridge on FreeBSD 4.1R
Message-ID:  <20000830022526S.ishizuka@onion.ish.org>

next in thread | raw e-mail | index | archive | help
  I want to use bridge on 4.1-RELEASE with the following
kernel options and two fxp NICs.

  options IPFIREWALL
  options IPFIREWALL_VERBOSE
  options BRIDGE
  options DUMMYNET

I have two questions.

(1) options IPFIREWALL_DEFAULT_TO_ACCEPT is needed ?
  On 4.0R, I think the 'options IPFIREWALL_DEFAULT_TO_ACCEPT'
is needed to pass the non IP packets like ARP.  On 4.1R, with
the 'options IPFIREWALL_DEFAULT_TO_ACCEPT', the counter values
of 'ipfw -at list 65535' is not up even when passing ARP packets.
I think the line number of 681 in /sys/net/bridge.c is bypass
the ipfw for non IP packets.
  Is it right ?

(2) Arp invalid MAC address once a week or less ?
  I use bridge shown as follows.


    Backbone #1               Backbone #2
        ^                         ^
        |                         |
  +-----+-----+             +-----+-----+
  |cisco 7206 |             |cisco 7513 |
  +-----+-----+             +-----+-----+
        |                         |
  ------+------------+------------+------
                     |
                     |MAC: A1:A2:A3:A4:A5:A6
               +-----+-----+
               |  bridge   |
               |   (4.1R)  |
               +-----+-----+
                     |MAC: B1:B2:B3:B4:B5:B6
                     |
                     |MAC: C1:C2:C3:C4:C5:C6, IP: 10.1.1.1
               +-----+-----+
               | client PC |
               |   (4.1R)  |
               +-----------+


    Normally, the arp tables of cisco 7206 and cisco 7513 are
'10.1.1.1 C1C2.C3C4.C5C6'.  But once a week or less, The arp
tables of both cisco routers are '10.1.1.1 B1B2.B3B4.C5C6',
that is the first 4 bytes of MAC address in arp table is invalid.
Are there any one with the same problems ?

  Thank you for advice and sorry to my poor English.
-- 
ishizuka@ish.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000830022526S.ishizuka>