[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:25162] Re: [Q] How to configure network? Any tool? ([Q] How to make eth0? because of no eth0.)
佐野@浜松です。
# このメールが流れる頃にはきっともう解決してるでしょうね。
In <200011142133.GAA21392@xxxxxxxxxxxx>,
on "Wed, 15 Nov 2000 06:33:44 +0900',
with "Re: [Q] How to configure network? Any tool? ([Q] How to make eth0? because of no eth0.)",
help <help@xxxxxxxxx> さん wrote:
> # network interface
> # The first network card - this entry was created during the Debian installation
> # (network, broadcast and gateway are optional)
> iface eth0 inet static
> address 192.168.10.15
> netmask 255.255.255.0
> network 192.168.10.0
> broadcast 192.168.10.255
> gateway 192.168.10.3
参考: /usr/share/doc/netbase/examples/interfaces および man interfaces
たぶん
up route add default gw 192.168.10.3
down route del default gw 192.168.10.3
を使うか、あるいは netmask と network の設定を見直すか、の
どちらかではないかと。
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.10.0 * 255.255.255.0 U 0 0 0 eth0
これだと 192.168.10.0 のネットワークに向けたものだけが eth0 に流れます。
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.10.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.10.254 0.0.0.0 UG 0 0 0 eth0
のように default で流れるルートを設定しなければ。
--
# (わたしのおうちは浜松市、「夜のお菓子」で有名さ。)
<kgh12351@xxxxxxxxxxx> : Taketoshi Sano (佐野 武俊)