OSPF over IP-Tunnel - How?

Hello,

I need a dynamic solution to distribute routes through IP-tunnels of connected clients.


Here one scenario:

3 routers A B and C with static routes. A connected with B. B connected with C.
There is an IP-tunnel from A to C. PPPoE-client is connecting with IP 172.28.0.1 to A.

How to distribute the IP of the PPPoE-client through the IP tunnel so that C knows that packets to 172.28.0.1 have to be routed through the IP tunnel?
(C should not route the packets to router B and then to A.)

Is there a solution with OSPF or with an other routing protocol? How to setup?

Regards
Tom

One example would be to use GRE interfaces at A & C. The IPsec tunnel can then secure the GRE traffic but the GRE interfaces allow you to create an A<>C subnet and even run routing protocols on the GRE interfaces.