From owner-freebsd-net@FreeBSD.ORG Thu Dec 30 14:50:54 2010 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 5D0A8106564A for ; Thu, 30 Dec 2010 14:50:54 +0000 (UTC) (envelope-from sem@FreeBSD.org) Received: from sunner.semmy.ru (sunner.semmy.ru [IPv6:2a00:14d0:0:20::3]) by mx1.freebsd.org (Postfix) with ESMTP id DCAC08FC14 for ; Thu, 30 Dec 2010 14:50:53 +0000 (UTC) Received: from dhcp170-205-red.yandex.net ([95.108.170.205]) by sunner.semmy.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.72 (FreeBSD)) (envelope-from ) id 1PYJq8-0001Ss-3J; Thu, 30 Dec 2010 17:50:52 +0300 Message-ID: <4D1C9C4C.1080407@FreeBSD.org> Date: Thu, 30 Dec 2010 17:50:52 +0300 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: "Achilov, Rashid" References: <201012291600.12832.achilov-rn@askd.ru> In-Reply-To: <201012291600.12832.achilov-rn@askd.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org Subject: Re: Tunnel works on 10.10.1.0-10.10.2.0, and not works on 172.16.1.0-172.16.2.0 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: Thu, 30 Dec 2010 14:50:54 -0000 29.12.2010 13:00, Rashid N. Achilov пишет: > FreeBSD 8.1-RELEASE. Occured a strange thing. > > Take two boxes with 8.1. Do these: > On #1 > ifconfig gif create > ifconfig gif0 tunnel AAA.AAA.AAA.AAA BBB.BBB.BBB.BBB > ifconfig gif0 inet 10.10.1.254 10.10.2.254 netmask 255.255.255.255 > > On #2 > ifconfig gif create > ifconfig gif0 tunnel BBB.BBB.BBB.BBB AAA.AAA.AAA.AAA > ifconfig gif0 inet 10.10.2.254 10.10.1.254 netmask 255.255.255.255 > > Next, do ping 10.10.2.254 from box #1. Worked! > > Now do these: > On #1 > ifconfig gif create > ifconfig gif0 tunnel AAA.AAA.AAA.AAA BBB.BBB.BBB.BBB > ifconfig gif0 inet 172.16.1.254 172.16.2.254 netmask 255.255.255.255 > > On #2 > ifconfig gif create > ifconfig gif0 tunnel BBB.BBB.BBB.BBB AAA.AAA.AAA.AAA > ifconfig gif0 inet 172.16.2.254 172.16.1.254 netmask 255.255.255.255 > > Next, do ping 172.16.2.254 from box #1. Not worked :-O > > Replace boxes onto 7.3-STABLE and re-do last sample (with 172.16). Worked! > > Why? Is there any problems in 8.1? Have you a firewall? I can't reproduce it with 8.2-PRERELEASE from Dec, 13. Both 10/8 and 172.16/12 work well. -- Sem.