参考URL

こんな感じ

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
graph lan_list{

    node[fontname = "Inconsolata" shape = circle];
    "WAN"[label = "WWW"];

    node[fontname = "Inconsolata" shape = circle];
    "192.168.1.1"[label = "Router\r192.168.1.1(GW)"];

        subgraph cluster_client {
            label = "Client";
            node[fontname = "Inconsolata" shape = circle];

            subgraph cluster_mac {
                label = "MacBook Pro";
                node[fontname = "Inconsolata" shape = box];
                "192.168.1.11"[label = "Mac-Cable\r192.168.1.11(en0)"];
                "192.168.1.12"[label = "Mac-Wifi\r192.168.1.12(en1)\rdown"];
            }

            subgraph cluster_kvm {
                label = "HP:192.168.1.99";
                node[fontname = "Inconsolata" shape = circle];
                "192.168.1.99"[label = "br0\r192.168.1.99"];

                subgraph cluster_guest {
                    label = "KVM";
                    node[fontname = "Inconsolata" shape = box];
                    "blue"[label = "blue\r192.168.1.101\r(eth0)"];
                    "young"[label = "young\r192.168.1.102\r(eth0)"];
                    "train"[label = "train\r192.168.1.103\r(eth0)"];
                }

                "192.168.1.99" -- "blue"[label = ""];
                "192.168.1.99" -- "young"[label = ""];
                "192.168.1.99" -- "train"[label = ""];
            }

        }

    "192.168.1.1" -- "192.168.1.99"; 
    "192.168.1.1" -- "192.168.1.11";
#    "192.168.1.1" -- "192.168.1.12";
    "WAN" -- "192.168.1.1";
}
1
"object"[label = "foo"];

な感じがあまりすっきり理解できてない。