Cara menambah Bridge di proxmox

Bila dalam pc proxmox terdapat multi ether / NIC  bisa untuk pengetesan router misal mikrotik

-nano /etc/network/interface

 

auto lo
iface lo inet loopback

iface eno2 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.25.212
netmask 255.255.255.0
gateway 192.168.25.1
bridge_ports eno2
bridge_stp off
bridge_fd 0

iface eno1 inet manual

auto vmbr1
iface vmbr1 inet static
#address 192.168.25.212
#netmask 255.255.255.0
#gateway 192.168.25.1
bridge_ports eno1
bridge_stp off
bridge_fd 0

iface eno3 inet manual

auto vmbr2
iface vmbr2 inet static
bridge_ports eno3
bridge_stp off
bridge_fd 0

iface eno4 inet manual
auto vmbr3
iface vmbr3 inet static
bridge_ports eno4
bridge_stp off
bridge_fd 0

iface eno5 inet manual
auto vmbr4
iface vmbr4 inet static
bridge_ports eno5
bridge_stp off
bridge_fd 0

iface eno6 inet manual
auto vmbr5
iface vmbr5 inet static
bridge_ports eno6
bridge_stp off
bridge_fd 0

iface eno7 inet manual

auto vmbr6
iface vmbr6 inet static
bridge_ports eno7
bridge_stp off
bridge_fd 0

iface eno8 inet manual
auto vmbr7
iface vmbr7 inet static
bridge_ports eno8
bridge_stp off
bridge_fd 0

iface enp6s0f0 inet manual
auto vmbr8
iface vmbr8 inet static
bridge_ports enp6s0f0
bridge_stp off
bridge_fd 0

iface enp6s0f1 inet manual
auto vmbr9
iface vmbr9 inet static
bridge_ports enp6s0f1
bridge_stp off
bridge_fd 0

-add bridge dengan command , bisa di masukan ke rc.local atau di buat bash script

brctl addbr vmbr1
brctl addif vmbr1 eno1
sleep 10s
brctl addbr vmbr2
brctl addif vmbr2 eno3
sleep 10s
brctl addbr vmbr3
brctl addif vmbr3 eno4
sleep 10s
brctl addbr vmbr4
brctl addif vmbr4 eno5
sleep 10s
brctl addbr vmbr5
brctl addif vmbr5 eno6
sleep 10s
brctl addbr vmbr6
brctl addif vmbr6 eno7
sleep 10s
brctl addbr vmbr7
brctl addif vmbr7 eno8
sleep 10s
brctl addbr vmbr8
brctl addif vmbr8 enp6s0f0
sleep 10s
brctl addbr vmbr9
brctl addif vmbr9 enp6s0f1

Baca Juga :  Cara Upload Image ISO pada Proxmox untuk Pemula

-hasil nya bisa di lihat

:/home# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master vmbr1 state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:e6:8a brd ff:ff:ff:ff:ff:ff
3: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP group default qlen 1000
link/ether 0c:c4:7a:97:e6:8b brd ff:ff:ff:ff:ff:ff
4: eno3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master vmbr2 state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:e6:8c brd ff:ff:ff:ff:ff:ff
5: eno4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master vmbr3 state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:e6:8d brd ff:ff:ff:ff:ff:ff
6: eno5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master vmbr4 state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:e6:8e brd ff:ff:ff:ff:ff:ff
7: eno6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master vmbr5 state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:e6:8f brd ff:ff:ff:ff:ff:ff
8: eno7: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master vmbr6 state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:ee:06 brd ff:ff:ff:ff:ff:ff
9: eno8: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master vmbr7 state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:ee:07 brd ff:ff:ff:ff:ff:ff
10: enp6s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master vmbr8 state DOWN group default qlen 1000
link/ether 00:1b:21:bc:15:e4 brd ff:ff:ff:ff:ff:ff
11: enp6s0f1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop master vmbr9 state DOWN group default qlen 1000
link/ether 00:1b:21:bc:15:e6 brd ff:ff:ff:ff:ff:ff
12: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 0c:c4:7a:97:e6:8b brd ff:ff:ff:ff:ff:ff
inet 192.168.25.212/24 brd 192.168.25.255 scope global vmbr0
valid_lft forever preferred_lft forever
inet6 fe80::ec4:7aff:fe97:e68b/64 scope link
valid_lft forever preferred_lft forever
13: vmbr1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:e6:8a brd ff:ff:ff:ff:ff:ff
14: vmbr2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:e6:8c brd ff:ff:ff:ff:ff:ff
15: vmbr3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:e6:8d brd ff:ff:ff:ff:ff:ff
16: vmbr4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:e6:8e brd ff:ff:ff:ff:ff:ff
17: vmbr5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:e6:8f brd ff:ff:ff:ff:ff:ff
18: vmbr6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:ee:06 brd ff:ff:ff:ff:ff:ff
19: vmbr7: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 0c:c4:7a:97:ee:07 brd ff:ff:ff:ff:ff:ff
20: vmbr8: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:1b:21:bc:15:e4 brd ff:ff:ff:ff:ff:ff
21: vmbr9: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:1b:21:bc:15:e6 brd ff:ff:ff:ff:ff:ff
22: tap102i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UNKNOWN group default qlen 1000
link/ether 42:10:34:1b:74:22 brd ff:ff:ff:ff:ff:ff
23: tap102i1: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr1 state UNKNOWN group default qlen 1000
link/ether 06:5b:2c:7b:0d:53 brd ff:ff:ff:ff:ff:ff
24: tap102i2: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr2 state UNKNOWN group default qlen 1000
link/ether 2e:21:09:dc:5e:31 brd ff:ff:ff:ff:ff:ff
25: tap102i3: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr3 state UNKNOWN group default qlen 1000
link/ether aa:ec:dc:b7:5d:4d brd ff:ff:ff:ff:ff:ff
26: tap102i4: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr4 state UNKNOWN group default qlen 1000
link/ether 56:24:82:5f:2c:ac brd ff:ff:ff:ff:ff:ff
27: tap102i5: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr5 state UNKNOWN group default qlen 1000
link/ether ba:fe:46:86:bf:e6 brd ff:ff:ff:ff:ff:ff
28: tap102i6: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr6 state UNKNOWN group default qlen 1000
link/ether da:f2:00:b2:61:a0 brd ff:ff:ff:ff:ff:ff
29: tap102i7: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr7 state UNKNOWN group default qlen 1000
link/ether 92:d7:43:73:4d:19 brd ff:ff:ff:ff:ff:ff
30: tap102i8: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr8 state UNKNOWN group default qlen 1000
link/ether 6e:ed:9b:0e:fc:78 brd ff:ff:ff:ff:ff:ff
31: tap102i9: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr9 state UNKNOWN group default qlen 1000
link/ether da:ed:ab:ea:d3:4b brd ff:ff:ff:ff:ff:ff

Baca Juga :  Cara Install VPS Ubuntu dengan Proxmox Template untuk Pemula
Klik untuk berbagi dengan orang lain
%d bloggers like this: