5 Replies Latest reply: Dec 17, 2006 2:17 PM by Jerry Pringle
schaeffler Level 1 Level 1 (0 points)
Hi to all

My Wireless Router is set as DHCP Server. The Mac is set at DHCP and receive numbers from the Wireless Router. The Internet is working properly

Now I have a new printer (HP 2015DN) which is connected at the ethernet port at the mac. I can see the printer via Bonjour. The printer ist set at a fix IP (out of thr range of the Wireless Lan Router DHCP Server range).

Systemsettings -> Network -> Network status:

- Airport is set befor Ethernet -> Internet is working properly but I cant' print

- Ethernet is set befor Airport -> Printing is OK but Internet is not working

Question:

What settings I have to do so I can print and use the internet together?

I just do not see the solution.

Dan

PM G5   Mac OS X (10.4.8)  
  • Jerry Pringle Level 4 Level 4 (1,460 points)
    Schaeffler,

    Welcome to Apple Discussions..

    When you say: "which is connected at the ethernet port at the mac", do you mean that the printer is plugged directly into the Mac? If so, this is going to be the problem.

    Do you have ethernet ports on the wireless router? The Mac and the printer should both be plugged into there. You may need an Ethernet switch if there are not enough ports.

    Also, please post what the IP address and subnet masks are for Airport and Ethernet, this may give a clue to what is going on too. Are they both on the same subnet?

    The Mac will use EITHER the Airport, OR the Ethernet (whichever is highest in the list), but not usually both unless they have different subnets.

    Post back and I will try to help more...

    Jerry
  • schaeffler Level 1 Level 1 (0 points)
    Hi Jerry

    I try it.

    Fact is:

    - All has the same Subnet -> 255.255.255.0
    - I can see the Printer as a Bonjour Printer

    -->> Systemsettings -> Network -> Network status:
    - Airport is set befor Ethernet -> Internet is working properly but I cant' print
    - Ethernet is set befor Airport -> Printing is OK but Internet is not working

    Story is:

    The Printer (HP 2015DN; Fix IP: 192.168.1.25 / 255.255.255.0) is connected via an Ethernet HUB to my Mac (receive IP's from the Wireless Router).

    From my Mac (receive IP's from the Wireless Router) I'm going via Wireless LAN to my Router (Zyxel 660 Serie, DHCP-Server, 192.168.1.1 / 255.255.255.0) and then to the Internet.

    For mee it seems to bo NOT an IP problem.

    I'm set in the Systemsettings -> Network -> Network status -> Airport before Ethernet I think he will try to print via Airport.

    I'm NOT shure how to configer the Ethernet settings in Systemsettings -> Network ->Ethernet!!

    Perhaps that's the problem. Who knows

    Dan

    PM G5   Mac OS X (10.4.8)  
  • Jerry Pringle Level 4 Level 4 (1,460 points)
    When you say it is connected to your computer via a hub, is this hub also plugged into the router?

    It sounds like the Airport Network can not talk to the wired network and that the wired network can not talk to the wireless router at all. This would suggest that the hub is not plugged into the router.

    If you go to System Preferences>Network, please say exactly what IP address is given to both the Airport and Ethernet adapters. Also try enabling AppleTalk on the wired network instead of the Airport.
  • schaeffler Level 1 Level 1 (0 points)
    Hi Jerry

    When you say it is connected to your computer via a hub, is this hub also plugged into the router?

    No, the wireless router is standalone in another room. Absolutely no cable connection between the wireless router and the rest.

    It sounds like the Airport Network can not talk to the wired network and that the wired network can not talk to the wireless router at all. This would suggest that the hub is not plugged into the router

    No I have a Internet connection from my mac (wired network), via the air to the wireless router.

    If you go to System Preferences>Network, please say exactly what IP address is given to both the Airport and Ethernet adapters. Also try enabling AppleTalk on the wired network instead of the Airport

    Airport (for Internet):
    - IP: DHCP (IP came from the wireless router (Range 192.168.1.10 - 20). But actually: 192.168.1.13
    - Subnet: 255.255.255.0
    - Router: 192.168.1.1
    - DNS: 195.186.1.111 / 195.186.4.111
    - AppleTalk: OFF

    Ethernet (for printer):
    - I'm NOT shure DHCP or manual. I try Manual: 192.168.1.21
    - Subnet: 255.255.255.0
    - AppleTalk: OFF (I tryes also ON)

    Take in mind:

    -->> Systemsettings -> Network -> Network status:

    - Airport is set befor Ethernet -> Internet is working properly but I cant' print
    - Ethernet is set befor Airport -> Printing is OK but Internet is not working.

    So, the printer IS working (via Bonjour) but it depend how the above settings are!!!

    And as I say:

    I just replaced the printer. Same place, same Ethernet cable.

    Dan
  • Jerry Pringle Level 4 Level 4 (1,460 points)
    You say that the hub has no wired connection to the wireless router which provides the internet connection. This will be why you can not get Internet access when the wired network is first in the list. Also it explains why you can not print to the printer while the Airport is first.

    As both the Airport and wired networks have the same network address (192.168.1.x), and the same default gateway (192.168.1.1), the following happens:

    When Airport is first in the list, when looking for any address on the Internet, it will send this to the default gateway: 192.168.1.1. When attempting to connect to the printer (192.168.1.21), it will consider that to be on the same network as the Airport, so will send this out over Airport, not over Ethernet. As the printer is not connected to the Airport, printing will fail.

    When Ethernet is first, when looking for an address on the Internet, it will try to send to the default gateway. As the default gateway is 192.168.1.1 and is on the same network address as the Mac's ethernet connection, it will try to send this out through the Ethernet connection. As the router is not connected to the ethernet connection, it will fail and you will get no internet connection. When trying to print, communication will go out over the Ethernet connection, the printer is connected there and so you can print.

    Perhaps, a brief explanation of TCP/IP routing would help. The IP address (eg 192.168.1.1) is combined with the subnet mask (in this case 255.255.255.0).

    The three 255's tell you that the first three sets of digits (192.168.1) are the network address. The digits corresponding with the '0' of the subnet mask is the host (individual machine) address. When attempting to send to an address the following decisions are made:

    If on the same network (192.168.1.x), then just send to the local network on the default interface.

    If on a different network (eg: 10.0.0.x). If the Mac knows another way of getting there (for example if another of it's network adapters is on that network), then send the traffic out over that network port. If no route is known by the Mac, then send to the default gateway (192.168.1.10 for that to work out how to forward it.

    So you see, there is never any reason for the Mac to attempt to communicate out over the other network connection - as they are both on the same network.

    To solve this, either connect a CAT5e cable between the hub and the wireless router (thus allowing Internet access while on wired and printer access while on Airport), or to give all devices on the wired network a different network address. You could, for instance, give them all 192.168.2.x addresses. Also do not specify a default gateway for the wired network settings.

    The preferable solution would be to cable the hub to the wireless router though.

    Hope that helps,

    Jerry