Re: Sockets, port and loop-back ?

From: P.T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 01/06/04


Date: Tue, 06 Jan 2004 10:20:17 GMT

not@top-post wrote:
> not@top-post wrote:
>[attribs lost]
> > > at the IP of <someID>, and http://>:<not default number>
> > > will address the <not default number> port at the IP of <someID> ?

> Then could the scarcity of IPs be temporarily alleviated by

Scarcity?

> doubling-up on IP's by using some of the unused ports in a
> non-standard way ? Of course this would require addition of
> knowledge/intelligence, whereas the trend is towards dumbing
> down towards more convenience.
> One wouls have eg:
>
http://'s IP> * ftp://'s IP> PLUS
>
http://'s IP-aliased to John>:<nonStandardPort> ...

You could do that, but why bother? You can have as many "virtual" http
servers as you like on the SAME, standard port, simply by pointing
different names at the the same IP address. The server will distinguish
which personality it should take according t the name by which it is
addressed.

You'll have to identify a more specific problem that you are thinking
of.

> Is there a problem if IPs have multiple names for 'reverse
> DNS-ing' ?

No.

> ]AFAIK, the operating system itself requires a loopback network, the
> ]address of which is traditionally 127.0.0.1. It serves no other purpose
> ]than to allow software to interact with the os via ports on that
> ]network. Or do I not understand this matter?

> In the case that my in & out to the network is via my serial port
> [to my (duplex) modem], I don't have the serial port 'looped back'.

Lucky you, or it wouldn't go anywhere!

> So where is the loopback implemented ?

What loopback? The loopback IP address range is a "virtual" address
range handled by your kernel. Packets directed there are handled by
your own kernel and never leave your machine.

> I'm guessing that the
> send and receive buffers for the serial port are 'looped back',

Why guess? If they were, you could claim your money back!

> ie. just connected - taking the serial-port out of the loop.

Uh - I fail to decipher exactly what you could be thinking of, but
whatever it is, it is nowhere near true. Are you asking how you turn a
serial port into a loopback connection for testing purposes? You
connect its control lines round to each other. See a serial howto, or
some such.

Peter



Relevant Pages

  • Re: Serial port communication
    ... Ankit Desai wrote: ... Do you have a loopback connected to your computer's COM port? ... suggested assumed you had a loopback connection. ... Buy a loopback connector and plug it on the serial port ...
    (comp.soft-sys.matlab)
  • PROBLEM: serial port loopback serious bug
    ... I observe the bug in kernel 2.4.21 and 2.4.22, I guess it is general problem ... I have generic serial port on i586 machine. ... Simple serial port loopback. ...
    (Linux-Kernel)
  • Re: Serial port communication
    ... The 'Sending and Receiving Data Through a Serial Port Loopback' example ... given in the Instrument Control Toolbox would require a 'loopback'. ... Loopback is a simple instrument which echos whatever command it recieves. ... A loopback connecter would echo whatever data it ...
    (comp.soft-sys.matlab)
  • Re: Serial port communication
    ... Thank you for your immideate response to my query.I checked with the ... I found this loopback test in the intrument control toolbox(in one of ... Serial Port Loopback)to check if am able to send and receive the same ... Response from instrument was empty. ...
    (comp.soft-sys.matlab)
  • Re: IPMI serial console
    ... pertaining to serial port speed limitation. ... FreeBSD would limit/cap the serial speed to 9600bps and you wouldn't see ... For me, on systems without IPMI, all I had to do was this (and nothing ... Then loader loads xxx_load modules and the kernel, ...
    (freebsd-stable)