Does Linux IPIP tunnelling work with Cisco NOS tunnels?

Does Linux IPIP tunnelling work with Cisco NOS tunnels?

Post by John Antyp » Sat, 12 Dec 1998 04:00:00



Subject says it all...

It appears that even older Ciscos support GRE and NOS tunnels.  If I'm
correct, the Linux IPIP tunnel _is_ a NOS tunnel.  This should work
right?

Many thanks
John Antypas

 
 
 

1. ipip tunnel won't tunnel

It is entirely possible that I'm just really thickheaded, and I'm not
getting something very fundamental, but either way I've got big problems
with ipip tunneling between a cisco with a network behind it and a linux
machine with a network behind it.

Here's the deal:
I have a network 111.111.111.0 netmask 255.255.255.192 that lives behind
the ehternet0 of a cisco with an address of 111.111.111.1 netmask
255.255.255.192. The serial side of the cisco lives at 222.222.222.1
netmask 255.255.255.252.

I have a network at the linux machine (2.0.34) that has a serial (ppp)
connection of 333.333.333.1 netmask 255.255.255.0 (sorry, you'll have to
put up with the 333's for now) and on the ethernet 0 side of the linux
box, i have 3 machines.

I want these three machines to have addresses in the network
111.111.111.64 netmask 255.255.255.192 (subnet of the class C from
ethernet 0 of the cisco, above).

Here's what I've told the cisco:
interface tunnel 0
ip address 111.111.111.65 255.255.255.192
tunnel source serial 0
tunnel destination 333.333.333.1 (this is the last time you have to
cringe over 333's)
tunnel mode ipip

Here's what I've told the linux machine
ifconfig tunl0 111.111.111.66 netmask 255.255.255.192
ifconfig eth0 111.111.111.66 netmask 255.255.255.192 (same ip as tunl0)

Now, at this point, sometimes I can ping 111.111.111.66 from the cisco,
but only once.  After the first time, I can never get a second shot.

I've also attempted this on the linux machine
ifconfig tunl0 111.111.111.66 netmask 255.255.255.192
ifconfig eth0 111.111.111.67 netmask 255.255.255.192 (diff ip, same net
as tunl0)

I've also attempted this on the linux machine
ifconfig tunl0 111.111.111.65 netmask 255.255.255.192 (same ip as
cisco's tunnel 0)
ifconfig eth0 111.111.111.66 netmask 255.255.255.192 (diff ip, same net
as tunl0)

and, yes, I've also attemted this on the linux machine
ifconfig tunl0 111.111.111.65 netmask 255.255.255.192 (same ip as
cisco's tunnel 0)
ifconfig eth0 111.111.111.65 netmask 255.255.255.192 (same ip as tunl0)

Sooner or later, all of these configurations route me out of the cisco
(I sit at the linux machine and have to drive to work to reset the
router [this gets very old very fast])

All of these configurations have been awfully close, though, I think.  I
think so, because I can usually manage a traceroute or a ping before the
whole work locks up.

I'm stumped.  All I want to do is route the .64 network from work to
here (home [yes, it's legit]).  All IP addresses used in this example
are to be considered real addresses (changed to protect the guilty).

I'll email a beer to the first person who comes up with an acceptable
solution.  I'm desparate, although that could just be from driving into
work 4 times today to reset the cisco...

I'd appreciate any help.

Jeff...

2. Why should we worry?...

3. VPN / IPIP-tunneling working?

4. setup opennap server

5. Does Linux 2.2.2+GRE and Cisco Tunnel actually work?

6. installing linux on COMPAQ

7. ipip tunnels in Linux 2.1.126

8. mmap

9. How to tunnel ip over GTP (GPRS Tunnelling Protocol)

10. ipip tunnels

11. IPIP tunnels

12. gated and ios: OSPF over ipip-tunnel

13. IPIP Tunnelling "Network is Unreachable"