Home Tutorial Setting Proxmox VE multi IP Public menggunakan metode Bridge
formats

Setting Proxmox VE multi IP Public menggunakan metode Bridge

Published on January 18, 2016, by in Tutorial.

Pada server vps proxmox kita yang menggunakan multi ip public, ada cara yang lebih simple dari postingan sebelumnya yaitu menggunakan metode bridge.

Langsung masuk menggunakan user root pada server proxmox kita, buka net work  interface :

# nano /etc/network/interfaces

Lakukan seting ip seperti berikut :

auto lo

iface lo inet loopback

auto eth1

iface eth1 inet manual

# interface eth0

auto vmbr0

iface vmbr0 inet static

address 111.242.105.77

netmask 255.255.255.248

gateway 111.242.105.78

bridge_ports eth1

bridge_stp off

bridge_fd 0

bridge_maxwait 0

# interface eth1

auto vmbr1

address 10.10.10.1

netmask 255.255.255.0

bridge_ports none

bridge_stp off

bridge_fd 0

# routing

post-up echo 1 > /proc/sys/net/ipv4/ip_forward

post-up iptables -t nat -A POSTROUTING -s ‘10.10.10.0/24’ -o eth1 -i MASQUERADE

post-down iptables -t nat -D POSTROUTING -s ‘10.10.10.0/24’ -o eth1 -i MASQUERADE

Save konfigurasi diatas, restrat server kita.

Demikian semoga bermanfaat.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *