Date: Fri, 27 Apr 2001 17:29:22 -0700 (PDT) From: Archie Cobbs <archie@dellroad.org> To: Brent <brentb@loa.com> Cc: freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: NETGRAPH_PPTPGRE....gre-tun ..help ?? Message-ID: <200104280029.f3S0TMj07579@arch20m.dellroad.org> In-Reply-To: <002601c0cd7d$0140bd80$3ab4a8c0@kronos> "from Brent at Apr 25, 2001 07:43:53 am"
next in thread | previous in thread | raw e-mail | index | archive | help
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<UP,POINTOPOINT,RUNNING,MULTICAST> 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-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104280029.f3S0TMj07579>