getting Internet connection sharing working in a slightly more complicated configuration
- by tirichitirca t
I have the following configuration:
Computer A - Mac OSX 10.8.4, wireless & wired adapters
Computer B - Windows 7 (64 bit), wireless & wired adapters, has internet
connection via the wired adapter (ethernet)
d-link wired/wireless
router.
Problem to solve: Connect from computer A to the internet through the wired connection of computer B.
I tried the following:
I set up a local network between A and B using the d-link router. The configuration is this:
D-link router - 192.168.0.1
A - wired connection to the d-link router, static 192.168.0.101 (I could have used the wireless but I preferred the wired connection)
B - wireless connection to the d-link router DHCP 192.168.0.102 (but I made sure it always gets the same address)
B - wired connection to the internet using some address that begins with 10.x.y.z.
In this configuration A can see B. I enabled ICS on the wired adapter of B. I set up the Gateway of A to point to B and DNS servers to point to the DNS servers specified for the 10.x.y.z address. It doesn't work, A goes only as far as B. It can ping the 10.x.y.z address of B though.
I then found this article: http://terrybritton.com/windows-internet-connection-sharing-ics-not-working-with-linux-bridging-is-the-solution-916/. Terry is suggesting that a bridge should be defined on B between the two connections. I tried that but basically computer B is screwed as soon as I create the bridge. It can't connect to the internet anymore. It is as if the network bridge seems to think the traffic to the internet should go from the wired connection to the wireless and not the other way around.
The other thing that puzzles me is the router itself. In general the router needs an internet address. In a normal configuration it is the router that gets the ip address and the internet traffic goes through the router. In my case I am not interested in that.
So, any suggestions to get this working? I wouldn't shy away from using a commercial software but I would think windows 7 should allow me to do it.
Thanks