Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Fatih ASLAN
Fatih ASLAN

Posted on • Edited on

     

Ubuntu Netplan Bonding ve Vlan Yapılandırması

/etc/netplan/ altında ilgiliconfig yaml dosyası içerisinde aşağıdaki gibibond0 altındavlan 13 ve14 yapılandırmasını kendi ortamlarınız için uyarlayabilirsiniz.

network:version:2bonds:bond0:dhcp4:nointerfaces:[ens1f0,ens2f0]mtu:9000parameters:lacp-rate:fastmode:802.3adtransmit-hash-policy:layer2mii-monitor-interval:100ethernets:ens1f0:{}ens2f0:{}eno1:{}vlans:bond0.13:id:13link:bond0mtu:9000addresses:["10.1.13.99/24"]bond0.14:id:14link:bond0mtu:1500addresses:["10.1.14.99/24"]gateway4:10.1.14.1nameservers:search:[fatlan.com]addresses:["10.1.150.150","10.1.160.160"]
Enter fullscreen modeExit fullscreen mode

Akabinde yapılandırmanın geçerli olması için

sudo netplan apply
Enter fullscreen modeExit fullscreen mode

Aşağıdaki şekilde de bonding yapılandırmalarının doğruluğunu test edebilirsiniz

cat /proc/net/bonding/bond0mii-tool
Enter fullscreen modeExit fullscreen mode

Her ihtimale karşı ubuntu linux için sunucuyureboot etmek her zaman iyidir

sudo reboot
Enter fullscreen modeExit fullscreen mode

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

fatlan.com
  • Location
    ::1
  • Work
    🐧 🌥 🐳 ☸️ DevOps|Linux Engineer & Instructor
  • Joined

More fromFatih ASLAN

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp