Re: Determine Source Network Adapter

From: sol gongola (sol_at_adldata.com)
Date: 06/23/04


Date: Wed, 23 Jun 2004 16:46:33 -0400

Why do you need to know?
If you need to know for diagnostic purposes, Unplug or disable the ports,
one at a time, and try the telnet to get in and see which way works.

The incoming interface has little to do with selecting the device for
an outgoing connection. That depends on the routing tables: which is
the default route, and how routes are assigned to the other interfaces.

sol

Kent wrote:
>
> Each interface has it's own IP address. They are on two separate
> networks. IE. en0 = 10.1.1.1, and en1 = 10.2.2.2. Once I've
> telnet'd into the server (assuming I've just lost my brain) how do I
> know which IP I used to telnet into the server?
>
> Thanks for the post!
> -k
>
> Jim85CJ <jim_85cj@NOSPAMyahoo.com> wrote in message news:<nmEBc.8902$bs4.8894@newsread3.news.atl.earthlink.net>...
> > does each adapter have its own IP address or are they used as one?
> >
> > Kent wrote:
> >
> > > Does anyone know a way to tell what network adapter you connected to
> > > on an AIX server? (Running AIX 5.2)
> > >
> > > I'm dealing with a server that has multiple ethernet adapters, and I
> > > want to create a generic script to launch an application that requires
> > > knowing your source network address.
> > >
> > > Any ideas would be appreciated. Thanks
> > > -k



Relevant Pages

  • Re: Cannot get NAT to route in RRAS
    ... The basic problem is that you are using an ADSL modem on the server. ... I would suggest that you set up a demand-dial interface to act as the ... Static Route wizard, create a default route using this interface (ie put ...
    (microsoft.public.win2000.ras_routing)
  • Re: Cannot get NAT to route in RRAS
    ... ADSL Link was set as the Public interface in NAT, ... The static route also adds in fine using the ADSL Link interface, ... separate DNS server handles client’s requests, ... > Internet connection. ...
    (microsoft.public.win2000.ras_routing)
  • Re: IP Confusion
    ... interface for the destination address. ... timeout problems also. ... You probably need to add a static route that describes what can be ... > This server was replacing an existing server so I first took NIC 1 and ...
    (alt.os.linux.redhat)
  • Re: Network Question
    ... Fabio Giannotti wrote: ... >> main office has a SCO Open Server running. ... >> telnet client to the unix box, ... I think you need a specific route for the office IP range. ...
    (comp.unix.sco.misc)
  • Re: Changing ISP smoothly..
    ... I can add a second interface on a different subnet, to the server, and bind a second default route to that. ... I do know that once a server is bound to a given interface, it will return packets via that interface, so the question would be as to how to bind apache to both...aha. ...
    (uk.telecom.broadband)