4 Replies Latest reply: Jun 10, 2009 9:55 PM by Doug Niven1
Doug Niven1 Level 1 Level 1
Hi Folks,

I have a server with two NIC cards, and two IP addresses (one public, one private).

How can I test that my public-facing port has connectivity to the outside world? Can telnet or another tool be used to force the query to go via one specific port?

Many thanks for your ideas, suggestions.

Doug

Mac OS X (10.5.7)
  • Noah Robbin Level 3 Level 3
    Would a trace route to somewhere on the Internet work?
  • Austin Kinsella1 Level 6 Level 6
    expertise.macosx
    Mac OS X
    The Network Utility should give some help - look at the routing tables, for example. Simplest, if there is no internet access via the private port, would be to use ping to an internet address. In the first instance ping the router/gateway address associated with your public IP address.

    AK
  • Camelot Level 8 Level 8
    expertise.macosx
    Mac OS X
    How can I test that my public-facing port has connectivity to the outside world?


    Ping our router address, or ping any non-local site. As long as your default route is setup correctly it will go over the public link.

    Can telnet or another tool be used to force the query to go via one specific port?


    All protocols use the underlying routing table to determine which link to use.
  • Doug Niven1 Level 1 Level 1
    Hi Folks,

    Indeed the problem was a default route.

    For others with two NIC cards in similar situations, here's what I did:

    en0: has public IP, subnet mask, gateway,
    en1: has private IP, subnet mask, NO gateway

    Works like a champ now.

    Cheers, Doug