I
I
Igor Petrov2017-09-20 18:12:27
KVM
Igor Petrov, 2017-09-20 18:12:27

How to set up a bridge for KVM from an IPIP tunnel?

Hello!
I've been trying for 2 days to set up the correct bridge from the IPIP Tunnel, but nothing comes out, I ask for your help.
There is a server in the hezner, an IPIP Tunnel is thrown there with the transfer of a white IP address. This server is running Proxmox. Hezner network config:
auto tun0
iface tun0 inet static
address MY_PUBLIC_IP (Rolled IP from first data center)
netmask 255.255.255.248
pointopoint 10.9.1.1
mtu 1350
pre-up /sbin/ip tunnel add tun0 mode ipip remote IP_1_DPC local IP_HEZNER dev eno1
post-up /sbin/ip ru add from MY_PUBLIC_IP lookup 17 priority 17
post-up /sbin/ip ro add default via 10.9.1.1 dev tun0 src MY_PUBLIC_IP table 17 mtu 1350 advmss 1310
pre-down /sbin/ip ro del default via 10.9.1.1 dev tun0 src MY_PUBLIC_IP table 17 mtu 1350 advmss 1310 pre
-down /sbin/ip ru del from MY_PUBLIC_IP lookup 17 priority 17
post-down /sbin/ip tunnel del tun0
configure the bridge so that I can use MY_PUBLIC_IP/29 on newly created VPS that are routed from the first server.
How to organize it correctly in proxmox?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question