ADSL Internet Sharing to MacBook

dimaiovu

Posts: 7   +0
Dear all,

For a couple of days I am trying to share the ADSL cable internet from a PC to my second computer, Apple MacBook. I have 2 lan cards and I am using just a simple cable to connect them.


This is the situation at the moment:

PC

3 connections:

1) ADSL (connects the PC to ADSL modem TP-LINK 8610, bridge connection type (i think), internet is working perfectly on the PC) (Lan Card: Intel(R) PRO/100)
IP: 192.168.1.2
SM: 255.255.255.0
DG: 192.168.1.1
DNS1: 212.0.200.2
DNS2: 212.0.200.1

2) MacBook (connects the MacBook to my PC) (using 2nd lan card: Realtek RTL8139 Family PCI)
IP: 192.168.0.1 (obtained automaticly after i gave internet share to WAN PPPoE, the 3rd connection that i log in with, when i connect to internet)
SM: 255.255.255.0
DG: 192.168.1.1
DNS1: 212.0.200.2
DNS2: 212.0.200.1

3) MTC (this is the connection that I use to log in to internet with my account data, a PPPoE type connection)
Didn't change anything here, just enabled "Share internet to user users of the network" and selected the 2nd lan card, that is connecting the laptop with PC


Apple MacBook


IP: 192.168.0.2
SM: 255.255.255.0
Router/gateway: 192.168.1.1
DNS Servers: 192.168.1.1


With this settings I have no network, no internet :(

As far as I remember, this are the settings that I used succesfully with my iBook, but I am not 100% sure.

Please tell me what am I doing wrong here?



Thanks in advanced,
Dumitru
 
First, why not just switch your TP-LINK to router mode?

Does the PC have internet with these settings? You shouldn't have to set anything manually when you set up ICS.
 
dimaiovu said:
For a couple of days I am trying to share the ADSL cable internet from a PC to my second computer, Apple MacBook. I have 2 lan cards and I am using just a simple cable to connect them.
so your connections look like
Code:
adsl---pc --- MacBook

This is the situation at the moment:
PC
3 connections:

1) ADSL (connects the PC to ADSL modem TP-LINK 8610, bridge connection type (i think), internet is working perfectly on the PC) (Lan Card: Intel(R) PRO/100)
IP: 192.168.1.2
SM: 255.255.255.0
DG: 192.168.1.1
DNS1: 212.0.200.2
DNS2: 212.0.200.1

2) MacBook (connects the MacBook to my PC) (using 2nd lan card: Realtek RTL8139 Family PCI)
IP: 192.168.0.1 (obtained automaticly after i gave internet share to WAN PPPoE, the 3rd connection that i log in with, when i connect to internet)
SM: 255.255.255.0
DG: 192.168.1.1
DNS1: 212.0.200.2
DNS2: 212.0.200.1

3) MTC (this is the connection that I use to log in to internet with my account data, a PPPoE type connection)
Didn't change anything here, just enabled "Share internet to user users of the network" and selected the 2nd lan card, that is connecting the laptop with PC

Apple MacBook

IP: 192.168.0.2
SM: 255.255.255.0
Router/gateway: 192.168.1.1
DNS Servers: 192.168.1.1

With this settings I have no network, no internet :(
try forcing the MacBook to something in the 192.168.1.x range (like 1.10)

as-is, there's no routing from 0.2 to the router at 1.1
 
Nodsu said:
First, why not just switch your TP-LINK to router mode?

Does the PC have internet with these settings? You shouldn't have to set anything manually when you set up ICS.

My TP-LINK model is just as bridge, no router.
 
With these settings I have network between my macbook and PC, but no internet:

2) MacBook (connects the MacBook to my PC) (using 2nd lan card: Realtek RTL8139 Family PCI)
IP: 192.168.0.15
SM: 255.255.255.0

Apple MacBook
IP: 192.168.0.16
SM: 255.255.255.0
 
dimaiovu said:
With these settings I have network between my macbook and PC, but no internet:

2) MacBook (connects the MacBook to my PC) (using 2nd lan card: Realtek RTL8139 Family PCI)
IP: 192.168.0.15
SM: 255.255.255.0

Apple MacBook
IP: 192.168.0.16
SM: 255.255.255.0
That's correct. The two systems can see/print/share but 0.16 will have NO internet because
Code:
(ADSL)
IP: 192.168.1.2
SM: 255.255.255.0
DG: [COLOR="Red"]192.168.1.1[/COLOR]
there's no routing to your gateway @ .1.1

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{somekey}
there may be a few values under \Interfaces; choose the one that has your ADSL IP addess 192.168.1.2
when you find it, look for IPEnableRouter or add it if missing
this is a DWORD adn should have a value of 1
 
Ok, I got to the point after a couple of tests.

These are my settings:
(In case somebody has the same problem can try my settings)

###

ADSL
IP: 192.168.1.2
MASK: 255.255.255.0
GW: 192.168.1.1
DNS1: 212.0.200.2
DNS2: 212.0.200.1

MacBook
IP: 192.168.0.1
MASK: 255.255.255.0

mtc connection
Share to network MacBook

MacBook Location Home
IP: 192.168.0.2
MASK: 255.255.255.0
GW: 192.168.0.1
DNS: 192.168.0.1

PS. Swich off the firewall to make the network working ;)
 
Back