[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:17516] LAN の設定と ping コマンドについて
- From: "Kakinuma" <kkakinuma@xxxxxxxxxxxxxxx>
- Subject: [debian-users:17516] LAN の設定と ping コマンドについて
- Date: Mon, 23 Aug 1999 17:17:47 +0900
- X-mimeole: Produced By Microsoft MimeOLE V4.72.3110.3
- X-ml-info: If you have a question, send a mail with the body "# help" (without quotes) to the address debian-users-ctl@debian.or.jp; help=<mailto:debian-users-ctl@debian.or.jp?body=help>
- X-ml-name: debian-users
- X-mlserver: fml [fml 2.2]; post only (only members can post)
- X-msmail-priority: Normal
- X-priority: 3
- Message-id: <14273.901.393393.22222V@xxxxxxxxxxxxxxxxx>
- X-mail-count: 17516
- X-mailer: Microsoft Outlook Express 4.72.3110.5
- User-agent: SEMI/1.13.5 (Meih) FLIM/1.12.7 (Yzaki) Emacs/20.3 (i386-debian-linux-gnu) MULE/4.0 (HANANOEN)
This is a multi-part message in MIME format.
------=_NextPart_000_002F_01BEED87.B7F4E380
Content-Type: text/plain;
charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
柿沼と申します。
win98とdebianをLANでつなげるのに悩んでいます。
分かる方がいらっしゃいましたらご指導よろしくお願いします。
長文となってしまいますが許してください。
win98からもdebianからもpingが通らないで困っています。
pingの結果は以下の通りです。
・Debian -> win のping
PING 192.168.1.2 (192.168.1.2): 56 data bytes
--- 192.168.1.2 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss
・win -> Debian のping
Pinging 192.168.1.1 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.1.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
となり認識することが出来ませんでした。
以下に現状の設定です。
ノートパソコン(debian側)
・/dev/init.d/network
#! /bin/sh
IPADDR="192.168.1.1" # Your IP address.
NETMASK="255.255.255.0" # Your netmask.
NETWORK="192.168.1.0" # Your network address.
BROADCAST="192.168.1.255" # Your broadcast address (blank if none).
GATEWAY="" # Your gateway address.
/sbin/ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
/sbin/route add -net ${NETWORK}
[ ! -z "$GATEWAY" ] && /sbin/route add default gw ${GATEWAY}
・/dev/hosts
127.0.0.1 localhost
192.168.1.1 debian.foo.ne.jp debian
192.168.1.2 kakinuma
・/etc/pcmcia/network.opts
# Network adapter configuration
#
# The address format is "scheme,socket,instance,hwaddr".
#
# Note: the "network address" here is NOT the same as the IP address.
# See the Networking HOWTO. In short, the network address is the IP
# address masked by the netmask.
#
case "$ADDRESS" in
*,*,*,*)
# Transceiver selection, for some cards -- see 'man ifport'
IF_PORT=""
# Use BOOTP? [y/n]
BOOTP="n"
# Use DHCP? [y/n]
DHCP="n"
# Use DHCLIENT? [y/n]
DHCLIENT="n"
# Host's IP address, netmask, network address, broadcast address
IPADDR="192.168.1.1"
NETMASK="255.255.255.0"
NETWORK="192.168.1.0"
BROADCAST="192.168.1.255"
# Gateway address for static routing
GATEWAY=""
# Things to add to /etc/resolv.conf for this interface
DOMAIN=""
SEARCH=""
# The nameserver IP addresses specified here complement the
# nameservers already defined in /etc/resolv.conf. These nameservers
# will be added to /etc/resolv.conf automatically when the PCMCIA
# network connection is established and removed from this file when
# the connection is broken.
DNS_1=""
DNS_2=""
DNS_3=""
# NFS mounts, should be listed in /etc/fstab
MOUNTS=""
# For IPX interfaces, the frame type and network number
IPX_FRAME=""
IPX_NETNUM=""
# Extra stuff to do after setting up the interface
start_fn () { return; }
# Extra stuff to do before shutting down the interface
stop_fn () { return; }
;;
esac
・ifconfig -a の結果です。
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
eth0 Link encap:Ethernet HWaddr 00:80:C8:88:CC:C7
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Collisions:0
Interrupt:9 Base address:0x300
デスクトップ (win98側)
TCP/IP -> NE2000 Compatible
・コンピュータ名
kakinuma
・ワークグループ
WORKGROUP
・コンピュータの説明
windows
・IP アドレス
192.168.1.2
・サブネットマスク
255.255.255.0
・wins設定、ゲートウエイ、DNS 設定
何も設定していません
構成機器
ノートパソコン
Debian2.0 (Debian GNU/LINUX 徹底入門 武藤健志著)
kernel2.0.36
pcmcia3.0.9
LAN -> D-Link DE-660
デスクトップ
win98
LAN -> ENW-2401P-T (NE2000 Compatible)
という状態です。
pingを通すにはどうすればよろしいでしょうか?
ご指導よろしくお願いします。
------=_NextPart_000_002F_01BEED87.B7F4E380
Content-Type: text/html;
charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3D"text/html; charset=3DcsISO2022JP" =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 face=3D""><FONT =
size=3D3>=1B$B3A>B$H?=3D$7$^$9!#=1B(B</FONT></FONT><FONT=20
size=3D3></FONT></DIV>
<DIV><FONT size=3D3></FONT> </DIV>
<DIV><FONT =
size=3D3>win98=1B$B$H=1B(Bdebian=1B$B$r=1B(BLAN=1B$B$G$D$J$2$k$N$KG:$s$G$=
$$^$9!#=1B(B</FONT></DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT=20
size=3D3>=1B$BJ,$+$kJ}$,$$$i$C$7$c$$$^$7$?$i$4;XF3$h$m$7$/$*4j$$$7$^$9!#=1B=
(B</FONT></FONT><FONT size=3D3></FONT></DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT size=3D3></FONT></FONT><FONT =
size=3D3><FONT=20
color=3D#000000 =
face=3D"">=1B$BD9J8$H$J$C$F$7$^$$$^$9$,5v$7$F$/$@$5$$!#=1B(B</FONT></FONT=
></DIV>
<DIV><FONT size=3D3></FONT> </DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT=20
size=3D3>win98=1B$B$+$i$b=1B(Bdebian=1B$B$+$i$b=1B(Bping=1B$B$,DL$i$J$$$G=
:$$C$F$$$^$9!#=1B(B</FONT></FONT><FONT=20
size=3D3></FONT></DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT size=3D3></FONT></FONT><FONT =
size=3D3><FONT=20
color=3D#000000 face=3D""></FONT></FONT> </DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT=20
size=3D3>ping=1B$B$N7k2L$O0J2<$NDL$j$G$9!#=1B(B</FONT></FONT><FONT =
size=3D3></FONT></DIV>
<DIV><FONT size=3D3></FONT> </DIV>
<DIV><FONT size=3D3>=1B$B!&=1B(BDebian -> win =
=1B$B$N=1B(Bping<BR>PING 192.168.1.2 (192.168.1.2): 56=20
data bytes<BR><BR>--- 192.168.1.2 ping statistics ---<BR>4 packets =
transmitted,=20
0 packets received, 100% packet loss<BR><BR>=1B$B!&=1B(Bwin -> Debian =
=1B$B$N=1B(Bping<BR>Pinging=20
192.168.1.1 with 32 bytes of data:<BR>Request timed out.<BR>Request =
timed=20
out.<BR>Request timed out.<BR>Request timed out.<BR>Ping statistics for=20
192.168.1.1:<BR> Packets: Sent =3D 4, Received =3D 0, =
Lost =3D 4=20
(100% loss),<BR>Approximate round trip times in=20
milli-seconds:<BR> Minimum =3D 0ms, Maximum =3D =
0ms, Average=20
=3D =
0ms<BR><BR>=1B$B$H$J$jG'<1$9$k$3$H$,=3DPMh$^$;$s$G$7$?!#=1B(B<BR></FONT><=
/DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT size=3D3></FONT></FONT><FONT=20
size=3D3></FONT> </DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT =
size=3D3>=1B$B0J2<$K8=3D>u$N@_Dj$G$9!#=1B(B</FONT></FONT><FONT=20
size=3D3></FONT></DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT size=3D3></FONT></FONT><FONT =
size=3D3><FONT=20
color=3D#000000 face=3D""></FONT></FONT> </DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT=20
size=3D3>=1B$B%N!<%H%Q%=3D%3%s!J=1B(Bdebian=1B$BB&!K=1B(B</FONT></FONT><F=
ONT size=3D3></FONT></DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT =
size=3D3>=1B$B!&=1B(B/dev/init.d/network<BR>#!=20
/bin/sh<BR>IPADDR=3D"192.168.1.1" # Your IP=20
address.<BR>NETMASK=3D"255.255.255.0" # Your=20
netmask.<BR>NETWORK=3D"192.168.1.0" # Your network=20
address.<BR>BROADCAST=3D"192.168.1.255" # Your broadcast =
address (blank=20
if none).<BR>GATEWAY=3D"" # Your gateway=20
address.<BR><BR>/sbin/ifconfig eth0 ${IPADDR} netmask ${NETMASK} =
broadcast=20
${BROADCAST}<BR>/sbin/route add -net ${NETWORK}<BR>[ ! -z =
"$GATEWAY" ]=20
&& /sbin/route add default gw =
${GATEWAY}<BR><BR>=1B$B!&=1B(B/dev/hosts<BR>127.0.0.1=20
localhost<BR>192.168.1.1 debian.foo.ne.jp=20
debian<BR>192.168.1.2 kakinuma=20
<BR><BR>=1B$B!&=1B(B/etc/pcmcia/network.opts</FONT></FONT><FONT =
size=3D3></FONT></DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT size=3D3># Network adapter=20
configuration<BR>#<BR># The address format is=20
"scheme,socket,instance,hwaddr".<BR>#<BR># Note: the =
"network=20
address" here is NOT the same as the IP address.<BR># See the =
Networking=20
HOWTO. In short, the network address is the IP<BR># address masked =
by the=20
netmask.<BR>#<BR>case "$ADDRESS" =
in<BR>*,*,*,*)<BR> =20
# Transceiver selection, for some cards -- see 'man=20
ifport'<BR> =
IF_PORT=3D""<BR> # Use=20
BOOTP? [y/n]<BR> =
BOOTP=3D"n"<BR> #=20
Use DHCP? [y/n]<BR> =
DHCP=3D"n"<BR> #=20
Use DHCLIENT? [y/n]<BR> =20
DHCLIENT=3D"n"<BR> # Host's IP address, =
netmask,=20
network address, broadcast address<BR> =20
IPADDR=3D"192.168.1.1"<BR> =20
NETMASK=3D"255.255.255.0"<BR> =20
NETWORK=3D"192.168.1.0"<BR> =20
BROADCAST=3D"192.168.1.255"<BR> # Gateway =
address for=20
static routing<BR> =
GATEWAY=3D""<BR> =20
# Things to add to /etc/resolv.conf for this =
interface<BR> =20
DOMAIN=3D""<BR> =20
SEARCH=3D""<BR> # The nameserver IP =
addresses=20
specified here complement the<BR> # nameservers =
already=20
defined in /etc/resolv.conf. These =
nameservers<BR> #=20
will be added to /etc/resolv.conf automatically when the=20
PCMCIA<BR> # network connection is established and =
removed=20
from this file when<BR> # the connection is=20
broken.<BR> DNS_1=3D""<BR> =
DNS_2=3D""<BR> =20
DNS_3=3D""<BR> # NFS mounts, should be =
listed in=20
/etc/fstab<BR> =
MOUNTS=3D""<BR> # For=20
IPX interfaces, the frame type and network number<BR> =20
IPX_FRAME=3D""<BR> =20
IPX_NETNUM=3D""<BR> # Extra stuff to do =
after setting=20
up the interface<BR> start_fn () { return;=20
}<BR> # Extra stuff to do before shutting down the=20
interface<BR> stop_fn () { return; =
}<BR> =20
;;<BR>esac<BR><BR>=1B$B!&=1B(Bifconfig -a=20
=1B$B$N7k2L$G$9!#=1B(B<BR>lo =
Link encap:Local=20
Loopback<BR> inet=20
addr:127.0.0.1 Bcast:127.255.255.255 =20
Mask:255.0.0.0<BR> =
UP=20
BROADCAST LOOPBACK RUNNING MTU:3584 =20
Metric:1<BR> RX =
packets:0=20
errors:0 dropped:0 overruns:0=20
frame:0<BR> TX =
packets:0=20
errors:0 dropped:0 overruns:0=20
carrier:0<BR> =20
Collisions:0<BR><BR>eth0 Link =
encap:Ethernet =20
HWaddr=20
00:80:C8:88:CC:C7<BR> &nbs=
p; inet=20
addr:192.168.1.1 Bcast:192.168.1.255 =20
Mask:255.255.255.0<BR> &nb=
sp; UP=20
BROADCAST RUNNING MULTICAST MTU:1500 =20
Metric:1<BR> RX =
packets:0=20
errors:0 dropped:0 overruns:0=20
frame:0<BR> TX =
packets:0=20
errors:0 dropped:0 overruns:0=20
carrier:0<BR> =20
Collisions:0<BR> =20
Interrupt:9 Base address:0x300<BR><BR><BR>=1B$B%G%9%/%H%C%W=1B(B =20
(win98=1B$BB&=1B(B)</FONT></FONT><FONT size=3D3></FONT></DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT size=3D3>TCP/IP -> NE2000=20
Compatible<BR>=1B$B!&%3%s%T%e!<%?L>=1B(B<BR>kakinuma<BR>=1B$B!&%o!<%/%0%k=
!<%W=1B(B<BR>WORKGROUP<BR>=1B$B!&%3%s%T%e!<%?$N@bL@=1B(B<BR>windows<BR>=1B=
$B!&=1B(BIP=20
=1B$B%"%I%l%9=1B(B<BR>192.168.1.2<BR>=1B$B!&%5%V%M%C%H%^%9%/=1B(B<BR>255.=
255.255.0<BR>=1B$B!&=1B(Bwins=1B$B@_Dj!"%2!<%H%&%(%$!"=1B(BDNS=20
=1B$B@_Dj=1B(B<BR>=1B$B2?$b@_Dj$7$F$$$^$;$s=1B(B</FONT></FONT><FONT =
size=3D3></FONT></DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT size=3D3></FONT></FONT><FONT=20
size=3D3></FONT> </DIV>
<DIV><FONT color=3D#000000 face=3D""><FONT =
size=3D3>=1B$B9=3D@.5!4o=1B(B</FONT></FONT><FONT=20
size=3D3></FONT></DIV>
<DIV><FONT color=3D#000000 face=3D"" size=3D2>
<DIV><FONT size=3D3>=1B$B%N!<%H%Q%=3D%3%s=1B(B</FONT></DIV>
<DIV><FONT size=3D3>Debian2.0 =1B$B!J=1B(BDebian GNU/LINUX =
=1B$BE0DlF~Lg=1B(B =1B$BIpF#7r;VCx!K=1B(B</FONT></DIV>
<DIV><FONT size=3D3>kernel2.0.36 </FONT></DIV>
<DIV><FONT size=3D3>pcmcia3.0.9</FONT></DIV>
<DIV><FONT size=3D3>LAN -> D-Link DE-660</FONT></DIV>
<DIV><FONT size=3D3></FONT> </DIV>
<DIV><FONT size=3D3>=1B$B%G%9%/%H%C%W=1B(B</FONT></DIV>
<DIV><FONT size=3D3>win98</FONT></DIV>
<DIV><FONT size=3D3>LAN -> ENW-2401P-T (NE2000=20
Compatible)<BR></FONT></DIV>
<DIV><FONT size=3D3></FONT> </DIV>
<DIV><FONT size=3D3>=1B$B$H$$$&>uBV$G$9!#=1B(B</FONT></DIV>
<DIV><FONT =
size=3D3>ping=1B$B$rDL$9$K$O$I$&$9$l$P$h$m$7$$$G$7$g$&$+!)=1B(B</FONT></D=
IV>
<DIV><FONT size=3D3>=1B$B$4;XF3$h$m$7$/$*4j$$$7$^$9!#=1B(B</FONT></DIV>
<DIV> </DIV></FONT></DIV></BODY></HTML>
------=_NextPart_000_002F_01BEED87.B7F4E380--