I have a laptop (Arch Linux with XFCE) that when I use at home I connect to the internet with either a wired connection on eth0 or with wifi on wlan0. At work I connect to the internet with wifi on wlan0 and to shared resources on a LAN via the wired connection on eth0. All IP addresses are obtained through DHCP.
My issue is that at work I can either be connected to the internet or the LAN but not both at the same time. Both eth0 and wlan0 have the correct ip addresses, but I am unable to access the internet when the wired connection is established. Is there an easy way to fix this?