02.01.2016 Views

Linux

linux_admin_text-1.0.0_2

linux_admin_text-1.0.0_2

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.1 <br />

TX packets:45 errors:0 dropped:0 overruns:0 carrier:0<br />

collisions:0 txqueuelen:0<br />

RX bytes:5792 (5.6 KiB) TX bytes:5792 (5.6 KiB)<br />

2.1.2 <br />

route netstat -rn <br />

# route<br />

Kernel IP routing table<br />

Destination Gateway Genmask Flags Metric Ref Use Iface<br />

192.168.0.0 ∗ 255.255.255.0 U 1 0 0 eth0<br />

default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0<br />

Destination default <br />

192.168.0.1 eth0 <br />

<br />

2.1.3 <br />

/etc/sysconfig/network-scripts <br />

ifcfg-<br />

eth0 <br />

ifcfg-eth0 <br />

# cat /etc/sysconfig/network-scripts/ifcfg-eth0<br />

DEVICE=eth0<br />

TYPE=Ethernet<br />

UUID=c9eaa5e8-a31a-4d36-8dc7-2fc8de8350b3<br />

ONBOOT=yes<br />

NM_CONTROLLED=yes<br />

BOOTPROTO=none<br />

HWADDR=00:1C:42:DC:25:92<br />

IPADDR=192.168.0.10<br />

PREFIX=24<br />

GATEWAY=192.168.0.1<br />

DNS1=192.168.0.1<br />

DEFROUTE=yes<br />

www.lpi.or.jp 44 (C) LPI-Japan

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!