cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5518
Views
0
Helpful
6
Replies

ipip tunnel on cisco 1841

AlonStyle
Level 1
Level 1

Hi,

i want to configure ipip tunnle on cisco 1841 device.

two tunnles (tunnle 100 and tunnle 200)

i configured Fe0/0 ip address: 10.10.10.4

And the tunnels configuration is:

interface Tunnel100

ip address 50.50.50.50 255.255.255.0

ip helper-address 192.90.91.1

tunnel source 10.10.10.4

tunnel destination 10.10.10.3

tunnel mode ipip

!

interface Tunnel200

ip address 60.60.60.60 255.255.255.0

ip helper-address 192.90.91.1

tunnel source 10.10.10.8

tunnel destination 10.10.10.7

tunnel mode ipip

now only tunnle 100 is working fine.

if i changing the Fe0/0 ip address to 10.10.10.8

only tunnle 200 is working.

i cannot configure both ip addresses:

10.10.10.4 and 10.10.10.8 on the same router because they on the same subnet.

what can i do?

another question, what is the meaning of configuring the "ip address" command inside tunnel configuratiom mode? in what situations this ip is used? cause as much as i know the tunnle using the ip address on the interface which through it passes.

Thanks for your help!

Alon

6 Replies 6

a.alekseev
Level 7
Level 7

show the output "sh run int f0/0"

Cisco1841-IPIP#sh run interface fastEthernet 0/0

Building configuration...

Current configuration : 126 bytes

!

interface FastEthernet0/0

ip address 10.10.10.4 255.255.255.0

ip helper-address 192.90.91.1

duplex auto

speed auto

end

interface Tunnel100

ip address 50.50.50.50 255.255.255.0

ip helper-address 192.90.91.1

tunnel source 10.10.10.4

tunnel destination 10.10.10.3

tunnel mode ipip

!

interface Tunnel200

ip address 60.60.60.60 255.255.255.0

ip helper-address 192.90.91.1

tunnel source 10.10.10.4

tunnel destination 10.10.10.7

tunnel mode ipip

and modify "destination" for the tunnel on 10.10.10.7.

thanks! it works.

what about the other question. can you advice?

"another question, what is the meaning of configuring the "ip address" command inside tunnel configuratiom mode? in what situations this ip is used? cause as much as i know the tunnle using the ip address on the interface which through it passes. "

Alon

In general we configure an IP address on an interface to activate processing of IP on that interface. That principle applies to the tunnel interface. You would configure an IP address on the tunnel interface to activate processing of IP on the tunnel.

Note that if you do not configure an IP address on the tunnel interface then the tunnel can come up and be active but it will not pass IP traffic through the tunnel. Back in times when there were multi protocol networks I would sometimes configure a tunnel to pass IPX traffic from one part of the network to another part of the network. In that case the tunnel did not have an IP address but did have an IPX address.

You ask when you would use the IP address that you configure on the tunnel and one example is that if you want to run a dynamic routing protocol like OSPF over the tunnel then the tunnel must have an IP address configured and OSPF must have a network statement that matches the IP address of the tunnel interface.

HTH

Rick

HTH

Rick

Thanks for the quick answer,

so, as i understand, in my case, the addresses of the tunnel's endpoints have no meaning and does not even have to be in the same subnet?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco