[Tokyodebian-2006] Debian勉強会21事前課題

kita-san lk-k3 at aichi-ya.com
Wed Oct 18 15:27:45 UTC 2006


デビアン勉強会事前資料 担当者御中

    キタハラです。  今回もよろしくお願いいたします。

宿題:あなたの /etc/networking/interfaces をさらしてください
回答:
  しれっと、下記の様に回答すると「もしかして罠にはめられている?!」
と考えてしまうのは、少々被害妄想気味でしょうか?(実は本当に罠?)
------------------------------------------------------------------------
k3 at TPX22:~$ cat /etc/networking/interfaces
cat: /etc/networking/interfaces: No such file or directory
k3 at TPX22:~$
------------------------------------------------------------------------

  Debianのメインマシンは、有線Only接続でこんな感じ。

------------------------------------------------------------------------
k3 at TPX22:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

k3 at TPX22:~$
------------------------------------------------------------------------

  某所で設定中の colinux はこんな感じ。

------------------------------------------------------------------------
colinux:~# cat /etc/network/interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

auto lo eth0

iface eth0 inet static
     address 192.168.0.2
     gateway 192.168.0.1
     netmask 255.255.255.0

iface lo inet loopback

colinux:~#
------------------------------------------------------------------------

  共に、まったく面白みが無いのですが、こんなのでよいのかな?

-- 
KITAHARA, Katsuyuki (kita-san)   lk-k3 (at) aichi-ya dot com




More information about the Tokyodebian-2006 mailing list