All of lore.kernel.org
 help / color / mirror / Atom feed
From: bengan@bag.org
To: netdev@vger.kernel.org
Subject: ipsec and gre on the same interface
Date: Thu, 27 May 2010 11:28:57 +0200	[thread overview]
Message-ID: <201005271128.57865.bengan@bag.org> (raw)

Hi,

I've got a set up with two boxes (routers) with ipsec and gre (quagga for the 
routing) that works but that includes 2 different interfaces in each box. But 
I would like to do this in a box with only one interface for ipsec and gre. Is 
that possible? In a vmware setup I have eth0 and eth1 as my two interfaces and 
established an endpoint for the gre tunnel in eth1 I can get ipsec and gre 
running and forwarding packets. But when I want to do the same thing with only 
one interface it doesn't work.

Am I doing something really stupid or should this work? If I'm doing something 
really stupid could you explain what?


The setup

Working setup

       ****          ****                                                 
       *  *----------*  *                                                 
       ****          ****                                                 
              ipsec                                                            
           <-------->                                                     

              gre 
       <----------------> 



The setup I would like to get working

       ****          ****                                                 
       *  *----------*  *                                                 
       ****          ****                                                 
              ipsec                                                            
           <-------->                                                     

              gre 
           <--------> 


regards,


/bengan

                 reply	other threads:[~2010-05-27  9:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201005271128.57865.bengan@bag.org \
    --to=bengan@bag.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.