GRE issues

D.D.W. Downey pgpkeys at pgpkeys.net
Fri Jun 4 00:01:59 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Trying to set up GRE here for routing a /29 to the house. I am using the 
following configuration and not sure what the problem is. I get a single 
packet through from the DSL box to the remote box then I get total packet 
loss. I can ping the 192.168.3.1 from 192.168.2.1 but not vis versa.
If i assign an IP to my rl0 on the DSL box from the AssignedBlock it pings 
locally but not from the internet. In fact it bounces back and forth between 
the upstream's and my gre tunnel over which that block's assignment is 
handed. Totally unsure what I'm doing wrong here.

Here's the setup:

NOTE: AssignedBlock, LocalIP and RemoteIP are internet IP addresses/blocks per 
box. 

On DSL box:

ifconfig gre1 create
ifconfig gre1 192.168.3.1 192.168.2.1 link1
ifconfig gre1 tunnel <LocalIP> <RemoteIP>
route add -net XXX.XXX.XXX.137/29 192.168.2.1

On remote box:

ifconfig gre1 create
ifconfig gre1 192.168.2.1 192.168.3.1 link1
ifconfig gre1 tunnel <LocalIP> <RemoteIP>
route add -net XXX.XXX.XXX.137/29 192.168.3.1

- -- 
D.D.W. Downey
CyberSpace Technologies, Inc.
AS64567-OCCAID


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAwB5tDQ32jEgJHCgRAmy6AJ9xBOL66Z91Lc5dp8kIfTZuWAcsiQCfRndA
xDSmFo3BqFxfAIBnxTA8TQ8=
=KzGJ
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list