From owner-freebsd-hackers Wed Sep 6 12:29:27 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from smtprch2.nortel.com (smtprch2.nortelnetworks.com [192.135.215.15]) by hub.freebsd.org (Postfix) with ESMTP id C1C6037B422 for ; Wed, 6 Sep 2000 12:29:17 -0700 (PDT) Received: from zrchb213.us.nortel.com (actually zrchb213) by smtprch2.nortel.com; Wed, 6 Sep 2000 14:23:41 -0500 Received: by zrchb213.us.nortel.com with Internet Mail Service (5.5.2652.35) id ; Wed, 6 Sep 2000 14:27:22 -0500 Message-ID: From: "Hao Zhang" To: 'Frederik Meerwaldt' , freebsd-hackers Subject: RE: Duplicating packets Date: Wed, 6 Sep 2000 14:27:14 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2652.35) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C01838.764BACC0" X-Orig: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C01838.764BACC0 Content-Type: text/plain; charset="iso-8859-1" Since the router we are testing is a standalone box, we are not using any routing protocols. The actual testbed is using Gated. Here is the info from the router. Thanks in advance. # ifconfig -au xl0: flags=8843 mtu 1500 inet 200.1.16.10 netmask 0xfffff000 broadcast 200.1.31.255 ether 00:50:04:0d:bf:46 media: 10baseT/UTP supported media: autoselect 100baseTX 100baseTX 100 baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP xl1: flags=8843 mtu 1500 inet 200.2.16.10 netmask 0xfffff000 broadcast 200.2.31.255 ether 00:50:04:0d:bc:82 media: 10baseT/UTP supported media: autoselect 100baseTX 100baseTX 100 baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP xl2: flags=8843 mtu 1500 inet 200.3.16.10 netmask 0xfffff000 broadcast 200.3.31.255 ether 00:b0:d0:2a:79:b2 media: 10baseT/UTP supported media: autoselect 100baseTX 100baseTX 100 baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP xl3: flags=8843 mtu 1500 inet 200.4.16.10 netmask 0xfffff000 broadcast 200.4.31.255 ether 00:50:04:71:5a:76 media: 10baseT/UTP supported media: autoselect 100baseTX 100baseTX 100 baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP rl0: flags=8843 mtu 1500 inet 200.5.16.10 netmask 0xfffff000 broadcast 200.5.31.255 ether 00:48:54:87:9f:de media: autoselect supported media: autoselect 100baseTX 100baseTX 100 baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP rl1: flags=8843 mtu 1500 inet 200.6.16.10 netmask 0xfffff000 broadcast 200.6.31.255 ether 00:48:54:87:e0:3f media: autoselect supported media: autoselect 100baseTX 100baseTX 100 baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP # # netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 200.1.16/20 link#1 UC 0 0 xl0 200.1.16.10 0:50:4:d:bf:46 UHLW 0 432 lo0 200.1.16.100 0:de:bb:1:0:0 UHLW 0 0 xl0 1167 200.2.16/20 link#2 UC 0 0 xl1 200.2.16.100 0:de:bb:1:1:0 UHLW 0 142164 xl1 1167 200.3.16/20 link#3 UC 0 0 xl2 200.3.16.100 0:de:bb:1:2:0 UHLW 0 0 xl2 1167 200.4.16/20 link#4 UC 0 0 xl3 200.4.16.100 0:de:bb:1:3:0 UHLW 0 0 xl3 1167 200.5.16/20 link#5 UC 0 0 rl0 200.5.16.100 0:de:bb:1:10:0 UHLW 0 142243 rl0 1167 200.6.16/20 link#6 UC 0 0 rl1 200.6.16.100 0:de:bb:1:11:0 UHLW 1 9048110 rl1 1167 # --Hao -----Original Message----- From: Frederik Meerwaldt [mailto:frederik@freddym.org] Sent: Wednesday, September 06, 2000 2:16 PM To: Zhang, Hao [WDLN2:AN22:EXCH] Cc: freebsd-hackers Subject: Re: Duplicating packets Hi! > I am doing some testing on FreeBSD 3.3 platform by sending some UDP packets > thru FreeBSD routers. It's found that FreeBSD duplicates some packet. > That results in that the received packet are more than sent ones. How > can I disable the duplication in FreeBSD config. Or did I do some wrong > in the FreeBSD config. The FreeBSD 3.3 is running on Pentium III, and NIC is > 3C905B-Tx. Could you please inform us about details regarding this problem? Which routing software are you using? natd? routed? Interface Characteristics (output of ifconfig of the interfaces)? netstat -r Best Regards, Freddy -- www.freddym.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message ------_=_NextPart_001_01C01838.764BACC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Duplicating packets

Since the router we are testing is a standalone box, = we are not using any routing protocols. 
The actual testbed is using Gated. Here is the info = from the router. Thanks in advance.

