Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'I have a second ethernet AND Airport' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
I have a second ethernet AND Airport
Authored by: 47ronin on Sep 11, '02 01:57:32PM

At first I failed cause I bought some Netgear 10/100 card, so I did my homework and got a Farallon 10/100 which worked right out of the box in OSX. With Internet Sharing turned on, it automatically routes the 'Net through en1 (second ethernet) and en2 (Airport). Note that to make this work you need to set IPs for all interfaces.

In my case, on en1, I set it to 192.168.0.1, subnet 255.255.255.192, router 0.0.0.0, DNS set to my cable modem's DNS server. For Airport, I set it to 10.0.1.1, subnet 255.255.255.128, router 0.0.0.0, DNS set to my cable modem's DNS server.

Make sure you get a firewall up of course; I use a firewall.conf file that was originally generated by BrickHouse, but now I just use the StartupItem and customize the rules file myself. It works great.



[ Reply to This | # ]
I have a second ethernet AND Airport
Authored by: xeroply on Sep 12, '02 12:10:34AM

I'm a bit confused. The original hint said that it worked just fine after turning on Internet Sharing. This post says that it requires all this particular networking setup.

So, assuming you're right -- how did you choose the IP addresses and subnet masks that you list? (Why is Airport set up with a private IP - 10.0.1.1, while Ethernet is set up with a public address - 192.168.0.1 ??? Does this have something to do with NAT that AirPort does?) How would I figure out what IP to give a PCI ethernet interface?

Thanks



[ Reply to This | # ]
I have a second ethernet AND Airport
Authored by: paulio on Sep 12, '02 04:40:40PM

You don't have to setup any IP addresses. Set DHCP in System Preferences Network (for Built-in Ethernet). You probably have this already if you have a working cable modem or DSL. Then turn on Internet Sharing. The rest all just works.



[ Reply to This | # ]
I have a second ethernet AND Airport
Authored by: inertiavvv on Feb 15, '03 12:20:42AM

I can't give you any reason as to why the airport base station is assigned a prefix 10.x.x.x ip address and why the other a 192.x.x.x address, but I am pretty sure that both are private IP address prefixes. Still, I am curious if there is a particular reason for assigning the different IP prefixes, or whether it is simply an arbitrary decision.



[ Reply to This | # ]