MOSCOW — Russia, which has long burnished athletic prowess as a symbol of its great-power status, faced its largest international sporting crisis since the Soviet era on Tuesday when the International Olympic Committee banned the country from competing in the 2018 Winter Games.

In a country that is a winter sports powerhouse, one covered by snow much of the year, the ban pitted the desire of ordinary Russians to cheer on their champion skaters, biathletes and hockey players against calls to boycott the games to show that an Olympics without Russia is no Olympics at all.

Beyond sports, the decision carried the whiff of history, when Olympic playing fields were an extension of Cold War battlefields. Back then, to be sure, the sources of conflict were rooted in political ideology, not in performance-enhancing drugs.

A number of senior Russian politicians and sporting officials demanded that Russia avoid the Winter Games in South Korea entirely, while others thought individual competitors should make the decision. The ban left open the door for athletes to compete as individuals, under the Olympic flag.

“The question now is to participate using this status, or not,” Aleksei Durnovo, a sports commentator on the Echo of Moscow radio station, said in an interview. “Some people think it’s humiliation to participate like this, others that we should, to allow the athletes an opportunity to compete.”

In Switzerland, Alexander Zhukov, the president of the Russian Olympic Committee, apologized “for violations of antidoping rules that were committed in our country,” though Russian officials have been steadfast that the problem was not systemic or sanctioned by the government. Mr. Zhukov was himself suspended on Tuesday.

President Vladimir V. Putin, the most important voice in the decision, was not heard from immediately. He had previously suggested that competing under anything other than the Russian flag would be “humiliating.”

Russia is expected to appeal.

There was also a political facet to it all, especially with Mr. Putin’s re-election campaign unrolling next February, as the games take place.

Some political analysts predicted that it would have no effect on Mr. Putin’s popularity — if anything it might increase his standing — as the president built his current popularity on the idea that he “brought Russia off its knees,” ending the perceived humiliations the West heaped on the ashes of the Soviet Union.

Other political analysts wondered whether the mounting scandals involving Russia might not begin to reverberate. There is the threat of new sanctions from the United States over election hacking, for example, as well as the investigation into the Trump campaign’s contacts with Moscow and a court case in the Netherlands over the shooting down of a Malaysia Airlines jetliner over Ukraine in 2014.

“There are too many fishy stories in the Kremlin’s relations with Europe and the U.S.,” said Aleksandr Morozov, a political analyst and frequent Kremlin critic, suggesting that the public would begin to trust the Kremlin less and Russia’s international reputation would further erode. “Moreover, the Kremlin does not want to investigate any of these scandals and publish its results, neither to its own society nor to the international community.”

State outlets like RT, the international television voice of the Russian government, went into overdrive attacking the international inquiry as an attempt to demean Russia, while ignoring questions about whether something was rotten in Russian sports. One of the main state broadcasters announced immediately that it would not show the games.

Hence most commentators thought public ire would likely focus on the international community, blamed again for singling out Russia unfairly, and perhaps the senior Russian sporting officials sanctioned by the I.O.C., but not on Mr. Putin himself.

Aleksandr Zubkov, who leads the federation of Russian bobsledders (and who was banned for life by the I.O.C.), said that it would be up to the individual athletes to decide whether to participate, as did Aleksei Kravtsov, the head of the skating union, according to the Interfax news agency.

Irina A. Avvakumova, a ski jumper, said she was inclined not to go but would consult her coaches.

“I don’t know how other athletes will react, but I was not training for many years to go and not participate for my own country,” she was quoted as saying by the Tass news agency.

Alexander Tikhonov, a former champion Soviet biathlete and previous head of the Russian association, encouraged athletes to go. “We have to prove to everyone that we’re the best,” he was quoted as saying by Championat.com, a sports website. “Competing without the anthem and the flag is not a treachery. We have to go and to give hell to everyone: to the Americans, to the whole world.”

On social media, some critics of participating in the games said athletes who went should lose their citizenship. Critics of the Olympic ban started a #NoRussiaNoGames account on Instagram. Arguments erupted on Twitter over whether the Russians should go as neutrals. One man suggested that the Olympians could be heroes without winning a single medal by not going, while another responded that going could strike a blow against excessive nationalism.

Television cameras focused on the glum faces of the Russian Olympic hopefuls watching the announcement made their perspective clear. There was great sympathy for the clean athletes who might now be barred from competing by a Russian boycott.

“This is a very sad story — Russia has a lot of athletes who are suspected of nothing in this story,” said Mr. Durnovo, the sports commentator. “These are people with a good reputation, they were never suspected of anything, why should they not go to the Olympics?”

Russian officials and sports figures tend to call the issue an extension of the current tensions between the West and Russia over issues like hacking the American election rather than a question of sports violations.

“We understand why this happened — this is an echo of political differences,” said Dmitry Svishchev, a member of Parliament’s sports committee and the president of the Russian Curling Federation.

Asked in October about possible action by the Olympic committee, Mr. Putin suggested it was an American plot and hinted at a boycott if there was either an outright ban on Russia or an order to compete under a neutral flag. “Either way, it is humiliating for our country,” he said.

Investigators did not find any direct link to Mr. Putin in the doping scandal, said Samuel Schmid, the former president of Switzerland who led the investigation.

Nineteen Russian athletes competed as neutrals in the World Championships in London last summer, but the Olympics are different.

They still resonate internationally as both a sporting and a political event, although the accumulation of scandals has perhaps diminished the global impact of historic matches like the 1972 Soviet victory over the previously undefeated American men’s basketball team.

A Russian film to be released this month celebrates that victory in a heavily nationalistic manner. “The Americans have to be defeated by someone at some point,” the coach says. “I thought that this should be us.”

Outside Russia, the current doping scandal seems centered around trying to clean up international sports. Russia, professing its innocence, has been trying to paint the fight as an extension of the Cold War tensions of old, when the United States led a boycott of the 1980 Summer Olympics in Moscow over its invasion of Afghanistan.

Almost 70 countries boycotted the Games that summer. Russia retaliated by boycotting the 1984 Summer Olympics in Los Angeles, taking some 14 of its Communist bloc allies with it.

The Soviet Union initially spurned the Olympics, then turned it into an arena to prove Communist achievements. Systemic doping proved part of the formula for some.

After the fall of the Berlin Wall, it was revealed that East Germany in particular ran a large state-sponsored doping program involving 10,000 athletes between 1968 and 1988.

There were hints along the way. The East German women swimmers did not win a single gold medal at the 1972 Munich Olympics, but claimed 11 of 13 gold medals in Montreal four years later. When American swimmers remarked that the East German women were the same size as the men, they were accused of being sore losers.

Like the Soviet Union, Mr. Putin invested in the Olympics as a means to burnish Russia’s international reputation and his own political fortunes. His public approval rating had been in steady decline before the 2014 Winter Olympics at Sochi, Russia.