Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : GRE -> Bridge problm



Threaded Mode | Print  

 GRE -> Bridge problm (2 Replies, Read 4709 times)
Idoosj6e3
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hello,

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 

IP: --   

GRE -> Bridge problm
jevingala
Group: Virtualizor Team
Post Group: Super Member
Posts: 739
Status:
Hi,

Is the bridge IP accessible from outside ?

Does it works when slaving the gre interface to that bridge ?

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/
IP: --   

GRE -> Bridge problm
Idoosj6e3
Group: Member
Post Group: Newbie
Posts: 2
Status:
I can't connect to IP Bridge.
If I ping from server 1 to IP bridge it works.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 29, 2024, 11:53 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.161