QuickTopic (SM) free message boards QuickTopic (SM) free message boards
Skip to Messages
  Sign In to access your topic list  |New Topic |My Topics|Profile
Upgrade to Pro   Customize, show pictures, add an intro, and more:   QuickTopic Pro...and check out QuickThreadSM
Topic: LazyWeb: One-Armed Airport routing?
Views: 762, Unique: 612 
Subscribers: 1
What's
this?
Printer-Friendly Page
Subscribe to get & post, or stop messages by email Subscribe
All messages    << 10-19  9-9 of 19  1-8 >>
About these ads
Who | When
Messagessort recent-bottom   
Post a new message
 
Tom CrossPerson was signed in when posted  9
12-13-2002 01:30 PM ET (US)
I'll provide outline information here. Someone else can make this pretty for people who aren't comfortable with unix.

First, you want to create a subinterface. For physical ethernet interfaces this is real easy in OSX, as you can just "duplicate" the interface in System Preferences, but for some reason it doesn't allow you to duplicate your wireless card.

Whatever. Open a terminal and sudo to root. ifconfig is a command that shows you your network interfaces.

ifconfig -a

will show you all of the network interfaces on your machine. On my ibook my wireless card shows up as en1, so I can create a subinterface, or alias, by typing:

ifconfig en1 alias 192.168.1.1 255.255.255.0

If you do this, make sure that: 1. Appletalk is turned off. 2. You are using a different IP address range then the one currently configured on the interface.

Once you've done this, you can tell your computer to route by typing this:

sysctl -w net.inet.ip.forwarding=1

If you want this stuff to survive a reboot, you'll have to create a startup script for it. There is some information about that here:

http://www.afp548.com/Articles/Jaguar/startupitems.html

If you need to do NAT then you should look at these articles:

http://www.afp548.com/Articles/system/natserver.html
http://www.afp548.com/Articles/Jaguar/nat-ipfw.html

Some of this stuff is OSX server specific, like serving DHCP. There IS a way to serve DHCP on any OSX machine, probably involving a fink package, but I don't have time to research it right now.

If you are not serving DHCP, the obviously your friends who are connecting through you will have to configure their network interfaces with IPs in the range you've setup and with you as their default gateway.

I haven't fully tested this. Its a little odd that the control panel doesn't let you dupe the wireless card, but I can't think of a good reason why this wouldn't work. You can certainly create aliases on the command line.

Hope this is useful...
RSS link What's this?
All messages    << 10-19  9-9 of 19  1-8 >>
QuickTopicSM message boards
Over 200,000 topics served
Learn more Frequently asked questions  Acknowledgements
What they're saying about QuickTopic
 Questions, comments, or suggestions? Contact Us
Read our use policy before beginning. We value your privacy; please read our privacy statement.
Copyright ©1999-2008 Internicity Inc. All rights reserved.