Date: Thu, 30 Dec 2010 17:50:52 +0300 From: Sergey Matveychuk <sem@FreeBSD.org> To: "Achilov, Rashid" <achilov-rn@askd.ru> 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 Message-ID: <4D1C9C4C.1080407@FreeBSD.org> In-Reply-To: <201012291600.12832.achilov-rn@askd.ru> References: <201012291600.12832.achilov-rn@askd.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D1C9C4C.1080407>