Difference: DebianNetworking (2 vs. 3)

Revision 328 Oct 2014 - TobyCabot

Line: 1 to 1
 (other DebianTips)

Multiple IP's on one ethernet port

Line: 17 to 17
  For more info see http://www.tldp.org/HOWTO/mini/IP-Alias/index.html
Changed:
<
<
-- TobyCabot - 05 Jun 2001 - 20 Jun 2003
>
>
/etc/hostname: use short name on Debian, fqdn on centos: http://serverfault.com/questions/331936/setting-the-hostname-fqdn-or-short-name

Tests After Setting Up a New Box

$ hostname
$ hostname --fqdn
$ dnsdomainname
$ python -c "import socket; print socket.gethostname()"
$ python -c "import socket; print socket.gethostbyaddr('<output from previous command>')"

If these aren't what's expected the problem is probably in either /etc/hostname or /etc/hosts.

View topic | History: r3 < r2 < r1 | More topic actions...
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback