The domination number and the irredundance number of a graph have been considered by many authors. It is well known that holds for all graphs . In this paper we determine all pairs of connected graphs such that every graph containing neither nor as an induced subgraph satisfies .