Date: Wed, 6 Sep 2000 14:27:14 -0500 From: "Hao Zhang" <zhanghao@nortelnetworks.com> To: 'Frederik Meerwaldt' <frederik@freddym.org>, freebsd-hackers <freebsd-hackers@freebsd.org> Subject: RE: Duplicating packets Message-ID: <E1A4B2CC91EBD1118A510000F80836F80254FCEA@zwdld002.ca.nortel.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #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<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=8843<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=8843<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=8843<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=8843<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=8843<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
[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2652.35">
<TITLE>RE: Duplicating packets</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Since the router we are testing is a standalone box, we are not using any routing protocols. </FONT>
<BR><FONT SIZE=2>The actual testbed is using Gated. Here is the info from the router. Thanks in advance.</FONT>
</P>
<P><FONT SIZE=2># ifconfig -au</FONT>
<BR><FONT SIZE=2>xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</FONT>
<BR><FONT SIZE=2> inet 200.1.16.10 netmask 0xfffff000 broadcast 200.1.31.255</FONT>
<BR><FONT SIZE=2> ether 00:50:04:0d:bf:46 </FONT>
<BR><FONT SIZE=2> media: 10baseT/UTP <half-duplex></FONT>
<BR><FONT SIZE=2> supported media: autoselect 100baseTX <full-duplex> 100baseTX <half-duplex> 100</FONT>
<BR><FONT SIZE=2>baseTX 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex> 10baseT/UTP</FONT>
<BR><FONT SIZE=2>xl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</FONT>
<BR><FONT SIZE=2> inet 200.2.16.10 netmask 0xfffff000 broadcast 200.2.31.255</FONT>
<BR><FONT SIZE=2> ether 00:50:04:0d:bc:82 </FONT>
<BR><FONT SIZE=2> media: 10baseT/UTP <half-duplex></FONT>
<BR><FONT SIZE=2> supported media: autoselect 100baseTX <full-duplex> 100baseTX <half-duplex> 100</FONT>
<BR><FONT SIZE=2>baseTX 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex> 10baseT/UTP</FONT>
<BR><FONT SIZE=2>xl2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</FONT>
<BR><FONT SIZE=2> inet 200.3.16.10 netmask 0xfffff000 broadcast 200.3.31.255</FONT>
<BR><FONT SIZE=2> ether 00:b0:d0:2a:79:b2 </FONT>
<BR><FONT SIZE=2> media: 10baseT/UTP <half-duplex></FONT>
<BR><FONT SIZE=2> supported media: autoselect 100baseTX <full-duplex> 100baseTX <half-duplex> 100</FONT>
<BR><FONT SIZE=2>baseTX 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex> 10baseT/UTP</FONT>
<BR><FONT SIZE=2>xl3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</FONT>
<BR><FONT SIZE=2> inet 200.4.16.10 netmask 0xfffff000 broadcast 200.4.31.255</FONT>
<BR><FONT SIZE=2> ether 00:50:04:71:5a:76 </FONT>
<BR><FONT SIZE=2> media: 10baseT/UTP <half-duplex></FONT>
<BR><FONT SIZE=2> supported media: autoselect 100baseTX <full-duplex> 100baseTX <half-duplex> 100</FONT>
<BR><FONT SIZE=2>baseTX 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex> 10baseT/UTP</FONT>
<BR><FONT SIZE=2>rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</FONT>
<BR><FONT SIZE=2> inet 200.5.16.10 netmask 0xfffff000 broadcast 200.5.31.255</FONT>
<BR><FONT SIZE=2> ether 00:48:54:87:9f:de </FONT>
<BR><FONT SIZE=2> media: autoselect</FONT>
<BR><FONT SIZE=2> supported media: autoselect 100baseTX <full-duplex> 100baseTX <half-duplex> 100</FONT>
<BR><FONT SIZE=2>baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 10baseT/UTP <half-duplex></FONT>
<BR><FONT SIZE=2>rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500</FONT>
<BR><FONT SIZE=2> inet 200.6.16.10 netmask 0xfffff000 broadcast 200.6.31.255</FONT>
<BR><FONT SIZE=2> ether 00:48:54:87:e0:3f </FONT>
<BR><FONT SIZE=2> media: autoselect</FONT>
<BR><FONT SIZE=2> supported media: autoselect 100baseTX <full-duplex> 100baseTX <half-duplex> 100</FONT>
<BR><FONT SIZE=2>baseTX 10baseT/UTP <full-duplex> 10baseT/UTP 10baseT/UTP <half-duplex></FONT>
<BR><FONT SIZE=2># </FONT>
</P>
<P><FONT SIZE=2># netstat -r</FONT>
<BR><FONT SIZE=2>Routing tables</FONT>
</P>
<P><FONT SIZE=2>Internet:</FONT>
<BR><FONT SIZE=2>Destination Gateway Flags Refs Use Netif Expire</FONT>
<BR><FONT SIZE=2>200.1.16/20 link#1 UC 0 0 xl0</FONT>
<BR><FONT SIZE=2>200.1.16.10 0:50:4:d:bf:46 UHLW 0 432 lo0</FONT>
<BR><FONT SIZE=2>200.1.16.100 0:de:bb:1:0:0 UHLW 0 0 xl0 1167</FONT>
<BR><FONT SIZE=2>200.2.16/20 link#2 UC 0 0 xl1</FONT>
<BR><FONT SIZE=2>200.2.16.100 0:de:bb:1:1:0 UHLW 0 142164 xl1 1167</FONT>
<BR><FONT SIZE=2>200.3.16/20 link#3 UC 0 0 xl2</FONT>
<BR><FONT SIZE=2>200.3.16.100 0:de:bb:1:2:0 UHLW 0 0 xl2 1167</FONT>
<BR><FONT SIZE=2>200.4.16/20 link#4 UC 0 0 xl3</FONT>
<BR><FONT SIZE=2>200.4.16.100 0:de:bb:1:3:0 UHLW 0 0 xl3 1167</FONT>
<BR><FONT SIZE=2>200.5.16/20 link#5 UC 0 0 rl0</FONT>
<BR><FONT SIZE=2>200.5.16.100 0:de:bb:1:10:0 UHLW 0 142243 rl0 1167</FONT>
<BR><FONT SIZE=2>200.6.16/20 link#6 UC 0 0 rl1</FONT>
<BR><FONT SIZE=2>200.6.16.100 0:de:bb:1:11:0 UHLW 1 9048110 rl1 1167</FONT>
<BR><FONT SIZE=2># </FONT>
</P>
<P><FONT SIZE=2>--Hao</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Frederik Meerwaldt [<A HREF="mailto:frederik@freddym.org">mailto:frederik@freddym.org</A>]</FONT>
<BR><FONT SIZE=2>Sent: Wednesday, September 06, 2000 2:16 PM</FONT>
<BR><FONT SIZE=2>To: Zhang, Hao [WDLN2:AN22:EXCH]</FONT>
<BR><FONT SIZE=2>Cc: freebsd-hackers</FONT>
<BR><FONT SIZE=2>Subject: Re: Duplicating packets</FONT>
</P>
<BR>
<P><FONT SIZE=2>Hi!</FONT>
</P>
<P><FONT SIZE=2>> I am doing some testing on FreeBSD 3.3 platform by sending some UDP</FONT>
<BR><FONT SIZE=2>packets</FONT>
<BR><FONT SIZE=2>> thru FreeBSD routers. It's found that FreeBSD duplicates some packet.</FONT>
<BR><FONT SIZE=2>> That results in that the received packet are more than sent ones. How</FONT>
<BR><FONT SIZE=2>> can I disable the duplication in FreeBSD config. Or did I do some wrong</FONT>
<BR><FONT SIZE=2>> in the FreeBSD config. The FreeBSD 3.3 is running on Pentium III, and NIC</FONT>
<BR><FONT SIZE=2>is</FONT>
<BR><FONT SIZE=2>> 3C905B-Tx.</FONT>
</P>
<P><FONT SIZE=2>Could you please inform us about details regarding this problem?</FONT>
<BR><FONT SIZE=2>Which routing software are you using? natd? routed? Interface</FONT>
<BR><FONT SIZE=2>Characteristics (output of ifconfig of the interfaces)?</FONT>
<BR><FONT SIZE=2>netstat -r</FONT>
</P>
<P><FONT SIZE=2>Best Regards,</FONT>
<BR><FONT SIZE=2> Freddy</FONT>
<BR><FONT SIZE=2>--</FONT>
<BR><FONT SIZE=2>www.freddym.org</FONT>
</P>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<P><FONT SIZE=2>To Unsubscribe: send mail to majordomo@FreeBSD.org</FONT>
<BR><FONT SIZE=2>with "unsubscribe freebsd-hackers" in the body of the message</FONT>
</P>
</BODY>
</HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1A4B2CC91EBD1118A510000F80836F80254FCEA>
