Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Ethernet Routing Confusion

This is kind of a weird situation


I have a cablemodem providing 2 internet ip's


connected to the cablemodem is a gigabit ethernet switch


connected to the switch via Cat6 is my main mac workstation [Mac-A] and another cat6 is connecting the A1142 Airport Extreme's WAN port.

This Mac and the Airport are occupying the 2 cablemodem ip's



connected to the Airport Extreme via Cat6 is another mac [Mac-B] (this mac's wifi is switched off)


The Airport Extreme also happens to be providing wireless internet access for various other devices/airports


I've created a secondary ethernet service in the Network settings on both macs. This service is named "Ethernet Local"


My intention is to have both macs routing through the Airport Extreme via ethernet so I can employ jumbopackets exclusively between these machines.

I've accomplished this through the switch before, but my old network configuration trick from 9 years ago doesn't seem to work in this current scenario.


so far the Airport is gleefully providing internet access to Mac-B, and Mac-A is accessing the internet as well. I can control Mac-B wirelessly via ARD and filesharing, but I would prefer a wired connection.


Everything's up-to-date with Yosemite etc

any hints would be appreciated

Posted on May 6, 2015 10:08 PM

Reply
3 replies

May 7, 2015 3:23 AM in response to kallisti

I have a cablemodem providing 2 internet ip's

What model is the modem.. ??


So you get 2 public IP.


My intention is to have both macs routing through the Airport Extreme via ethernet so I can employ jumbopackets exclusively between these machines.

The way you have it now the Airport is a NAT router.. the Mac A is therefore isolated from Mac B which is on a private LAN behind the router.. you cannot get it working this way.. both units must connect through the switch.. or via the LAN of the airport extreme.


Why is it important for Mac A to have a public IP??


Or please explain the whole layout if Mac A is actually on a private IP.


Basically you cannot go backwards through the NAT router.


However you might be able to get this working if you can setup a secondary IP on Mac A.. but you are much better doing it via a secondary ethernet port.. does your Mac have two ethernet?? Some pro I think had double ethernet or use a thunderbolt to ethernet adapter.. that might also do the job. Then you can set a static IP on the secondary connection.. use the same IP range as the AE.. but use no DNS or gateway.. as that will mess up your internet routing.


I am not at all sure you can do jumbo packets when you do this setup if the Mac B is using a single IP for both internet and communication to the other Mac.

May 7, 2015 10:48 AM in response to LaPastenague

can we just bypass the "why do I need 2 ip's" conversation so i dont have to write an essay?

I need both ip's, the modem is locked into bridge mode anyway, so it's essentially an ethernet socket to the internet as any other configuration introduces all kinds of fecal matters.


Mac-A has a public ip

Airport Extreme has a public ip
Mac-B is behind the airport extreme via ethernet with a private ip
Mac-A is a MBP with a single ethernet jack
Mac-B is an iMac


If I ran another cable from the switch to the router, would this accomplish anything?

May 7, 2015 2:31 PM in response to kallisti

If I ran another cable from the switch to the router, would this accomplish anything?

It may work... briefly but at some point a few minutes or hours later.. you would kill it.. because you have effectively looped LAN to WAN on the airport. Some routers/switches can prevent a packet storm happening.. others will not.. I am not sure about the Extreme.. but I don't think it will work. Or even if it does it will work until the next dhcp request.. and then things will go to pieces. I am a great believer in experiments so it cannot hurt to have a go.. see what happens.


A secondary connection from LAN of airport, to "thunderbolt to ethernet" adapter on Mac A, where the IP is set statically should work fine. This keeps the two connections isolated from each other. Mac A then simply exists in both subnets. Jumbo frames might even work.. I doubt it is supported if it goes through the extreme.


If you had a block of static IP from your ISP this could be setup easily.


The problem with the standard cable modem setup is you need dhcp to pick up the public IP.. once you do that.. and especially if the IP keep changing ie dynamic and are not in the same subnet.. everything becomes much harder.


This would be possible, maybe, in a proper router.. where you can access low level firmware to fix the route table and fix the IP masquerade.. but the Airport is too simple and doesn't have enough features to allow anything beyond simplistic domestic setup. If you were prepared to use a different router with 3rd party firmware the method of setup is well known. (although it works LAN to WAN I am not sure about the other way).


Have a try at this.. if you want to have a go...

Put Mac B in the DMZ of the airport extreme.. So you need first of all to set dhcp reservation for it.


User uploaded file

Click on Network Options.

User uploaded file

Put the Mac B IP into enable default at..

So all packets that enter the WAN of the airport undirected or connected to outgoing.. are pushed to the DMZ computer.

Then attempt to access Mac B from Mac A on the public IP allocated to the WAN of the Airport.

You then need to share resources to the network from Mac B.. and same on Mac A for the links to be made.


Edit.. I have thought of another way..


Plug Mac B directly into the switch. So Mac A and Mac B will both pickup public IP directly from the cablemodem.. you would then need to use ICS on Mac B, so it will become the router.. use the Airport Extreme plugged into Mac B by thunderbolt to ethernet using static IP and set a range of IP for the rest of your equipment. Or even in bridge.. but you still need the secondary IP via a different connector.. AFAIK.

Ethernet Routing Confusion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.