NutaNice Xperience

主にNutanix製品を検証したり触ったりした結果をつづっています。※このブログの内容は個人の見識や見解をもとに作成しています。参考にされる場合は自己責任でご活用ください。実際に製品を使用される場合は、メーカードキュメントの手順に従い実施してください。

【AOS 7.0】Nutanix AHVの仮想スイッチを確認② ブリッジチェーンの確認

※この記事は「AOS 7.0.xx」時点の情報をもとに作成しています。その後の機能アップデートについてはメーカーの公開情報をご確認ください。

この記事は、AHVにおけるOVSのブリッジチェーンの中身を確認する連載シリーズです。各記事には以下のリンクからアクセスできます。

 

前回の記事では、Nutanix AHVの仮想スイッチにおける、アップリンクやボンディングの設定をCLIから確認しました。今回は、AHVの仮想スイッチを構成するOVSのブリッジチェーン構造をCLIから確認してみます。

目次

1.今回の環境

AHVクラスタ: HPE DX360 Gen10 Plus(3ノード)
AOS: 7.0.1
AHV: 10.0.1
Prism Central: pc.2024.3.1.1
test-VMWindows Server 2022

環境は以下のイメージで、一般的なNutanixの3ノードクラスタです。

2. AHVの仮想スイッチと仮想ネットワーク

前回の記事同様、Nutanix AHVにおける仮想スイッチのイメージ図は、▽以下の通りです。

3.OVSのブリッジチェーン

AHVにおける「br0」といった仮想スイッチの実体は、以下のようにいくつかのOVSブリッジによるチェーン構造として構成されています。

今回はこの構造をCLIコマンドで確認してみます。

4. CLIからブリッジチェーンを確認

▽以下の図の通り、「br0」を構成するブリッジチェーンの確認です。

対象ノードのAHVにログインし、以下コマンドを実行します。

ovs-vsctl show

実行結果は以下の通りです。

[root@ahv-01 ~]# ovs-vsctl show
c90d1fd0-c680-47ee-9b87-f1bc8f8627a8
    Bridge br.microseg
        Port br.microseg.d
            Interface br.microseg.d
                type: patch
                options: {peer=br.nf.u}
        Port br.microseg
            Interface br.microseg
                type: internal
        Port br.microseg.u
            Interface br.microseg.u
                type: patch
                options: {peer=br.mx.d}
    Bridge br.nf
        Port br.nf.d
            Interface br.nf.d
                type: patch
                options: {peer=br.dmx.u}
        Port br.nf
            Interface br.nf
                type: internal
        Port br.nf.u
            Interface br.nf.u
                type: patch
                options: {peer=br.microseg.d}
    Bridge br.mx
        Port br.mx.d
            Interface br.mx.d
                type: patch
                options: {peer=br.microseg.u}
        Port br.mx.u.br0
            Interface br.mx.u.br0
                type: patch
                options: {peer=br0.local.d}
        Port br.mx
            Interface br.mx
                type: internal
    Bridge br0
        Port br0.u
            Interface br0.u
                type: patch
                options: {peer=br.dmx.d.br0}
        Port vnet0
            Interface vnet0
        Port br0-dhcp
            Interface br0-dhcp
                type: vxlan
                options: {key="1", remote_ip="172.22.1.53"}
        Port br0
            Interface br0
                type: internal
        Port br0-arp
            Interface br0-arp
                type: vxlan
                options: {key="1", remote_ip="192.168.5.2"}
        Port br0-up
            Interface eth1
            Interface eth0
        Port vnet2
            Interface vnet2
    Bridge br0.local
        Port tap1
            tag: 2205
            Interface tap1
        Port br0.local
            Interface br0.local
                type: internal
        Port tap0
            tag: 0
            Interface tap0
        Port br0.local.d
            Interface br0.local.d
                type: patch
                options: {peer=br.mx.u.br0}
    Bridge brSpan
        fail_mode: secure
        Port brSpan
            Interface brSpan
                type: internal
    Bridge br.dmx
        Port br.dmx
            Interface br.dmx
                type: internal
        Port br.dmx.u
            Interface br.dmx.u
                type: patch
                options: {peer=br.nf.d}
        Port br.dmx.d.br0
            Interface br.dmx.d.br0
                type: patch
                options: {peer=br0.u}
    ovs_version: "3.3.2"
[root@ahv-01 ~]# 

コマンドの実行結果が長いので、次回の記事で内容の解説をしたいと思います。

今回はこの辺で。