From owner-freebsd-stable Fri Apr 27 17:30:33 2001 Delivered-To: freebsd-stable@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id C885637B424; Fri, 27 Apr 2001 17:30:23 -0700 (PDT) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id RAA23231; Fri, 27 Apr 2001 17:30:22 -0700 (PDT) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.1/8.11.1) id f3S0TMj07579; Fri, 27 Apr 2001 17:29:22 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200104280029.f3S0TMj07579@arch20m.dellroad.org> Subject: Re: NETGRAPH_PPTPGRE....gre-tun ..help ?? In-Reply-To: <002601c0cd7d$0140bd80$3ab4a8c0@kronos> "from Brent at Apr 25, 2001 07:43:53 am" To: Brent Date: Fri, 27 Apr 2001 17:29:22 -0700 (PDT) Cc: freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brent writes: > I work for an ISP and Im running a 4.1 FBSD w/ 2 nic cards w/ nat and ipfw > as a gateway machine (also known as a duel home host) for my internal > network w 70 nodes...im trying to > setup a gre-tunnel between my 192.168.0.1/24 network and our parent > companies 192.168.150.1/24 in another state. > on MY end on the BSD box: > > x10 = my PUBLIC interface is 208.130.62.10 <-------outside to internet > also NAT runs on this > de0 = my PRIVATE interface is 192.168.0.1 <------my internal network > goes thru this > > On the REMOTE end they are running a Cisco PIX router..w/ ip 204.122.73.34 > > once i compiled my kernel options in ( netgraph, netgraph_PPTPGRE, iptunnel) > ...i did > > #gre-tun -local 208.130.62.10 -remote 204.122.73.34 -source > 192.168.150.1 -key xxxxxxxxxxx > > the tunnel interface is up ..when i do "ifconfig" tun0 shows as UP like > below > > tun0: flags=8051 mtu 1500 > inet 192.168.0.1 --> 204.122.73.34 netmask 0xfffffff8 > inet6 fe80::260:8ff:fe93:a8e5%tun0 --> :: prefixlen 64 scopeid 0xc > Opened by PID 8691 > > the way i understand this ...once everything is running...we should be able > ping each others private IP space....although i cant...If theres anything > anyone has to add to this...hints, tips...suggestions ..it would be most > appreciated...TIA....help please ??? NETGRAPH_PPTPGRE is only useful for PPTP tunnelling. If you are not doing PPTP then don't bother with it. This is why it's called NETGRAPH_PPTPGRE not NETGRAPH_GRE. If you ARE doing PPTP, then you need to be running a PPP daemon such as mpd. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message