[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRE Blues Open BSD -> Cisco



Try without creating an alias on the nic. Also, you need to create the 
route before you configure gre0.

HTH

Avijit

Shane Cosgrove wrote:

>I am trying to create a GRE tunnel on an OpenBSD 3.2 box running as a
>gateway with dsl on pppoe. Have configured as per man page etc as best as I
>am able (newbie) and I am not able to get the tunnel to work. Here is the
>config. This is an urgent requirement and I appreciate your assistance.
>
>In sysctl.conf
>#####################################
>net.inet.gre.allow=1
>
>
>
>On cisco router
>#####################################
>interface Tunnel1
> ip address x.x.103.241 255.255.255.252
> tunnel source x.x.96.233
> tunnel destination x.x.100.26
>
>
>
>
>On OpenBSD Box (output of ifconfig gre0)
>#####################################
>x.x.103.242 is an inet alias on the second nic which also handles a pppoe
>connection for dsl.
>
>gre0: flags=d011<UP,POINTOPOINT,LINK0,LINK2,MULTICAST> mtu 1450
>        physical address inet x.x.103.242 --> x.x.103.241
>        inet x.x.100.26 --> x.x.96.233 netmask 0xfffffffc
>
>
>
>Route add
>#####################################
>route add x.x.96.0/24 x.x.96.233
>
>
>
>Partial output of netstat -rn
>#####################################
>Internet:
>Destination        Gateway            Flags     Refs     Use    Mtu
>Interface
>default            172.31.18.95       UGS         3    90381   1492   tun0
>127/8              127.0.0.1          UGRS        0        0  33224   lo0
>127.0.0.1          127.0.0.1          UH          2        0  33224   lo0
>172.31.18.95       x.x.100.26     	  UH          1        0   1492   tun0
>x.x.96/24       	 x.x.96.233         UGS         0        0      -   gre0
>x.x.96.233         x.x.100.26         UH          1        0      -   gre0
>x.x.100/24         link#2             UC          0        0      -   sis1
>x.x.103.240        link#2             UHL         1        0      -   sis1
>=>
>x.x.103.240/30     link#2             UC          0        0      -   sis1
>x.x.103.242        127.0.0.1          UGHS        0        0  33224   lo0
>
>I have tried a couple of variations on the above with no effect. The gre
>tunnel is not coming up. Have I forgotten to check something? Is there some
>debugging commands I could use to trouble shoot this? Thanks in advance.
>
>Shane Cosgrove
>www.networksmm.com.au
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.488 / Virus Database: 287 - Release Date: 5/06/2003