Re: Sharing the internet connection with XP

From: Björn Johansson (bjorn.johansson_at_4a-consulting.com)
Date: 07/27/05

  • Next message: Björn Johansson: "Re: Sharing the internet connection with XP"
    Date: Wed, 27 Jul 2005 00:36:33 +0200
    To: Christian Henz <christian.henz@gmail.com>
    
    

    At 00:03 2005-07-27, you wrote:
    >On 7/26/05, Björn Johansson <bjorn.johansson@4a-consulting.com> wrote:
    > >
    > > I can't afford to buy a router right now, so that's out of the question.
    > > I have made progress! Now I can transfer files
    > > through ftp from the pc to mac at the
    > > same time as the pc has access to the internet.
    > >
    > > To make the mac share the internet through
    > the pc, to make that work, people
    > > have told me that I should use the pc as a gateway. So perhaps I need to
    > > create an static ip for gateway on the pc and
    > then I tell the mac to use that
    > > gateway address in the network.
    > >
    >
    >What IP does the network card in the PC have now?

    192.168.0.1
    and netmask 255.255.255.0

    > From your previous mail I see that the Mac is on 192.168.0.246 with
    >netmask 255.255.255.0. Since you can already "talk" to the PC, that
    >means the PC's card is on 192.168.0.???. That is the IP you want to
    >set as the gateway on your Mac! To test this, use "route":
    >
    >route add default gw 192.168.0.??? dev eth0
    >
    >Now you should be able to reach the Internet... try:
    >
    >ping 194.109.137.218
    >
    >which is www.debian.org.
    >
    >If it doesn't work, check the connection sharing options in Windows XP.
    >
    >Once this basic connection works, you can set it all up proper in
    >/etc/network/interfaces.
    >
    >cheers,
    >Christian

    I don't understand how the Mac can use the internet connection on the PC
    when there's another network card in the PC which is connected to the
    ethernet modem? Maybe I don't haveto understand? :-/

    I understand that by using the PC:s IP as a gateway to the Mac, they should
    be able to use the same internet connection, but it still don't work!
    When I ping: www.debian.org as example I get the IP address but the
    system reports 100% packet loss, so it's not working, yet...
    Of course I also tried your ip numbers and I got the same result.
    (100% packet loss.)

    Perhaps I should have excluded "dev" in the command line.
    Hmm... It should not be so hard to get this working!! Right?

    Kind regards
    Björn


  • Next message: Björn Johansson: "Re: Sharing the internet connection with XP"

    Relevant Pages

    • Re: Internet Gateway
      ... the network services for gateway, and all seems back to normal (well, I then ... connection', and this was the only connection that was ever enabled. ... However, today there has appeared another connection, under Internet ...
      (microsoft.public.windowsxp.network_web)
    • Re: Firewall/AV Question about WinXP Connection While Not Logged On
      ... because the gateway machine still has ZoneAlarm running as a service ... > an Internet Connection Sharing gateway for a small home network. ... > - Computer A's user logs off his account...but keeps the modem ...
      (comp.security.firewalls)
    • Re: ISA dropping Internet Gateway
      ... Gateway - Switch of Internal LAN - PCs inside LAN ... Limsy the noob ... ... router with internet connection) keeps dying. ...
      (microsoft.public.isa)
    • Re: ICS Internet Gateway not connecting.
      ... The Inertnet Gateway in the Network Connection Control Panel say ... IE7 cannot get out to the internet, ... The Internet Gateway is your broadband router. ...
      (microsoft.public.windowsxp.network_web)
    • Re: Theoretical Discussion: Hotel WiFi Hack
      ... changing my MAC address. ... discussion to start with you wireless experts. ... They don't offer wired internet because it's an old ... Surely the router or gateway would go ...
      (alt.internet.wireless)