Apple Mac Network Preferences
Discussion
I'm sure this is really straight forward but I can't see it.
My broadband modem is connected to my mac via an ethernet cable and I can connect wirelessly too. In network preferences I have both wireless connection and the ethernet connection configured. My question is, how do I know (and control) if the Mac is connecting wirelessly or via ethernet to the modem?
My broadband modem is connected to my mac via an ethernet cable and I can connect wirelessly too. In network preferences I have both wireless connection and the ethernet connection configured. My question is, how do I know (and control) if the Mac is connecting wirelessly or via ethernet to the modem?
If you only need one of the interfaces, select it in the left hand panel and left-click (or use the 'gear' button at the bottom) and select 'Make Service Inactive' - this will turn off one of them.
If you need to know which one is being used... well IIRC unix will use either depending on the route. You can go into the Terminal, type 'ifconfig' and it'll tell you the names of the interfaces and which ones have IP addresses - if both your interfaces have given you a valid IP address then your default route will be the one it uses.
It's just BSD unix when it comes to networking so plenty of network gurus here could advise on how *exactly* the system chooses to route each packet, when you've got more than one valid interface that routes to the internet.
One way to check for a particular web address would be to use the terminal and the 'route' command. So if you want to know how your Mac gets to Pistonheads, type 'route get www.pistonheads.com' and it'll give you a list of which gateway it used - which will correspond to the IP address of one of your interfaces. It'll actually also explicitly say which interface it used too, so you'll know whether it's using ethernet or whatever.
If you need to know which one is being used... well IIRC unix will use either depending on the route. You can go into the Terminal, type 'ifconfig' and it'll tell you the names of the interfaces and which ones have IP addresses - if both your interfaces have given you a valid IP address then your default route will be the one it uses.
It's just BSD unix when it comes to networking so plenty of network gurus here could advise on how *exactly* the system chooses to route each packet, when you've got more than one valid interface that routes to the internet.
One way to check for a particular web address would be to use the terminal and the 'route' command. So if you want to know how your Mac gets to Pistonheads, type 'route get www.pistonheads.com' and it'll give you a list of which gateway it used - which will correspond to the IP address of one of your interfaces. It'll actually also explicitly say which interface it used too, so you'll know whether it's using ethernet or whatever.
You can set the service order in the gear tools menu underneath the network preferences pane thingy. Just move whichever one you want to have priority to the top. I have a spare MacBook that connects to the Internet via wifi on a different connection, but is connected to my network via Ethernet, so I can access it.
mattley said:
I just tried this and checked the network usage by interface in iStat and it's using the cabled connection which makes sense.
Dunno how to control it without disabling one of the interfaces.
Go into the menu I said, and add the one you want it to use, and put it to the top. Dunno how to control it without disabling one of the interfaces.

Edited by Blue Meanie on Monday 3rd May 20:26
Blue Meanie said:
mattley said:
I just tried this and checked the network usage by interface in iStat and it's using the cabled connection which makes sense.
Dunno how to control it without disabling one of the interfaces.
Go into the menu I said, and add the one you want it to use, and put it to the top. Dunno how to control it without disabling one of the interfaces.

Tks
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


