I have a couple of problems with the following diagram:
@startuml
nwdiag {
ISP_A [ shape = cloud];
ISP_A -- routerA;
ISP_B [ shape = cloud];
ISP_B -- routerB;
network RED {
address = "192.168.8.0/24"
color = red
routerA [address = "192.168.8.1"];
routerB [address = "192.168.8.2"];
Firewall [address = "192.168.8.x"];
}
network ORANGE {
address = "192.168.9.0/24
color = orange
Firewall [address = "192.168.9.1"];
WebServer [address = "192.168.7.x"];
OtherServer [address = "192.168.7.x"];
}
network GREEN {
address = "192.168.7.0/24
color = palegreen
Firewall [address = "192.168.7.1"];
controller [address = "192.168.7.x"];
workstation [address = "192.168.7.x"];
}
group {"WebServer"
color = "#aaaaFF";
description = "LXD Server";
Firewall;
WebServer;
OtherServer;
}
}
@enduml
First (minor) problem is rendering of ISP/router on top is not symmetrical and "ISP_B" has a up-going connection which shouldn't be there.
Second is "WebServer" and "OtherServer" have a connection to GREEN which is completely wrong.
Note these connections will disappear (and the diagram is OK) if the "group" stanza is removed.
UPDATE: testing with online server (possibly a different version if PlantUML jar) second problem disappears, but first one is still there (a bit different though: ISP_B does not appear at all).
In any case trying to connect both routers to the same ISP results in a mess.
Is there a workaround?