In Linux, is there a way to automatically mount different network filers depending on depending on the network profile?
I have a laptop that moves from place to place and would like to mount or not mount different drives depending on where I am. Each location has a different network profile. If I'm at home DHCP would hand me an IP that's in my home range either on WiFi or ethernet. If I'm at work, DHCP would give me a another range. Depending on the network's profile, I want to mount different filers.
Is there something that already exists that accomplishes this?