# ifconfig -au
xl0: = flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu = 1500
        inet = 200.1.16.10 netmask 0xfffff000 broadcast 200.1.31.255
        ether = 00:50:04:0d:bf:46
        media: = 10baseT/UTP <half-duplex>
        supported = media: autoselect 100baseTX <full-duplex> 100baseTX = <half-duplex> 100
baseTX 10baseT/UTP <full-duplex> 10baseT/UTP = <half-duplex> 10baseT/UTP
xl1: = flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu = 1500
        inet = 200.2.16.10 netmask 0xfffff000 broadcast 200.2.31.255
        ether = 00:50:04:0d:bc:82
        media: = 10baseT/UTP <half-duplex>
        supported = media: autoselect 100baseTX <full-duplex> 100baseTX = <half-duplex> 100
baseTX 10baseT/UTP <full-duplex> 10baseT/UTP = <half-duplex> 10baseT/UTP
xl2: = flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu = 1500
        inet = 200.3.16.10 netmask 0xfffff000 broadcast 200.3.31.255
        ether = 00:b0:d0:2a:79:b2
        media: = 10baseT/UTP <half-duplex>
        supported = media: autoselect 100baseTX <full-duplex> 100baseTX = <half-duplex> 100
baseTX 10baseT/UTP <full-duplex> 10baseT/UTP = <half-duplex> 10baseT/UTP
xl3: = flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu = 1500
        inet = 200.4.16.10 netmask 0xfffff000 broadcast 200.4.31.255
        ether = 00:50:04:71:5a:76
        media: = 10baseT/UTP <half-duplex>
        supported = media: autoselect 100baseTX <full-duplex> 100baseTX = <half-duplex> 100
baseTX 10baseT/UTP <full-duplex> 10baseT/UTP = <half-duplex> 10baseT/UTP
rl0: = flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu = 1500
        inet = 200.5.16.10 netmask 0xfffff000 broadcast 200.5.31.255
        ether = 00:48:54:87:9f:de
        media: = autoselect
        supported = media: autoselect 100baseTX <full-duplex> 100baseTX = <half-duplex> 100
baseTX 10baseT/UTP <full-duplex> 10baseT/UTP = 10baseT/UTP <half-duplex>
rl1: = flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu = 1500
        inet = 200.6.16.10 netmask 0xfffff000 broadcast 200.6.31.255
        ether = 00:48:54:87:e0:3f
        media: = autoselect
        supported = media: autoselect 100baseTX <full-duplex> 100baseTX = <half-duplex> 100
baseTX 10baseT/UTP <full-duplex> 10baseT/UTP = 10baseT/UTP <half-duplex>
#

# netstat -r
Routing tables

Internet:
Destination        = Gateway           = ; Flags     Refs     = Use     Netif Expire
200.1.16/20        = link#1           =   UC          = 0        = 0      xl0
200.1.16.10        = 0:50:4:d:bf:46     = UHLW        = 0      432      = lo0
200.1.16.100       = 0:de:bb:1:0:0      = UHLW        = 0        = 0      xl0   1167
200.2.16/20        = link#2           =   UC          = 0        = 0      xl1
200.2.16.100       = 0:de:bb:1:1:0      = UHLW        0   = 142164      xl1   1167
200.3.16/20        = link#3           =   UC          = 0        = 0      xl2
200.3.16.100       = 0:de:bb:1:2:0      = UHLW        = 0        = 0      xl2   1167
200.4.16/20        = link#4           =   UC          = 0        = 0      xl3
200.4.16.100       = 0:de:bb:1:3:0      = UHLW        = 0        = 0      xl3   1167
200.5.16/20        = link#5           =   UC          = 0        = 0      rl0
200.5.16.100       = 0:de:bb:1:10:0     UHLW     = ;   0   142243      = rl0   1167
200.6.16/20        = link#6           =   UC          = 0        = 0      rl1
200.6.16.100       = 0:de:bb:1:11:0     = UHLW        1  = 9048110      rl1   1167
#

--Hao

-----Original Message-----
From: Frederik Meerwaldt [mailto:frederik@freddym.org]
Sent: Wednesday, September 06, 2000 2:16 PM
To: Zhang, Hao [WDLN2:AN22:EXCH]
Cc: freebsd-hackers
Subject: Re: Duplicating packets


Hi!

> I am doing some testing on FreeBSD 3.3 platform = by sending some UDP
packets
> thru FreeBSD routers. It's found that FreeBSD = duplicates some packet.
> That results in that the received packet are = more than sent ones. How
> can I disable the duplication in FreeBSD = config. Or did I do some wrong
> in the FreeBSD config. The FreeBSD 3.3 is = running on Pentium III, and NIC
is
> 3C905B-Tx.

Could you please inform us about details regarding = this problem?
Which routing software are you using? natd? routed? = Interface
Characteristics (output of ifconfig of the = interfaces)?
netstat -r

Best Regards,
    Freddy
--
www.freddym.org







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

------_=_NextPart_001_01C01838.764BACC0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message