Iproute/Tunneling Problem

Stefan Laudat (stefan@ns.asit.ro)
Fri, 12 Feb 1999 18:16:53 +0200


Hello all,

I've encountered some problems in using the iproute tool under 2.2.1. I'm pretty new in using
it so don't blame me O:-) I just wanted to establish a ipip tunnel betweeen 2 hosts (ns and zerg here),the iptunnel
utility contained in nettools 1.50 didn't want to compile on my libc5 machines so I've decided to use iproute. I've
added the 2 tunnels (ifconfig _doesn't_ show'em to me :-( ) and when I try adding routes ... see below :-(

[root@zerg]:~# ip tunnel show
tunl0: ip/ip remote any local any ttl inherit nopmtudisc
gre0: gre/ip remote any local any ttl inherit nopmtudisc
tunl1: ip/ip remote 212.93.158.1 local 212.93.129.104 ttl inherit
[root@ns]:~# ip tunnel show
tunl0: ip/ip remote any local any ttl inherit nopmtudisc
gre0: gre/ip remote any local any ttl inherit nopmtudisc
tunl1: ip/ip remote 212.93.129.104 local 212.93.158.1 ttl inherit
[root@ns]:~# ip route add 212.93.129.104 dev tunl1
RTNETLINK error: No such device

My kernel network configuration is:

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
CONFIG_NETLINK_DEV=y
CONFIG_FIREWALL=y
CONFIG_NET_ALIAS=y
# CONFIG_FILTER is not set
CONFIG_UNIX=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
CONFIG_IP_FIREWALL=y
CONFIG_IP_FIREWALL_NETLINK=y
CONFIG_NETLINK_DEV=y
CONFIG_IP_ALWAYS_DEFRAG=y
# CONFIG_IP_TRANSPARENT_PROXY is not set
CONFIG_IP_MASQUERADE=y
CONFIG_IP_MASQUERADE_ICMP=y
# CONFIG_IP_MASQUERADE_MOD is not set
# CONFIG_IP_ROUTER is not set
CONFIG_NET_IPIP=y
CONFIG_NET_IPGRE=y
CONFIG_IP_ALIAS=y
# CONFIG_ARPD is not set
CONFIG_SYN_COOKIES=y
# CONFIG_INET_RARP is not set
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y
# CONFIG_IPV6 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_BRIDGE is not set
# CONFIG_LLC is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
# CONFIG_CPU_IS_SLOW is not set

Is there any extra /dev file I have to build?
I have a /dev/route with a major of 36, so i think I did rtfm at least half right... I thought maybe
Alexey is busy so I've forwarded this mail to the list too.
Please help me if you have any suggestions.

Stefan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/