Macos – How to configure network with two routers under Mac OS X

macosnetworking

I have difficulties configuring network under Mac OS X. There is two routers. Router 1 has internet and I'm connecting to this via WIFI. Router 2 has no internet, but into this router is connected a Buffalo TeraStation (NAS).

Under Windows this was configured pretty easy:

  1. Wifi connected to router 1 via automatic DHCP
  2. LAN connected to router 2 via cable with manual IP 192.168.112, sub mask 255.255.255.0, default gateway not specified (as there can not be two under one system), DNS server 192.168.1.100

With this configuration under Windows I have internet access as well as full access to NAS (TeraStation).

In Mac OS X 10.8 I can't have both internet access and access the TeraStation at the same time. If I disable the WiFi adapter, I can access (see) TeraStation. If i will change settings on LAN adapter using automatic DHCP, i will have access to TeraStation, but no internet.

Best Answer

Really easy to solve on OSX.

My configuration:

  • wifi connect to exeternal world... network is 10.13.13.255 / 24
  • wifi configuration on mac on auto configuration
  • ethernet cable connected to an old wifi/modem/router (zyxel) that is NOT connected to phone line.. network 192.168.1.255 /24
  • ethernet configuration on mac auto "using DHCP"

What's Important

Set service order to have wi-fi before ethernet

In this way all connections go to wifi, but connections to 192... network go to ethernet. Your NAS is obviously on 192

WiFi Settings wifi settings

Ethernet Settings eth settings

Service Order service order

Service Order Config service order config

Related Question