If Iran goes offline, all the connections that would have routed through it now route around it, so the internet is resilient. i.e. it's resilient for all of Iran's neighbors who will be unaffected.
The network was designed to be resilient and continue existing even if the individual nodes are brittle. Iran taking their nodes offline doesn't destroy the entire internet.
That was the point (in the DARPA context of this thread) -- nuke takes out a city, network still functions and routes around it. So signals are still getting from SAC to DC or whatever.