From owner-freebsd-net@FreeBSD.ORG Wed Oct 7 07:03:30 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC188106568B for ; Wed, 7 Oct 2009 07:03:30 +0000 (UTC) (envelope-from universite@ukr.net) Received: from mary-teresa.otrada.od.ua (universite.broker.freenet6.net [IPv6:2001:5c0:1400:b::27e9]) by mx1.freebsd.org (Postfix) with ESMTP id 12E538FC14 for ; Wed, 7 Oct 2009 07:03:28 +0000 (UTC) Received: from phenom (mary-teresa.otrada.od.ua [10.0.0.10]) (authenticated bits=0) by mary-teresa.otrada.od.ua (8.14.3/8.14.3) with ESMTP id n9773N4q061678 for ; Wed, 7 Oct 2009 10:03:24 +0300 (EEST) (envelope-from universite@ukr.net) X-Authentication-Warning: mary-teresa.otrada.od.ua: Host mary-teresa.otrada.od.ua [10.0.0.10] claimed to be phenom X-AntiVirus: Checked by Dr.Web [version: 5.0, engine: 5.00.0.12182, virus records: 655901, updated: 7.10.2009] Message-ID: <4ACC3D3B.5080508@ukr.net> Date: Wed, 07 Oct 2009 10:03:23 +0300 From: "Vladislav V. Prodan" User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mary-teresa.otrada.od.ua Subject: Packages with the wrong source X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 07:03:31 -0000 I have two channels on the Internet PPPoE - tun1 and tun2. When you start ntpd, incoming packets begin to crumble with the first ISP, although requests come from the 2-nd ISP 23:40:53.548840 IP (tos 0x40, ttl 58, id 0, offset 0, flags [DF], proto UDP (17), length 76) 192.168.30.1.ntp > .ntp: [udp sum ok] NTPv3, length 48 symmetric active, Leap indicator: (0), Stratum 3, poll 4s, precision -19 Root Delay: 0.021423, Root dispersion: 0.086944, Reference-ID: Te.NeT.UA Reference Timestamp: 3460219701.661973714 (2009/08/25 23:08:21) Originator Timestamp: 3460221653.546850204 (2009/08/25 23:40:53) Receive Timestamp: 3460221653.552442133 (2009/08/25 23:40:53) Transmit Timestamp: 3460221653.552893817 (2009/08/25 23:40:53) Originator - Receive Timestamp: +0.005591936 Originator - Transmit Timestamp: +0.006043639 And these packages bandwidth demands grow to 2MBps Only helps to turn off ntpd. The only problem with the ntp packets The problem suddenly appears and as suddenly disappears. There are ideas on how to fix this problem? # uname -a FreeBSD mary-teresa.xxxxxxxxxxx 8.0-BETA4 FreeBSD 8.0-BETA4 #0: Sun Sep 13 03:05:09 EEST 2009 vlad11@mary-teresa.xxxxxxxxxxx:/usr/obj/usr/src/sys/mary-teresa.18 amd64 # ntptrace -n 192.168.30.1 192.168.30.1: stratum 3, offset -0.000105, root distance 0.012885 [2-nd ISP] 195.138.zzz.34: stratum 2, offset 0.000140, root distance 0.012610 62.149.0.30: stratum 1, offset 0.000000, root distance 0.000000, refid 'GPS' # netstat -rn | grep 192.168. 10.0.0.0/8 192.168.61.250 UGS 0 375059 vr1 192.168.0.0/16 192.168.61.250 UGS 0 48072705 vr1 192.168.60.0/23 link#3 U 0 790 vr1 192.168.60.194 link#4 UHS 0 3491 lo0 # netstat -rn | grep UGS default 89.209.95.254 UGS 0 232097628 tun1 10.0.0.0/8 192.168.61.250 UGS 0 375120 vr1 192.168.0.0/16 192.168.61.250 UGS 0 49891561 vr1 1-st ISP <--- tun1 <-- vr0 -- [router] -- vr1 --> tun2 --> 2-nd ISP # ifconfig vr0 vr0: flags=8843 metric 0 mtu 1500 options=2808 ether 00:11:95:ff:a7:c0 media: Ethernet autoselect (100baseTX ) status: active # ifconfig vr1 vr1: flags=8943 metric 0 mtu 1500 options=2808 ether 00:02:44:8b:89:40 inet 192.168.60.194 netmask 0xfffffe00 broadcast 192.168.61.255 media: Ethernet autoselect (100baseTX ) status: active # ifconfig tun1 tun1: flags=8051 metric 0 mtu 1492 inet 89.209.sss.sss --> 89.209.95.254 netmask 0xffffffff Opened by PID 1582 # ifconfig tun2 tun2: flags=8051 metric 0 mtu 1492 inet 85.238.sss.sss --> 195.138.80.134 netmask 0xffffffff Opened by PID 97047