Re: iproute tunnel link problems

From: Pekka Savola (pekkas@netcore.fi)
Date: Mon Aug 26 2002 - 00:24:04 EST


On Mon, 26 Aug 2002, Chris Hellberg wrote:
> ip tunnel add tunnel1 mode gre remote xxx.xxx.xxx.xxx local xxx.xxx.xxx.xx
> ip link set up tunnel1
> ip link set tunnel1 multicast on
> ip address add 192.168.102.6/30 dev tunnel1

/sbin/ip addr add xxx/30 peer yyy dev tunnel1

>
> ip addr gives me a tunnel of the following:
>
> 79: tunnel1@NONE: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1476 qdisc noqueue
> link/gre xxx.xxx.xxx.xxx peer xxx.xxx.xxx.xxx
> inet 192.168.102.6/30 scope global tunnel1
>
> The problem is when running pimd and trying to establish neighbourships
> across the tunnel fails as pimd thinks 192.168.102.5 isn't directly
> connected:
>
> 20:39:10.359 Ignoring PIM_HELLO from non-neighbor router 192.168.102.5
>
>
> However, if I issue the command:
>
> ifconfig tunnel1 dstaddr 192.168.102.5
>
> which specifies the other end of the tunnel, giving an output from ip
> addr to be:
>
> 79: tunnel1@NONE: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1476 qdisc noqueue
> link/gre xxx.xxx.xxx.xxx peer xxx.xxx.xxx.xxx
> inet 192.168.102.6 peer 192.168.102.5/30 scope global tunnel1
>
> I can't seem to find an equivalent dstaddr command in the iproute set of
> tools. Is there such a command, or a similar way to do this?
>
> Cheers,
>
> Chris
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

-- 
Pekka Savola                 "Tell me of difficulties surmounted,
Netcore Oy                   not those you stumble over and fall"
Systems. Networks. Security.  -- Robert Jordan: A Crown of Swords

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:01 EST