Share internet from Ethernet 2 to Ethernet 1

Hello,
My Mac Pro is connected to a router by its Ethernet 2 port; I want to connect another computer (Linux) to Ethernet 1 (so the Linux computer can connect to the Internet passing by the Mac Pro). I can easily share the connection from Ethernet 2 to AirPort (e.g. to synchronise my iPhone) using the Sharing pane of System Preferences, but sharing from Ethernet 2 to Ethernet 1 does not work.
I tried several configurations; sometimes I can just ping from the Linux computer to the Mac Pro (Ethernet 1 address only), sometimes I can ping up to my home's router and other times I can't ping at all. With all the configurations I tried, Internet can't be reached, even when I can ping the router.
Searched on various forums, found no help.
How should I go for this?

Grant Bennet-Alder wrote:
Your use of Ethernet 1 to be shared, and Ethernet 2 to connect your Mac to the Internet makes me crazy.
But they SHOULD be interchangeable, so you should be able to use either one for either function.
This evening, I got an “amusing” surprise, which tends to mean it makes me crazy as well. Another computer on my network, which is pluged into the main router, could not connect to the Internet. I then tried to go to 192.168.2.1 (my router's IP), to look at its state, and instead Safari showed the HTML page of my web sharing of my Mac Pro. My Mac Pro had been temporarily my DHCP server instead of the usual one because I confused Ethernet 1 and Ethernet 2… Tired of trying too much, I guess.
So, well, I'll definitively use Ethernet 1 to connect to the Internet and Ethernet 2 to share it, so it's clearer.
When I think about WHY it might make me crazy, it reminds me of a fundamnetal rule: Your Mac will send packets bound for the Internet to the TOPMOST working interface listed in System preferences > Network. If you have not already demoted the port you intend to Share to the end of that list, you should do so now. Use the gear Icon.
In that list, Ethernet 2 seems to be the first one (unless it starts at end?). I have this, as it appears in the list of services:
Bluetooth PAN
DUN Bluetooth
AirPort
Ethernet 2
Ethernet 1
Firewire
I don't know what these Bluetooth have as differences, because I never used them. But it looks like Ethernet 2 is before Ethernet 1. Do you think I should put Ethernet 1 at the very top of the list (I don't recall why I put it in this order in the first place)?
If Ethernet 1 is the port being shared to the Linux machine, you do not configure it AT ALL. If you have changed its settings, set it back to DHCP.
Anything you change Manually will mess up Sharing. You may even want to delete that port and Restart your Mac to get all pre-conceived notions removed.
Ok, very nice to know, thank you!
So, now Ethernet 1 is connected to my home's Router and Ethernet 2 to the Linux computer. I did first set Ethernet 2 to DHCP, following your suggestion, but it assigned the 169 range of IP address; then I configured it as “DHCP with a manual address” (remember, I translate to English) and put 192.168.100.1 as the IP adress. From Linux (still using DHCP), I couldn't even ping 192.168.100.1.
Then, I chose to set 192.168.2.28 as Ethernet 2's IP (trying to put it in the same subnet as Ethernet 1). At that point, from the Linux box, I could connect to 192.168.2.28, 192.168.2.222 and even to my router (192.168.2.1), but pinging beyond the router (on the Internet) still fails and, of course, browsing doesn't work. But it's better.
I'd like to avoid restarting my Mac for now (I've a lot of applications open, in use). Is there anything else I should do now?
Thank you for your replies so far!

Similar Messages

  • Share Internet from Mac thru Ethernet to apple tv

    Since the apple tv has no browser I can't login to the secure network at a condo.  Best answer that makes sense is to use my laptop to connect thru wifi then use Ethernet to give Internet to the apple tv.  I can't find the share on the apple laptop. Does any one know where the needle in the haystack to allow the share?

    Welcome to the Apple Community.
    Sysyem Preferences > Sharing > Internet Sharing.

  • How to share internet from mac to windows

    Any one helps me how to share internet from mac to windows? I have created an internet sharing on macbook, a Mac can connect to internet, but windows pc can't connect with this sharing. I don't know why?

    I am not a Windows guru. However, in XP there is a Wireless Network icon at the lower right side. Click on that, select the network you want to join, insert the password and that's it. Any issues speak to a Windows guru.

  • How to share internet from macbook pro to android phone?

    how to share internet from macbook pro to android phone?

    Sharing your Internet connection:
    http://support.apple.com/kb/PH6589
    http://www.maclife.com/article/howtos/how_wirelessly_share_internet_connection_m ac

  • [Solved] Share internet from (laptop) wifi to (RaspberryPi) ethernet

    Hi,
    I've been attempting to share the internet from my laptop wifi connection to a raspberry pi (with arch) connected via an ethernet port.
    For some reason, the Rpi doesn't connect. I've closely followed the instructions at:
    https://wiki.archlinux.org/index.php/Internet_sharing
    Yet the following script doesn't seem to work. The Rpi recognizes the the Ethernet connection but dhcpcd isn't dishing out an IP address. When I plug the Rpi into an ethernet port on my router it connects fine so as far as i'm understanding it should 'just work'.
    #!/bin/bash
    DEVICE="enp0s25"
    ip link set $DEVICE down
    ip link set $DEVICE up
    ip addr add 192.168.123.1/24 dev $DEVICE
    sysctl net.ipv4.ip_forward=1
    iptables -t nat -A POSTROUTING -o internet0 -j MASQUERADE
    iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
    iptables -A FORWARD -i $DEVICE -o internet0 -j ACCEPT
    dhcpcd $DEVICE
    Any tips for getting to the bottom of the issue?
    Tom
    Last edited by anthillsocial (2015-04-08 12:03:14)

    Success!! I'd mistakenly thought that dhcpcd acted as both client and server so that's where I went wrong. The following script now works using dhcpd. As a reference for others, here's my setup:
    #!/bin/bash
    DEVICE="enp0s25"
    ROUTERIP=139.96.30.1 # 192.168.123.1
    ip link set $DEVICE down
    ip link set $DEVICE up
    ip addr add $ROUTERIP/24 dev $DEVICE # arbitrary address
    sysctl net.ipv4.ip_forward=1
    iptables -t nat -A POSTROUTING -o internet0 -j MASQUERADE
    iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
    iptables -A FORWARD -i $DEVICE -o internet0 -j ACCEPT
    #Config file: /etc/dhcpd.conf
    #Database file: /var/lib/dhcp/dhcpd.leases # cat this to see if a device has been asigned a lease
    #PID file: /var/run/dhcpd.pid
    dhcpd $DEVICE
    And /etc/dhcpd.conf contains:
    option domain-name-servers 8.8.8.8, 8.8.4.4;
    option subnet-mask 255.255.255.0;
    option routers 139.96.30.100;
    subnet 139.96.30.0 netmask 255.255.255.0 {
    range 139.96.30.150 139.96.30.250;
    Then to find out the IP address assigned to the Rpi, simply
    cat /var/lib/dhcp/dhcpd.leases
    Thanks for the help

  • Can't share Internet from Mac to AirPort Extreme via Thunderbolt Ethernet

    Hey there!
    I'm trying to essentially use a 2013 AirPort Extreme as an AP for the network. It's connected via WAN to a Mac via a Thunderbolt to Ethernet adapter.
    I'm having a hard time telling OS X (10.10)/ OS X Server that I want it to take the Internet from "iPhone USB" and share it with "Thunderbolt Ethernet". With or without OS X Server's DHCP/DNS "help". I've been experiencing issues with Internet Sharing for years on OS X, so the fact that I'm having an issue today is no surprise, I'm just hoping someone out there has a solution.
    If I go back to Internet Sharing in System Preferences, the "share Internet connection from" combo box is blank, rather than showing "iPhone USB".
    Also, I'm unsure as to whether I should be using OS X Server... I know it's not necessary for simple Internet connection sharing, but I'd like to use DHCP and DNS services with this setup at least eventually.... Obviously just getting Internet to the AirPort is first-priority.
    Any ideas?

    Hello Kevin,
    Let me try to get this straight, it seems like you want to bridge the fee-based wifi network and your home wireless network using your MB.
    I don't know if you have done the following steps already on your MB:
    1) Choose Apple > System Preferences, and then click Sharing.
    2) Select Internet Sharing.
    3) Choose a network service from the “Share your connection from” pop-up menu, AirPort in your case.
    4) Select a networking service to share your Internet connection from the “To computers using” list, ethernet in your case.
    Sorry, yes indeed it is straight from Mac Help titled "Sharing your Internet connection." and it sounds like you have done the sharing part already. You wrote about something wrong with your MB. It might be helpful to write what is wrong with your MB, AirPort Extreme, or your "other computers." Preciseness can definably help us help you.
    May you solve the problem.

  • Share internet from Ethernet port on Mac mini

    After moving houses, I don't have any land line with internet. I have now got mobile internet from Vodafone connected to my Mac mini. This I share over the ethernet port and feed into my Airport extreme base station (AEBS) WAN port.
    Also, my blackbook is connected to the AEBS via ethernet cable. Iphone and Ipad to be connected over WiFi.
    Mobile internet > MacMini USB > MacMini shared ethernet > AEBS > Blacbook >> iPhone & iPad.
    What is the best way to set up AEBS? To share a public internet address? As a brigde? To distribute a IP range?
    And also what IP ranges AEBS would work on as default.
    Also: the shared ethernet port on the Mini, should that be configured by DHCP or some other way. Now it says it has a self assigned IP and may not be able to connect.
    I have tried a lot, but I am not a network savy person.
    Any help and suggestions are welcome.
    Jan
    Message was edited by: Velkey-Solvberg

    After moving houses, I don't have any land line with internet. I have now got mobile internet from Vodafone connected to my Mac mini. This I share over the ethernet port and feed into my Airport extreme base station (AEBS) WAN port.
    Also, my blackbook is connected to the AEBS via ethernet cable. Iphone and Ipad to be connected over WiFi.
    Mobile internet > MacMini USB > MacMini shared ethernet > AEBS > Blacbook >> iPhone & iPad.
    What is the best way to set up AEBS? To share a public internet address? As a brigde? To distribute a IP range?
    And also what IP ranges AEBS would work on as default.
    Also: the shared ethernet port on the Mini, should that be configured by DHCP or some other way. Now it says it has a self assigned IP and may not be able to connect.
    I have tried a lot, but I am not a network savy person.
    Any help and suggestions are welcome.
    Jan
    Message was edited by: Velkey-Solvberg

  • Share Internet through Firewire to Ethernet?

    Got a little problem for the 'collective'.
    I have an 2011, 27" iMac, an Airport Extreme, and 2 Apple TVs.  Upon moving to Italy I can no longer use Netflix through my wireless because "it's not available where I live" (Netfilx does not have a license to broadcast in Italy/Europe?).
    What I want to do is use a VPN service (i.e. Hide My ***) to spoof Netflix into thinking I am stateside.
    Can I run my internet off the back of my DSL Modem, through my iMac (and VPN) and then route the internet from the iMac firewire port (convert it to an ethernet connection) and into the Airport Extreme.  I figure in this way I can spoof my wi-fi connection throughout my house and watch Netflix wherever I desire.
    I'm thinking I will probably lose bandwidth routing my internet through the iMac, but I don't think it would be detrimental.  Until Apple comes down on their prices to rent TV Shows and Movies this is the only logical way I can see around it.
    Thanks!

    What OSX version is it?
    I've not been able to get Internet sharing working in 10.7 past 10.7.3, works fine in 10.8.2.

  • [Solved] Share internet from Wlan0 to other computers

    Is it possible to share internet connection from my laptop which is connected to internet through wlan0 interface (wireless) to other PCs on the LAN with my eth0 interface and lan cable?
    (Like,  Internet >> wireless Access-point >> laptop (wlan0) >> bridge to eth0 (lan card on this laptop) >> switch (through wired connection) >> other PCs)
    and where can I find how?
    Thanks
    Last edited by ottoshmidt (2012-04-23 21:26:58)

    alex_anthony wrote:
    Can also be done with networkmanager if you don't want to get your hands dirty (and if you're using it anyway).
    In summary:
    Make sure dnsmasq and iptables are installed
    Connect nm to wireless
    Connect ethernet cable between computers
    in nm-connection-editor, edit wired connection
    Under ipv4 settings, choose method, shared to other computers
    Disclaimer: This was when I was using fedora, but I have a hotspot the other way round on arch so I presume it will work.
    https://bbs.archlinux.org/viewtopic.php?id=139653
    Actually I did that one first, saw that post, but couldn't succeed and then tried https://wiki.archlinux.org/index.php/Internet_Share and succeeded. So I needed to enable ipv4  forwards and also to install iptables (which should be running as a daemon). Can't judge what was wrong in your steps for sure but at least, as I said arch wiki gives a right direction to go.
    Thanks all anyway.
    Last edited by ottoshmidt (2012-04-23 21:28:04)

  • How can I use share internet from Mac to iphone usb

    What I did is check the share internet option from Mac -> from Ethernet to iphone usb.
    It doesn't work.
    No internet connected in iphone!
    I don't want connect through wifi.
    Please help.

    Sync using iTunes: http://support.apple.com/kb/HT1386

  • Can I share internet from a airport express via the ethernet port

    I have a older airport express that I am trying to you to share the internet with a Marantz AV receiver. I used to be able to share the internet to a PS2 a few years back.
    I was able to set up another network parallel to my normal wireless network with an older moonbase style airport extreme using WDS.
    I am unsure if this is the limitation that apple has introduced to the unit, or it is a Telstra firewall issue.
    Is it possible using a combination of Airport Etremes or expresses to share the internet to a wired unit?

    I have a new airport extreme that I use all the time. I was using the older airport express for airplay.
    The older airport extreme I just pulled down from the cupboard trying to get the AVR connected.
    Since posting I have able to use the Airport extreme to connect the AVR via the ethernet port.
    Still curious why I cannot connect using the airport express.
    Interestingly the older airport extreme pushed the new airport extreme into WDS mode. Tried to hook up the express and it did not work.

  • Is it possible to share internet from Mac to iPhone using USB?

    Can i use the:
    System Preferences,
    Internet sharing,
    Share your connection:
         From Ethernet
         To computers using iPhone USB
    to share my Mac's internet connection to my iPhone?
    I hadn't noticed the "To computers using: iPhone USB" option previously. Is this what it's intended for?

    Hi Farook
    This site tells you it can be done, but not how to do it :-(
    Using Bluetooth as your Internet Connection
    -- http://www.russellbeattie.com/notebook/1001649.html
    -- http://www.russellbeattie.com/notebook/1001651.html
    There's a solution available for several SE / Moto / Nokia devices
    GnuBox (Symbian OS)
    -- http://gnubox.dnsalias.org/gnubox/#faqwhy
    These are for certain Sony Ericsson models, and require that you install the SE JDK on your PC
    -- http://manojnair.name/2006/11/06/internet-over-bluetooth-from-computer/
    -- http://www.esato.com/board/viewtopic.php?topic=55565
    Using these as a starting point, I wonder if you will be able to come up with a j2me solution ?!? It would definitely be appreciated by one and all.
    Wish you luck, Darryl

  • Share internet from macbook to iPhone via USB

    Is it possible to share the wifi internet connection OF the macbook (OS X 10.8.2) TO iPhone 5 (iOS 6.0.1) via USB cable? If yes how?
    I tried to enable as shown below and connected the iPhone to the macbook but nothing happened.
    x

    No.

  • How to share internet connection from notebook to mobile phone with micro usb cord in Debian based OS? (reverse tethering)

    I want to share internet connection from notebook to my mobile phone (Keon) with micro usb cord (because I don't have wifi). I found in Firefox OS (version: Boot2Gecko 1.1.1.0-prerelease) Settings only the possibility to share internet from mobile phone to PC. I use a Debian based OS: Knoppix. I tried to accomplish this with Networking Manager and I did a new wired connection via my phone with "Shared to other computers" IPv4 Settings and with FE:...:02 (usb0) MAC address. But on my phone there is not internet although the connecton between my notebook and phone is estableshed.

    Hi Pimpo,
    Thank you for posting your question. I was trying to reproduce your the Shared network, and I would love to know what kind of network you used to connect. This is not possible as of yet and I will file a bug being able to do this, but to make sure I have the right steps on the bug can you confirm the set up of the shared network please?
    Also this is currently not possible because the software does not know how to send network traffic over usb, assuming you do not have the ability to turn the computer into a wifi hot spot, which I would recommend instead...

  • Can't Wirelessly Share Internet Connection Any More

    I used to share my internet connection, without my router, through the Sharing panel of System Preferences. After messing around with some of the settings, laptops are no longer able to connect. These are the currently configured settings:
    Share Connection From: Built-In Ethernet
    To Computers Using: Ethernet, Airport
    Should something else be enabled?
    Message was edited by: KnowYourMac

    http://theappleblog.com/2008/05/22/create-a-wifi-hotspot-share-your-internet-con nection-in-leopard/
    Have a peek at the above link, and maybe go through step-by-step.

Maybe you are looking for