I am running on Linux 188.8.131.52 and have been trying to setup a transparent ethernet over GRE tunnel. The network topology used is as follows:
I want to bridge PC1 and PC2 using Transparent Ethernet over GRE. RouterA is connected to internet via ppp0 as RouterB. Both internet connections are PPPOE (PPPoEoA PVCs).
So I do:
In RouterA (Linux 184.108.40.206):
ip link add testgre type gretap remote 220.127.116.11 local 18.104.22.168 ttl 255 brctl addif br0 testgre ip link set testgre up
In RouterB (Linux 22.214.171.124):
ip link add testgre type gretap remote 126.96.36.199 local 188.8.131.52 ttl 255 brctl addif br0 testgre ip link set testgre up
Some commands output:
In RouterA (similar output in RouterB):
# ip link show testgre 36: testgre: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1442 qdisc pfifo_fast state UNKNOWN qlen 1000 link/ether 5f:79:cd:4d:c6:57 brd c1:98:f3:ce:ff:ff # brctl show bridge name bridge id STP enabled interfaces br0 8000.5f79cd4dc657 no eth0.5 eth0.4 eth0.3 eth0.2 wlan0 testgre
Then I do PING request from PC1 to PC2:
I run tcpdump in RouterA and I see the ARP Request frame over ppp0 (pcap file opened with Wirehark):
I run tcpdump in RouterB attached to ppp1 and I see that the ARP Request has arrived, but its not forwarded at L2 to PC2. I don't see the ARP request in PC2.
I try with statics ARP entries but the ICMP Request has the same problem, it is not forwarded to PC2.
There are not ebtables rules. Nor iptables rules (Default action is ACCEPT for ebtables and iptables). Should I add ppp0 to bridge interface or something like that?