script that kick wan dhcp on the same gw

i have 2 dsl which is dhcp 1 for browsing and 1 for gaming. my problem is since my provider give me a dhcp ip sometimes i get a same gateway.

can you please create me a script when i get the same gateway the 1 will kick and renew it.

anyone can help me