Barnet will travel to the Liberty Stadium to take on Swansea City in the first round of the Carling Cup on Tuesday, August 10.
The two sides were paired together in last week's draw.
The game will take place just a few days after Barnet's first league match, at Chesterfield on Saturday, August 7.
It is sure to be a tough test for Mark Stimson's side, as the Swans just missed out on promotion to the Premier League last season.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here