public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* Re: [PVE-User] Problem With Bond & VLANs - Help Please
@ 2024-08-18 11:14 duluxoz
  2024-08-18 14:07 ` Gilberto Ferreira
  0 siblings, 1 reply; 10+ messages in thread
From: duluxoz @ 2024-08-18 11:14 UTC (permalink / raw)
  To: pve-user

Hi All,

So I've finally got this working. It turns out I should have:

  * Used the command `bond-slaves` instead of `bond-members` (even
    though the online man page I looked up said that `bond-members` was
    the correct command because `bond-slaves` was no long "appropriate"
  * Set up by VLAN 200 under the vmbr0 bridge (ie iface vmbr0.200)
  * Didn't have to worry about setting up VLAN 100

Thanks to everyone who helped out - much appreciated  :-)

Cheers

Diulux-Oz
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PVE-User] Problem With Bond & VLANs - Help Please
@ 2024-08-16  7:36 duluxoz
  2024-08-16  8:05 ` Christian Kivalo
  2024-08-16  9:53 ` Stefan Hanreich
  0 siblings, 2 replies; 10+ messages in thread
From: duluxoz @ 2024-08-16  7:36 UTC (permalink / raw)
  To: pve-user

Hi All,

Disclaimer: I'm coming from an EL background - this is my first venture 
into Debian-world  :-)

So I'm having an issue getting the NICs, Bond, and VLANs correctly 
configured on a new Proxmox Node (Old oVirt Node). This worked on the 
old oVirt config (abit a different set of config files/statements).

What I'm trying to achieve:

  * Proxmox Node IP Address: 10.0.200.100/24, Tag:VLAN 200
  * Gateway: 10.0.200.1
  * Bond: NIC1 (eno0) & NIC2 (eno1), 802.3ad
  * VLAN bond0.100: 10.0.100.0/24, Gateway 10.0.100.1
  * VLAN bond0.200: 10.0.200.0/24, Gateway 10.0.200.1
  * NIC3 (eno2): 10.0.300.100/24 - not really relevant, as its not part
    of the Bond, but I've included it to be thorough

My /etc/network/interfaces file:

~~~
auto lo
iface lo inet loopback

iface eno0 inet manual

iface en01 inet manual

auto eno3
iface nic3 inet static
   address 10.0.300.100/24

auto bond0
iface bond0 inet manual
   bond-members nic1 nic2
   bond-mode 802.3ad
   bond-xmit-hash-policy layer2+3
   bond-miimon 100
   bond-downdelay 200
   bond-updelay 200

auto bond0.100
iface bond0.100 inet static
   address 10.0.100.0/24
   gateway 10.0.10.1
   vlan-raw-device bond0

auto bond0.200
iface bond0.200 inet static
   address 10.0.200.0/24
   gateway 10.0.200.1
   vlan-raw-device bond0

auto vmbr0
iface vmbr0 inet static
   address 10.0.200.100/24
   gateway 10.0.200.1
   bridge_porrts bond0
   bridge-fd 0
   bridge_stp off
   bridge-vlan-aware yes
   bridge-vids 100 200
   bridge-allow-untagged no
~~~

If someone could be kind enough to let me know where I'm going wrong, 
I'd really appreciate it - thanks (in advance)

Dulux-Oz
_______________________________________________
pve-user mailing list
pve-user@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-08-18 14:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-18 11:14 [PVE-User] Problem With Bond & VLANs - Help Please duluxoz
2024-08-18 14:07 ` Gilberto Ferreira
  -- strict thread matches above, loose matches on Subject: below --
2024-08-16  7:36 duluxoz
2024-08-16  8:05 ` Christian Kivalo
2024-08-16  9:43   ` duluxoz
2024-08-16  9:53 ` Stefan Hanreich
2024-08-16 10:42   ` duluxoz
2024-08-16 11:26     ` Gilberto Ferreira
2024-08-16 11:26     ` proxmox
2024-08-16 11:32     ` proxmox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal