Re: alias ip-addresses at loopback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Dmitry Cherkasov wrote:
Hello everybody!

Could anybody advice on the following problem.
I need to assign several ip-addresses to 'lo' interface (beside
127.0.0.1). It is convenient to me to implement NAT with such
addresses.

The "lo" interface already accepts packets with any 127.x.y.z
address.  Do you really need more addresses than the 127.0.0.0/8
block?

    $ ping -c1 127.111.222.123
    PING 127.111.222.123 (127.111.222.123) 56(84) bytes of data.
    64 bytes from 127.111.222.123: icmp_seq=1 ttl=64 time=0.104 ms

I did absolutely nothing special to set that up.  I also routinely
have an stunnel process listening on 127.0.0.25:465, and again, I
did nothing special with the interface configuration or routing
tables to allow that to work.

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux