tatsuです。
高橋さんのご指摘のとおり \"ifconfig eth0 up\" と実施してみたのですが、
リンクアップはしませんでした。
ただし、BROADCAST の横に\"UP\"と表示されるようなりました。
そこで起動時、 \"ifconfig eth0 up\" 後、IP指定時との違いを探ったところ
\"route -n\" の実行結果に違いがあることが分かりました。
下記にそれぞれの\"ifconfig eth0\"と\"route -n\" の結果を示します。
IP指定のときだけ、ルータ(ケ゛ートウェイ)まで到達できるようです。
この結果から解決する糸口につながりますでしょうか?
よろしくお願いいたします。
<システム起動時>
#ifconfig eth0
Link encap:Ethernet HWaddr 00:16:36:D3:9F:07
inet addr:172.17.21.12 Bcast:172.17.21.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1770 (1.7 KiB) TX bytes:1522 (1.4 KiB)
Interrupt:19 Base address:0x6000
#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
<\"ifconfig eth0 up\"後>
#ifconfig eth0 up
#ifconfig eth0
Link encap:Ethernet HWaddr 00:16:36:D3:9F:07
inet addr:172.17.21.12 Bcast:172.17.21.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1770 (1.7 KiB) TX bytes:1522 (1.4 KiB)
Interrupt:19 Base address:0x6000
#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.17.21.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
<IP指定>
#ifconfig eth0
Link encap:Ethernet HWaddr 00:16:36:D3:9F:07
inet addr:172.17.21.181 Bcast:172.17.21.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1830 (1.7 KiB) TX bytes:2154 (2.1 KiB)
Interrupt:19 Base address:0x6000
#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.17.21.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 172.17.21.1 0.0.0.0 UG 0 0 0 eth0
|