Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > How do I make GRE tunnel specific to one interface

Reply
Thread Tools

How do I make GRE tunnel specific to one interface

 
 
jim@nospam.nospam
Guest
Posts: n/a
 
      12-07-2004
Is it possible to make a GRE tunnel specific to an interface? ie so only traffic from that interface can use the GRE
tunnel?

I want to configure Router A so that any traffic from the GRE tunnel gets sent to Ethernet 0, and any traffic from
Ethernet 0 gets sent over the GRE tunnel. I dont want any traffic from Ethernet 1 to be able to get to Ethernet0,
or the GRE tunnel.

Here is the config I have at the moment:

====== Router A ===========
interface Tunnel0
ip address 172.16.0.1 255.255.255.0
tunnel source 100.100.100.1
tunnel destination 200.200.200.1
!
interface FastEthernet0
description connected to Private LAN
ip address 10.0.0.1 255.255.255.0
!
interface FastEthernet1
description connected to Standard LAN
ip address 150.150.150.1 255.255.255.0
!
interface Serial0
description connected to Internet
ip address 100.100.100.1 255.255.255.252
!
ip route 0.0.0.0 0.0.0.0 Serial0
ip route 192.168.0.0 255.255.255.0 Tunnel0


Router B only has one ethernet card with a private network so is simpler. I want the routing for the FE0 to
be seperate from the routing for FE1 as if the two interfaces dont know about each other and each others
IP routing.

Thanks.

Jim.


 
Reply With Quote
 
 
 
 
Walter Roberson
Guest
Posts: n/a
 
      12-07-2004
In article <>,
am <Jim> wrote:
:Is it possible to make a GRE tunnel specific to an interface? ie so
nly traffic from that interface can use the GRE tunnel?

Yes, just configure the 'tunnel source' appropriately.


:I want to configure Router A so that any traffic from the GRE tunnel
:gets sent to Ethernet 0, and any traffic from Ethernet 0 gets sent over
:the GRE tunnel. I dont want any traffic from Ethernet 1 to be able to
:get to Ethernet0, or the GRE tunnel.

Ah, that's a slightly different question, as setting the tunnel
source wouldn't preclude the other traffic from being routed to
something that sent it back out through the interface marked as
the tunnel source.

What you should do is either use ACLs to block the traffic, if
it can be isolated to particular destination IPs [e.g., you don't
have a situation wanting there to be different default routes
for the different interfaces.] If there is overlap between the
IP ranges then you should set up a route map and use policy based
routing (PBR).

On some devices with some IOS versions, another approach would be to
set up VRF (Virtual Router Facility), which sort of partitions the
router as if it were separate routers with different routing
characteristics for each identified VRF.
--
History is a pile of debris -- Laurie Anderson
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GRE - Tunnel Interface Darren Green Cisco 5 10-04-2010 05:01 PM
GRE, importance of IP address for tunnel interface Prasanna Cisco 3 01-31-2009 12:57 AM
GRE Tunnel up/up Cannot ping tunnel interface tsvanduyn@yahoo.com Cisco 6 03-09-2006 01:33 AM
DECnet over GRE tunnel with serial interface parislubis@yahoo.com Cisco 1 10-06-2005 03:09 PM
Termination of an IPSec VPN tunnel and a GRE Tunnel on one physical interface. John Ireland Cisco 1 11-11-2003 04:47 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57