Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2001 07:43:53 -0400
From:      "Brent" <brentb@loa.com>
To:        <freebsd-questions@FreeBSD.ORG>
Cc:        <freebsd-stable@FreeBSD.ORG>
Subject:   NETGRAPH_PPTPGRE....gre-tun  ..help ??
Message-ID:  <002601c0cd7d$0140bd80$3ab4a8c0@kronos>

next in thread | raw e-mail | index | archive | help
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 ???





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?002601c0cd7d$0140bd80$3ab4a8c0>