My question is similar to this question, however with some change.
I have a PPPoE connection on my Linux Machine (CentOS kernal 2.6.32) as a client, so that when I setup this connection, another virtual tunnel interface comes up, i.e., ppp0
This connection is setup over existing the physical interface eth0. Now what I want is to create another virtual interface (Ethernet type not ppp type) and somehow map it (bridge) to this ppp0 interface, so that if I route the traffic to this virtual interface, it is in turn routed to this ppp0 interface and vice versa.
Have a look at this scenario:
Now originally what is happenening is that traffic from eth0 (LAN) should be able to exit depending upon routing to ppp0 or eth1 interface. However due to some limitation what i want is having a virtual tap interface and then reroute traffic from this itnerface to ppp0, so that the routing rule will select either eth1 or tap0, while tap0 will inturn use ppp0 interface:
Can you please tell me how I can do this, thanks.