|
|||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
#1 |
|
Prospect
Join Date: Jun 2008
Posts: 10
|
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 |
|
|
|
|
|
#2 |
|
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.
|
|
|
|
![]() |
| Tags |
| eth0, linux, os x, sharing |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|