nwdiag - put multiple networks on the same level

93 views
Skip to first unread message

Alex Lam

unread,
Jul 17, 2018, 4:13:54 AM7/17/18
to blockdiag-discuss
Right now, the following code would put int1 and int2 on different level, with int1 higher than int2. But in real life, they are the same level on a network hierarchy. Is there anyway to put them on the same level in nwdiag?


nwdiag {
    network dmz {
        address = "210.83.2.0/24"
        web01 [address = ".1"];
        web02 [address = ".2"];
    }
    network int1 {
        address = "172.16.1.0/24";
        web01 [address = ".1"];
    }
    network int2 {
        address = "172.16.2.0/24";
        web02 [address = ".2"];
    }
}

Alex

Reply all
Reply to author
Forward
0 new messages