Quantcast
Viewing all articles
Browse latest Browse all 170883

how to create IP redirect with vmbr1

Hi,
I have openvz containers on node, this node connected to eth0 (internet connection)
and eth1 (via vmbr1, for backups)
Backup drive Internal IP: 192.168.20.30
Server Internal IP: 192.168.20.35

/etc/network/interfaces:
Code:

# network interface settings
auto lo
iface lo inet loopback

iface eth0 inet manual

auto eth1
iface eth1 inet manual

auto vmbr0
iface vmbr0 inet static
        address  212.100.100.59
        netmask  255.255.255.192
        gateway  212.100.100.1
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

auto vmbr1
iface vmbr1 inet static
        address  192.168.20.35
        netmask  255.255.255.0
        bridge_ports eth1
        bridge_stp off
        bridge_fd 0

I just try to add eth1 to the containers, add internal IP, but it's didn't help
traceroute from container Going through 212.100.100.59 (internet IP)
* the internet IP is not the real IP...

Best Regards,
Star Network.

Viewing all articles
Browse latest Browse all 170883

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>