Difference between revisions of "Proxmox Network Configuration"
Jump to navigation
Jump to search
| (3 intermediate revisions by the same user not shown) | |||
| Line 39: | Line 39: | ||
down ip route del 10.161.69.3/32</nowiki> | down ip route del 10.161.69.3/32</nowiki> | ||
= Named Interfaces with VLANs (MGMT separated)= | = Named Interfaces with VLANs (MGMT separated) = | ||
<nowiki>auto vmbr0 | <nowiki>auto vmbr0 | ||
iface vmbr0 inet manual | iface vmbr0 inet manual | ||
| Line 52: | Line 52: | ||
address 10.13.12.111/24 | address 10.13.12.111/24 | ||
gateway 10.13.12.254 | gateway 10.13.12.254 | ||
# LAN | # LAN | ||
auto vmbr0.420 | auto vmbr0.420 | ||
| Line 69: | Line 70: | ||
bridge-stp off | bridge-stp off | ||
bridge-fd 0</nowiki> | bridge-fd 0</nowiki> | ||
= HTTP(S)-Proxy Configuration = | |||
<nowiki>/etc/profile.d/proxy.sh | |||
# set proxy config via profie.d - should apply for all users | |||
# http/https/ftp/no_proxy | |||
export http_proxy="http://192.168.200.254:3128" | |||
export https_proxy="http://192.168.200.254:3128" | |||
export no_proxy="127.0.0.1,localhost"</nowiki> | |||
<code>source /etc/profile.d/proxy.sh</code> | |||
Latest revision as of 10:07, 21 May 2025
Active/Passive Bonding with VLAN
auto bond0
iface bond0 inet static
bond-mode active-backup
bond-miimon 100
bond-slaves eno1 enp65s0f0np0
bond-primary enp65s0f0np0
bond-xmit-hash-policy layer2+3
auto vmbr0
iface vmbr0 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0.898
iface vmbr0.898 inet static
address 10.13.12.161/24
gateway 10.13.12.254
Simple Routed Setup for Cluster/Ceph (Config from PVE1)
# To PVE02
auto enp65s0f2np2
iface enp65s0f2np2 inet static
address 10.161.69.1
netmask 255.255.255.248
up ip route add 10.161.69.2/32 dev enp65s0f2np2
down ip route del 10.161.69.2/32
# To PVE03
auto enp65s0f3np3
iface enp65s0f3np3 inet static
address 10.161.69.1
netmask 255.255.255.248
up ip route add 10.161.69.3/32 dev enp65s0f3np3
down ip route del 10.161.69.3/32
Named Interfaces with VLANs (MGMT separated)
auto vmbr0
iface vmbr0 inet manual
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0.898
iface vmbr0.898 inet static
address 10.13.12.111/24
gateway 10.13.12.254
# LAN
auto vmbr0.420
iface vmbr0.420 inet manual
auto LAN
iface LAN inet manual
bridge-ports vmbr0.420
bridge-stp off
bridge-fd 0
# DMZ
auto vmbr0.69
iface vmbr0.69 inet manual
auto DMZ
iface DMZ inet manual
bridge-ports vmbr0.69
bridge-stp off
bridge-fd 0
HTTP(S)-Proxy Configuration
/etc/profile.d/proxy.sh # set proxy config via profie.d - should apply for all users # http/https/ftp/no_proxy export http_proxy="http://192.168.200.254:3128" export https_proxy="http://192.168.200.254:3128" export no_proxy="127.0.0.1,localhost"
source /etc/profile.d/proxy.sh