Hi I am using windows 7 in vm for my business related work and I need to use host system which is fedora 21 disk or file sharing to sync between my files. but At work using corporate and host vm network needs some modifications.Here is what I have done. I have written a script to manuplate windows routing table.
route delete 0.0.0.0
route add 0.0.0.0 mask 0.0.0.0 172.16.0.1
Here I am deleting the default route because the vm network has better metric where I want to use external usb dongle which is redirected to the vm. Then I add it with hand and use vm network for directly connected network. by the way I made this command as runnnable script with bat extension and run with admin privilages because modifying routing table needs admin rights.