Date: Tue, 24 Oct 2006 10:34:53 -0400 (EDT) From: "Tuc at T-B-O-H.NET" <ml@t-b-o-h.net> To: infofarmer@freebsd.org (Andrew Pantyukhin) Cc: "Tuc at T-B-O-H.NET" <ml@t-b-o-h.net>, freebsd-questions@freebsd.org Subject: Re: GRE to Cisco Message-ID: <200610241434.k9OEYrYu068758@himinbjorg.tucs-beachin-obx-house.com> In-Reply-To: <cb5206420610232337g531ae996hdbff05b71f7a6e5a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > On 10/24/06, Tuc at T-B-O-H.NET <ml@t-b-o-h.net> wrote: > > Hi, > > > > I was wondering if anyone has used GRE tunnel extensively. I'm trying to > > connect a FreeBSD system to a Cisco router. For testing ONLY I'm trying to do > > it to two devices on the same subnet. When I bring the gre up, I can't > > ping the other side. I have my FreeBSD at 192.168.3.21 and gre0 looks like : > > > > gre0: flags=9051<UP,POINTOPOINT,RUNNING,LINK0,MULTICAST> mtu 1476 > > tunnel inet 192.168.3.21 --> 192.168.3.149 > > inet6 fe80::212:3fff:fedd:58b2%gre0 prefixlen 64 scopeid 0x7 > > inet 192.168.3.21 --> 192.168.3.149 netmask 0xffffffff > > > > My Cisco is at 192.168.3.149 and looks like : > > > > interface Tunnel0 > > ip unnumbered Ethernet0 > > tunnel source Ethernet0 > > tunnel destination 192.168.3.21 > > ! > > interface Ethernet0 > > ip address 192.168.3.149 255.255.255.0 > > > > Ideas? > > I'm not very experienced with this, but if your routing table > lists 192.168.3.149 as reachable through the tunnel, then > the tunnel itself can't function, naturally. > It looks like the man page and lack of sleep made this a disaster... I've changed things around : FREEBSD: ifconfig wi0 192.168.3.21 netmask 255.255.255.0 up ifconfig gre0 unplumb ifconfig gre0 create ifconfig gre0 192.168.4.1 192.168.4.2 netmask 0xffffff00 link0 up ifconfig gre0 tunnel 192.168.3.21 192.168.3.149 Cisco: interface Tunnel0 ip address 192.168.4.2 255.255.255.0 tunnel source Ethernet0 tunnel destination 192.168.3.21 ! interface Ethernet0 ip address 192.168.3.149 255.255.255.0 But still can't ping 192.168.4.2 . Thanks, Tuc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610241434.k9OEYrYu068758>