League One leaders Blues will travel to Bloomfield Road with the club having a reunion with former manager Steve Bruce.
Harrogate Town's reward for upsetting Wrexham on Sunday is a home tie against Northern League Premier side Gainsborough Trinity, who overcame Hednesford Town in an incredible eight goal-thriller and 18-penalty shootout at Keys Park.
Walsall will play host to Charlton Athletic after their own comeback victory over Bolton Wanderers on Saturday.
Non-League Harborough Town have been given a eye-catching trip to Reading, while Brackley Town will be making the visit to Stockport County.
Meanwhile, National League side Tamworth have been handed a Staffordshire derby at Burton Albion after they shocked Huddersfield Town on Friday night.
Kettering Town go up against Doncaster Rovers, while non-league representation in the third round is guaranteed with Solihull Moors facing Bromley.
The ties will be played between Friday, November 29 and Monday, December 2.
FA Cup second round draw in full
Salford City vs. Cheltenham Town
Walsall vs. Charlton Athletic
Exeter City vs. Chesterfield
Leyton Orient vs. Oldham Athletic
Barnsley vs. Bristol Rovers
AFC Wimbledon vs. Dagenham & Redbridge
Accrington Stanley vs. Swindon Town
Crawley Town vs. Chesham United/Lincoln City
Burton Albion vs. Tamworth
Blackpool vs. Birmingham City
Stevenage vs. Mansfield Town
Peterborough United vs. Notts County
Stockport County vs. Brackley Town
Wealdstone vs. Wycombe Wanderers
Morecambe vs. Bradford City
Solihull Moors vs. Bromley
Kettering Town vs. Doncaster Rovers
Reading vs. Harborough Town
Harrogate Town vs. Gainsborough Trinity
Cambridge United vs. Wigan Athletic