Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've set up a tunnel:

$ ip tunnel add mytunnel mode gre remote x.x.x.x local y.y.y.y ttl 255
$ ip link set mytunnel up
$ ip address add dev mytunnel
$ ifconfig mytunnel up

Now, I can ping, so the tunnel is up and running right. I want all of the IPs for a specified destination ,, to go through this tunnel. Some are binded to some VLAN interfaces locally, some remote that use me as a gateway.

I've tried

$ ip ro add somedest/24 via dev mytunnel

Doing ping somedest -I fails, did a tcpdump and nothing shows up as going through the tunnel.

Am I doing it wrong? What could be the problem?

share|improve this question
what are you using to configure this? EDIT: where did come from? is that a device on the other end of the tunnel? – Sylvester the Cat Nov 1 '12 at 0:28

You must log in to answer this question.

Browse other questions tagged .