09-08-2006 03:15 AM - edited 03-03-2019 04:52 AM
Please give me command wise configuration about creating tunnel in router as:
tunnel ip address:-
destination ip
source ip:-
any other command
09-08-2006 03:19 AM
Here's a sample config:
interface tunnel1
ip address 10.1.1.1 255.255.255.0
tunnel source 192.168.1.1
tunnel destination 192.168.1.2
Paresh
09-08-2006 03:31 AM
Ensure the tunnel destination is reachable via global routing and not routed via the tunnel interface.
As the tunnel is up if the source address is up use keepalives if you want the tunnel to go down when the destination is not available
09-08-2006 03:57 AM
Jed,
Can u elaborate what u wanted to say.regarding
"Ensure the tunnel destination is reachable via global routing and not routed via the tunnel interface.
As the tunnel is up if the source address is up use keepalives if you want the tunnel to go down when the destination is not available " ?
09-08-2006 04:21 AM
Hello Sunil,
I guess what Jed wants to stress is that prior to IOS 12.2(8)T, a tunnel interface would not go down even if the underlying physical connection would go down. As of IOS 12.2(8)T, you can configure keepalives on the tunnel interface, which cause the interface to go down when the keepalives are missed.
Check this document for details:
Cisco IOS Software Releases 12.2 T
Generic Routing Encapsulation (GRE) Tunnel Keepalive
http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a0080087cec.html
As for the tunnel configuration itself, in addition to a basic GRE tunnel as mentioned in the post above, there are additional ways to configure a tunnel. In the links below, you find many configuration examples:
Generic Routing Encapsulation (GRE)
Introduction
IPSec Negotiation/IKE Protocols
Configuration Examples and TechNotes
http://www.cisco.com/en/US/customer/tech/tk583/tk372/tech_configuration_examples_list.html
Regards,
GNT
09-10-2006 02:49 PM
09-08-2006 07:42 AM
Hi ,
You need to do following command
interface Tunnel16
description "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
bandwidth 1024
ip address x.x.x.x
ip mtu 1400
ip tcp adjust-mss 1412 ( This is command is very much important to make tunnel operational and flow of traffic with out any problem )
keepalive 5 3
tunnel source Loopback16
tunnel destination X.X.X.X
end
This will solve your problem, please rate this.
-Minu
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide