1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

UML図ではない。
networkの構成を記述するのによい。

network
https://plantuml.com/ja/nwdiag

スクリーンショット 2025-06-25 151145.png

上記図をもとに詳細かしてみた。

dmz: DeMilitarized Zone

plantuml
@startuml

nwdiag {
  group nightly {
    color = "#FFAAAA";
    description = "<&clock> Restarted nightly <&clock>";
    web02;
    db01;
  }
  network dmz {
      address = "210.x.x.x/24"

      user [description = "<&person*4.5>\n user1"];
      // set multiple addresses (using comma)
      web01 [address = "210.x.x.1, 210.x.x.20",  description = "<&cog*4>\nweb01"]
      web02 [address = "210.x.x.2",  description = "<&cog*4>\nweb02"];

  }
  network internal {
      address = "172.x.x.x/24";

      web01 [address = "172.x.x.1"];
      web02 [address = "172.x.x.2"];
      db01 [address = "172.x.x.100",  description = "<&spreadsheet*4>\n db01"];
      db02 [address = "172.x.x.101",  description = "<&spreadsheet*4>\n db02"];
      ptr  [address = "172.x.x.110",  description = "<&print*4>\n ptr01"];
  }
}
@enduml

利用者を一人足してみた。DHCPを記載予定

plantuml
@startuml

nwdiag {
  group nightly {
    color = "#FFAAAA";
    description = "<&clock> Restarted nightly <&clock>";
    web2;
    db1;
  }
  network dmz {
      address = "210.123.123.x/24"

      user1 [description = "<&person*4.5>\n user1"];
      // set multiple addresses (using comma)
      web1 [address = "210.123.123.123, 10.0.0.20",  description = "<&cog*4>\nweb1"]
      web2 [address = "192.123.123.124",  description = "<&cog*4>\nweb2"];

  }
  network internal {
      address = "172.16.x.x/16";

      web1 [address = "172.16.0.1"];
      web2 [address = "172.16.0.2"];
      db0 [address = "172.16.0.100",  description = "<&spreadsheet*4>\n db0"];
      db1 [address = "172.16.0.101",  description = "<&spreadsheet*4>\n db1"];
      pr1  [address = "172.16.0.110",  description = "<&print*4>\n pr1"];
      pr3  [address = "172.16.0.111",  description = "<&print*4>\n pr2"];
      user2 [description = "<&person*4.5>\n user2"];
      user3 [description = "<&person*4.5>\n user3"];      
  }
}
@enduml

Ref.

一目でわかるPlantUML
https://plantuml.com/ja/

PlantUML を使った UML の描き方
https://plantuml.com/ja/guide

シーケンス図
https://plantuml.com/ja/sequence-diagram

タイミング図
https://plantuml.com/ja/timing-diagram

ステートダイアグラム
https://plantuml.com/ja/state-diagram

ユースケース図
https://plantuml.com/ja/use-case-diagram

PlantUML
https://qiita.com/kaizen_nagoya/items/cb6802e6c7903efd1b46

職業訓練
https://qiita.com/kaizen_nagoya/items/95368b63fa21d64271ec

かんたんUML入門 改訂2版
https://qiita.com/kaizen_nagoya/items/1746cadd6cab7da49680

UML 1.4.2
https://www.omg.org/spec/UML/ISO/19501/PDF

JIS X 4170:2009(UML 1.4.2, ISO/IEC 19501:2005)
https://kikakurui.com/x4/X4170-2009-01.html#google_vignette

UML 2.1.2 Superstructure(ISO/IEC 19505-1:2012)
https://www.omg.org/spec/UML/2.1.2/Superstructure/PDF/

UML 2.1.2 Infrastructure(ISO/IEC 19505-2:2012)
https://www.omg.org/spec/UML/2.1.2/Infrastructure/PDF

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?