A collection of computer systems and programming tips that you may find useful.
Brought to you by Craic Computing LLC, a bioinformatics consulting company.

Friday, December 21, 2007

Multihomed Ethernet Interfaces on Mac OS X server 10.4

I had a Mac OS X 10.4 server with two ethernet interfaces configured so that eth0 connected to my internal network and eth1 connected directly to the Internet.

I could access either interface just fine from my internal network. But unbeknownst to
me, the outside world was not able to access the external interface.

Checking the firewall or even turning the firewall off completely had no effect. The output of ifconfig looked like it should, the cables were plugged in where they ought to be. You just couldn't get to the external interface from the Internet...

It turns out that Mac OS X expects eth0 to connect to the Internet and I had it connected to my internal network. The server could see the Internet via that interface. Because it passed through my restrictive firewall, the outside world could not see it but from my subnet I could see it just fine... a nasty little gotcha.

I swapped the network configuration parameters for that eth0 was the external interface and eth1 was internal and the problem was solved.

Look at the Network control panel under 'Network Status'. Both interfaces will be active in a configuration like mine but only one will state 'You are connected to the Internet via...'. That needs to be the external interface.

There must be some way to configure which interface connects to the Internet but it is easier to follow their convention and not worry about it.


hrbrmstr said...

The principles/info/utilities here:


and here:


also here:


and here:


may help.

Unknown said...

Hi there, I discovered your weblog through Google in the same time as trying to find a related topic, your web-site came up, it seems fantastic. I’ve bookmarked it in my google bookmarks.Best advertising Agency in the world | top advertising agencies in pakistan | Marketing Agency | pakistani matrimonial

Unknown said...

I will be really glad my spouse and I witnessed an excellent web site. I have to thank a lot a lot of information! I enjoy we have saved your website for brand new things to examine sand on the roads.
Mobile apps for university

Blogger said...

If you want your ex-girlfriend or ex-boyfriend to come crawling back to you on their knees (even if they're dating somebody else now) you got to watch this video
right away...

(VIDEO) Want your ex CRAWLING back to you...?

Archive of Tips