Go Back   The macosxhints Forums > OS X Help Requests > Networking



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-17-2009, 06:28 PM   #1
metacym
Prospect
 
Join Date: Jun 2008
Posts: 10
Cool Bridge the Wireless and Wired Ethernet adapters on the MacBookpro?

I am trying to let a linux box receive ethernet-connectivity to the internet from
my MBP running Leopard Server.
I have been unable to get the setup to work through a myriad of configurations yet. Currently the MBP wont start DHCP, so i have turned on
NAT from 192.168.2.1 ( which i set up in sysprefs > network as 'dhcp with manual address' )

A friend of mine suggested this, but i am having trouble finding out exactly how to do this:

"There is another way to do this without using two network addresses. If the MacBook allows it you can bridge the Wireless and Wired Ethernet adapters on the MacBook. They will become in essence one network interface with one IP address on the 192.168.1" network and forward Ethernet packets between wired and wireless. The Gentoo box can then be on the 192.168.1 network and communicate (using IP) directly to the Linksys router. There may be an option for layer 2 versus layer 3 bridging and you may have to use layer 3 bridging if your wifi adapter does not support "promiscuous" mode. Layer 2 bridges Ethernet frames. Layer 3 bridges IP datagrams."

the linux box net.eth0 configuration is set to static IP of the following:

modules=( "ifconfig" )
config_eth0=( "192.168.2.120/24" )
routes_eth0=( "default via 192.168.2.1" )



And additionally, the macbook pro running Leo Server get's it's
connection via Airport wifi from a linksys wrt150N from IP 192.168.1.1

If you guys could help me figure out this puzzle, i would be grateful.
thanks

- Metacym
metacym is offline   Reply With Quote
Old 04-17-2009, 10:08 PM   #2
giskard22
Moderator
 
Join Date: May 2003
Posts: 4,272
In Sys Prefs/Sharing, there's an "Internet Sharing" service that should take care of everything automatically.
giskard22 is offline   Reply With Quote
Reply

Tags
eth0, linux, os x, sharing

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 08:28 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.