GRE -> Bridge problm https://www.softaculous.com/board/index.php?tid=17763 <![CDATA[GRE -> Bridge problm]]> https://www.softaculous.com/board/index.php?tid=17763&tpg=1#p52997 If I ping from server 1 to IP bridge it works.]]> Fri, 11 Jun 2021 14:20:51 GMT https://www.softaculous.com/board/index.php?tid=17763&tpg=1#p52997 <![CDATA[GRE -> Bridge problm]]> https://www.softaculous.com/board/index.php?tid=17763&tpg=1#p52995
Is the bridge IP accessible from outside ?

Does it works when slaving the gre interface to that bridge ?]]>
Fri, 11 Jun 2021 08:30:05 GMT https://www.softaculous.com/board/index.php?tid=17763&tpg=1#p52995
<![CDATA[]]> https://www.softaculous.com/board/index.php?tid=17763&tpg=0#p52992
I made a GRE Tunnel to transfer a subnet / 29.

It's just that internet on VPS doesn't work outside because of the wrong bridge configuration.
Thank you!

PHP Code

 IP SV1x.158
IP SV2
x.242
IP 
/29x.192/29
Bridge
bridge0

SV1
:
ip tunnel add gre1 mode gre remote x.242 local x.158 ttl 255
ip link set gre1 up
ip route add x.192
/29 dev gre1

SV2
:
ip tunnel add gre1 mode gre remote x.158 local x.242 ttl 255
ip link set gre1 up
ip rule add from x.192
/29 table 666
ip route add 
default dev gre1 table 666
ip route add x.192
/29 dev bridge0 table 666
ip addr add x.193
/29 dev bridge0

SV 2 
- /etc/sysconfig/network-scripts/ifcfg-bridge0
DEVICE
=bridge0
TYPE
=Bridge
ONBOOT
=yes
BOOTPROTO
=static
IPADDR="x.194"
NETMASK="x.248"
GATEWAY="x.193"

SV 2 - /etc/sysconfig/network-scripts/ifcfg-eth0
# Created by cloud-init on instance boot automatically, do not edit.
#
BOOTPROTO=dhcp
DEVICE
=eth0
HWADDR
=fa:16:3e:9a:2f:d2
MTU
=1500
ONBOOT
=yes
TYPE
=Ethernet
USERCTL
=no 

]]>
Thu, 10 Jun 2021 22:55:43 GMT https://www.softaculous.com/board/index.php?tid=17763&tpg=0#p52992