Women in Technology

Hear us Roar

  Panther Internet Sharing
Subject:   Sharing on same port
Date:   2003-11-12 10:41:05
From:   jameshowison1
Of course, you cannot share an Internet connection using the same port you're accessing the Web on. For example, you cannot share through an AirPort if you connect to the Internet using AirPort.

I'm not sure that this is right. For example I know that I can share an internet connection on my built-in ethernet port with others via that same port.

It works like this:

Laptop -> hub -> uni network
computer wanting to share

Basically the laptop (me) is the only one that the uni network will route packets for (does MAC address authentication at the DHCP server), so I route those packets on behalf of the other computer.

Unix boxes can run two interfaces through the one ethernet card---keeping the 'external interface IP' while dishing out addresses to other clients.

The only danger here is that you are running an unauthorized DHCP server on the university network which could cause serious problems as other people that would normally pick up their IP from the uni DHCP servers might get one from you (and therefore appear to the internet as your public IP address. Actually for basic browsing this won't be a huge prob but could cause unexpected issues . Turning turning off the sharing will cause the accidentlly connected clients to hiccup ---they will need to re-new their DHCP lease from the right server. Also your sysadmins might well beat you up.

Note that, wierdly, this also works for "Sharing Airport over Airport"---but only if the network that you are connecting to is an open connect one that the other client can associate with---in this case the Airport network is working as the Hub. At least I have this option when I attach to an Ad-hoc network. What you can't do with Airport-to-Airport is run two channels, with one being the external interface and one the internal interface (the cards can't do it).

I haven't tested all this but it is worth keeping in mind. Again the DHCP issues could be serious.

Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Sharing on same port
    2003-11-12 19:00:41  anonymous2 [View]

    The author is actually right, simply because you can't connect to the Internet and to another computer through the same physical port, and the fact that a single Ethernet card may have more than 1 IP addresses is irrelevant here. But of course more than 1 computers can share the Internet connection through a hub, or your computer might have more than one NICs in which case one of them can connect to the Internet and another one to another computer.
    • Sharing on same port
      2003-11-17 12:44:01  anonymous2 [View]

      Only Airport has this limitation. You can create additional ethernet ports to share but not Airport.
    • Sharing on same port
      2003-11-13 10:33:31  anonymous2 [View]

      No, I believe that jameshowison is actually the correct one. I am quite able to run (with one physical interface) my Built-in Ethernet connection back out to other computers through my Built-in Ethernet connection.

      The author and yourself are both wrong. It is in fact possible. -- Not advisable, of course... and very risky in terms of network stability. But "possible" nonetheless.