From owner-freebsd-net@FreeBSD.ORG Wed Dec 29 10:19:46 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 E5114106564A for ; Wed, 29 Dec 2010 10:19:46 +0000 (UTC) (envelope-from achilov-rn@askd.ru) Received: from master.askd.ru (master.askd.ru [80.242.75.6]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2B38FC16 for ; Wed, 29 Dec 2010 10:19:45 +0000 (UTC) Received: from to-495.askd.gmbh (to-495.askd.gmbh [192.168.1.94]) by master.askd.ru (8.14.4/8.14.4) with ESMTP id oBTA0GCN013329 for ; Wed, 29 Dec 2010 16:00:16 +0600 (NOVT) (envelope-from achilov-rn@askd.ru) From: "Rashid N. Achilov" Organization: =?koi8-r?b?7+/v?= "=?koi8-r?b?4fMt88nT1MXNwQ==?= =?koi8-r?b?IOvPzdDMxcvT?=" To: freebsd-net@freebsd.org Date: Wed, 29 Dec 2010 16:00:12 +0600 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201012291600.12832.achilov-rn@askd.ru> Subject: 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 Reply-To: "Achilov, Rashid" List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2010 10:19:47 -0000 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? -- With Best Regards. Rashid N. Achilov (RNA1-RIPE), JID: citycat4@jabber.infos.ru OOO "ACK" telecommunications administrator, e-mail: achilov-rn [at] askd.ru PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A