2 PC [1], [2], [3] 2.1 OS 2.1 ifconfig 2.1 lo ifconfig -a 2.1 enp1s0, enx0090cce7c734, lo 3 enp1s0 enx0090cce7c734 PC 2.1 (eth0, eth1) PC 14

Similar documents
$ ifconfig lo Link encap: inet : : inet6 : ::1/128 : UP LOOPBACK RUNNING MTU:65536 :1 RX :8 :0 :0 :0 :0 TX :8 :0 :0 :0 :0 (Collision

$ ifconfig lo Link encap: inet : : inet6 : ::1/128 : UP LOOPBACK RUNNING MTU:65536 :1 RX :8 :0 :0 :0 :0 TX :8 :0 :0 :0 :0 (Collision


IP 2.2 (IP ) IP 2.3 DNS IP IP DNS DNS 3 (PC) PC PC PC Linux(ubuntu) PC TA 2

IP... 2 IP... 2 IP... 2 IP... 2 VLAN... 3 IP ADD IP IPADDRESS... 5 DELETE IP... 7 PING SETIP SHOW IP IP CentreCOM FS9

install

I j

2 1: OSI OSI,,,,,,,,, 4 TCP/IP TCP/IP, TCP, IP 2,, IP, IP. IP, ICMP, TCP, UDP, TELNET, FTP, HTTP TCP IP

00.目次_ope

untitled

6.2 基本的なネットワーク構成 6.2 基本的なネットワーク構成 このトピックではネットワークの基本的な設定ファイルやコマンドの使用法ついて出題されます 例題 NIC に設定されている IP アドレスを確認するコマンドを選択せよ A) traceroute B) route C) ifconfig

1 Linux UNIX-PC LAN. UNIX. LAN. UNIX. 1.1 UNIX LAN. 1.2 Linux PC Linux. 1.3 studenta odd kumabari studentb even kumabari studentc odd kumabari student

untitled

MFC-8660DN Presto! PageManager TEL/ FAX/

wide95.dvi

065763J ping ping pw ping % ping -c 5 pw193.cs.ie.u-ryukyu.ac.jp PING pw193.cs.ie.u-ryukyu.ac.jp ( ): 56 data bytes 64 bytes from

¥¤¥ó¥¿¡¼¥Í¥Ã¥È·×¬¤È¥Ç¡¼¥¿²òÀÏ Âè1²ó

untitled

untitled

Agenda /etc/network/interfaces とは? interfaces ファイルの構造 stanza の種類実設定ファイル紹介 1/40

破損した CIMC ファームウェアの復旧

... 4 HTML IP TC

ict2-.key

VLAN.dvi

Cumulus Linux MLAG と vsphere vds の LACP 接続検証

第1回 ネットワークとは

tcp/ip.key

第1回 ネットワークとは

スライド 1

FS900S_B

untitled

$ cal ) ( cal $ cal cal cal 1. () ( clear) 2. ( cal) 3. ( man) \() ( ) --() +()

R70_Software_Manual_JP1.3

NetworkKogakuin12

帯域を測ってみよう (適応型QoS/QoS連携/帯域検出機能)

D-Link DWL-3500AP/DWL-8500AP 設定ガイド

r4.dvi

スライド 1

Microsoft PowerPoint ppt [互換モード]

UDPとCBR

(Microsoft Word - \216\300\214\261\203e\203L\203X\203g-2_2007.doc)

Microsoft Word - jikkenIII14-(5)-2

untitled

_JANOG44_LINE_tsuchiya

IP IP DHCP..

LSM-L3-24設定ガイド(初版)

WinXP04 ( 版 ) Microsoft Windows XP Professional でのネットワークの設定 付属アプリケーションの導入の続き < 主な設定値 > ホスト名 : s05 ( 1) 1 1 グループの学生 s050xx (xx は学生番号の下 2 桁の数字

IPv6 トラブルシューティング ホームネットワーク/SOHO編

Microsoft Word - jikkenIII2016-(5)-2

2013 Turbolinux Co., Ltd. All rights reserved. 本書の一部 または全部を著作権所有者の許諾なしに 商用目的のために複製 配布することはできません Turbolinux ターボリナックスの名称およびロゴはターボリナックス株式会社の商標または登録商標です L

FW Migration Guide(ipsec1)

VyattaでのPPPoEとNetwork emulator

RT300i/RT140x/RT105i 取扱説明書

LSM-L3-24設定ガイド(初版)

untitled

完成卒論.PDF

nakayama15icm01_l7filter.pptx

RT300/140/105シリーズ 取扱説明書

FW Migration Guide(ipsec2)

I B :

Cisco Small Business シリーズ スマート スイッチ アドミニストレーション ガイド

USBLAN_um_101.PDF

集中講義 インターネットテクノロジー 第5回

DVTS Consumer DV Camera IEEE1394 Cable Internet Consumer DV Deck IEEE1394 Cable DV Internet PC Internet DV PC

目次 1) コンソール使用について注意 ) 全体の流れ ) SSH キーの登録 ) Linux サーバーの作成... 4 Web サーバーへの Apache と WordPress インストール... 5 DB サーバーへの MariaDB インストール 設定..

Flow Control Information Network 1 /

total-all-nt.dvi

BSD Unix IPv6 WIDE Project / ( ) All rights reserved. Copyright(c)2006 WIDE Project 1

卒研 .PDF

wide93.dvi

Mac OS X Server QuickTime Streaming Server 5.0 の管理(バージョン 10.3 以降用)

Microsoft Word - jikkenIII08-_2_-2.doc

AirMac ネットワーク構成の手引き

untitled

目次 1 Raspberry Pi の初期設定... 2 System 設定... 3 Interfaces 設定... 4 Localisation 設定 無線 LAN の設定... 7 GUI での設定... 7 CUI での設定 PC の設定 Bonjo

1 1 LAN LAN LAN LAN Pre Shared Key: LAN 1. UTP 10BASE-T/100BASE-TX MDI/MDI-X 2 AT-TQ

untitled

Microsoft Word - PSM_Mig_FAS_16209.doc

IIJ Technical WEEK IIJのバックボーンネットワーク運用

ppt

Microsoft Word - SL_[VPN]PPTPを利用したLAN間接続.doc

スライド 1

untitled

04.PDF

IIJ Technical WEEK SEILシリーズ開発動向:IPv6対応の現状と未来


untitled

JANOG14-コンバージェンスを重視したMPLSの美味しい使い方

untitled

橡c03tcp詳説(3/24修正版).PDF


KCB-3WL User’s MAnual

IGMPS.dvi

IP IP MTU Maximum Transfer Unit MTU MTU [2] i

CPE9V1.0&AP615V2.0-C01说明书-电子档

Inter-IX IX/-IX 10/21/2003 JAPAN2003 2

設定例集_Rev.8.03, Rev.9.00, Rev.10.01対応

LAN

IPv6 リンクローカル アドレスについて

total.dvi

Transcription:

2 PC [1], [2], [3] 2.1 OS 2.1 ifconfig 2.1 lo ifconfig -a 2.1 enp1s0, enx0090cce7c734, lo 3 enp1s0 enx0090cce7c734 PC 2.1 (eth0, eth1) PC 14

$ ifconfig lo Link encap: inet :127.0.0.1 :255.0.0.0 inet6 : ::1/128 : UP LOOPBACK RUNNING MTU:65536 :1 RX :8 :0 :0 :0 :0 TX :8 :0 :0 :0 :0 (Collisions):0 TX :0 RX :696 (696.0 B) TX :696 (696.0 B) $ ifconfig -a enp1s0 Link encap: 00:0c:29:4a:9c:a7 BROADCAST MULTICAST MTU:1500 :1 RX :0 :0 :0 :0 :0 TX :0 :0 :0 :0 :0 (Collisions):0 TX :1000 RX :0 (0.0 B) TX :0 (0.0 B) enx0090cce7c734 Link encap: 00:90:cc:e7:c7:34 BROADCAST MULTICAST MTU:1500 :1 RX :0 :0 :0 :0 :0 TX :0 :0 :0 :0 :0 (Collisions):0 TX :1000 RX :0 (0.0 B) TX :0 (0.0 B) lo Link encap: inet :127.0.0.1 :255.0.0.0 inet6 : ::1/128 : UP LOOPBACK RUNNING MTU:65536 :1 RX :1296 :0 :0 :0 :0 TX :1296 :0 :0 :0 :0 (Collisions):0 TX :1 RX :97664 (97.6 KB) TX :97664 (97.6 KB) 2.1: ifconfig 15

2.1 PC USB LAN 1 ( LAN ) 2.1 enp eth0 enx eth1 1 2 eth0 = (enp ) eth1 = (enx ) eth0 = (enp ) eth1 = (enx ) 2.2 IP 2.1 eth0 eth1 (Ethernet) (lo ) 2.1 2.1 enp1s0 eth0 00:0c:29:4a:9c:a7 ( ) 48 48 8 16 (:) 1 2 2 2.1 3 24 (22 ) 2 00 22 IEEE (Institute of Electrical and Electronics Engineers) 16

OUI (Organizationally Unique Identifier) MA-L (MAC Address Block Large) 26 MA-M 34 MA-S 25 48 (24 ) 2 00 24 MAC (Media Access Control) Ethernet 2.1 (*) 2 2.2 (*) PC ( 1 ) eth0 eth1 : https://regauth.standards.ieee.org/standards-ra-web/pub/view.html Please select a Product All MAC (MA-L, MA-M, MA-S) SEARCH RESULTS Filter results by search text MAC Filter (PC ) 2.2 1.1 (p.7) 2 PC 1 5 pc1 5 4 3 2 1 1 Hub pc2 1 pc2 1 2 5 pc2 ( 1 ) ( ) (protocol) 2 ( ) ( Hub ) 17

pc1 5 4 3 2 1 pc2 5 4 3 2 1 switching Hub 2.2: ( ) pc1 router pc2 5 4 3 2 1 3 2 1 5 4 3 2 1 2.3: ( ) 2.3 ( : router) 1 3 ( ) IP (Internet Protocol) IP 4 (IPv4) 32 8 10 (.) IP 130.158.69.233 IP IP PC (endeavor01 16) IP 2.1 {x,y} x y n = 1 254 endeavor01 endeavor02 IP 192.168.1.1 18

254 192.168.2.1 254 PC endeavor01,02 endeavor03,04 endeavor05,06 endeavor07,08 endeavor09,10 endeavor11,12 endeavor13,14 endeavor15,16 IP 192.168.{1,2}.n 192.168.{3,4}.n 192.168.{5,6}.n 192.168.{7,8}.n 192.168.{9,10}.n 192.168.{11,12}.n 192.168.{13,14}.n 192.168.{15,16}.n 2.1: IP 2.3 (*) IPv4 A C D A C 2.1 IP? 2.4 (*) 2.1 n 1 254 n 8 0 255 0 255 IP IP 0 255 lo 127.x.y.z (x,y,z = 0 255) 127.0.0.1 2.3 IP IP ifconfig 2.4 ifconfig eth0 IP 192.168.100.1 su ifconfig eth0 IP (inet ) 192.168.100.1 19

$ sudo ifconfig eth0 inet 192.168.100.1 $ ifconfig eth0 eth0 Link encap: 00:0c:29:4a:9c:a7 inet :192.168.100.1 :192.168.100.255 :255.255.255.0 inet6 : fe80::20c:29ff:fe4a:9ca7/64 : UP BROADCAST RUNNING MULTICAST MTU:1500 :1 RX :0 :0 :0 :0 :0 TX :3 :0 :0 :0 :0 (Collisions):0 TX :1000 RX :0 (0.0 B) TX :238 (238.0 B) 2.4: IP 2.2 2.1 PC IP 2 IP 3 4 PC endeavor01 endeavor02 3 1 4 1 2 2 IP 192.168.1.1 192.168.1.2 IP PC eth0 (eth1 ) eth0 2.1 PC IP ifconfig 2.4 2.2 PC ping 2.5 192.168.100.1 PC 192.168.100.2 ping $ ping -c 4 192.168.100.2 PING 192.168.100.2 (192.168.100.2) 56(84) bytes of data. 64 bytes from 192.168.100.2: icmp_seq=1 ttl=64 time=3.28 ms 64 bytes from 192.168.100.2: icmp_seq=2 ttl=64 time=1.61 ms 64 bytes from 192.168.100.2: icmp_seq=3 ttl=64 time=1.61 ms 64 bytes from 192.168.100.2: icmp_seq=4 ttl=64 time=1.62 ms --- 192.168.100.2 ping statistics --- 4 packets transmitted, 4 received, 0% loss, time 3028ms rtt min/avg/max/mdev = 1.615/2.033/3.280/0.720 ms 2.5: ping ( ) 20

$ ping -c 4 192.168.100.2 PING 192.168.100.2 (192.168.100.2) 56(84) bytes of data. From 192.168.100.1 icmp_seq=1 Destination Host Unreachable From 192.168.100.1 icmp_seq=2 Destination Host Unreachable From 192.168.100.1 icmp_seq=3 Destination Host Unreachable From 192.168.100.1 icmp_seq=4 Destination Host Unreachable --- 192.168.100.2 ping statistics --- 4 packets transmitted, 0 received, +4 errors, 100% loss, time 3021ms pipe 3 2.6: ping ( ) ping IP ( (RTT: Round Trip Time) ) ping -c 4 192.168.100.2 ( icmp seq 1 4 ) 4 RTT 3.28ms, 1.61ms, 1.61ms, 1.62ms (statistics) (loss) 0% RTT (avg) 2.033ms 2.6 100% ping 2.3 2.2 PC ping Hub ( Hub) Hub ( Hub) 2.1 IP $ sudo ifconfig eth1 inet 0.0.0.0 21

2.5 ping 3 RTT Hub ( Hub) 2.3 RTT 1. 127.0.0.1 2. eth0 IP ( eth0 192.168.1.1 192.168.1.1 ping ) 2.6 PC $ sudo sh -c "echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts" ping ( -b ) 3 2.5 (DUP!) 2.4 1. eth0 IP 4 255 ( eth0 192.168.1.1 192.168.1.255 ping ) 2. eth0 IP 4 0 OS 2.4 PC $ sudo sh -c "echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts" 22

2.5 2.3 ifconfig IP IP Ubuntu 16.04 LTS OS ifup 2.7 /etc/network/interfaces.d/eth0 eth0 IP (4.3.1 (p.60) ) ifup eth0 ( ) $ sudo ln -s /etc/resolv.conf /etc/resolv.conf $ sudo emacs /etc/network/interfaces.d/eth0 $ cat /etc/network/interfaces.d/eth0 auto eth0 iface eth0 inet static address 192.168.100.1 netmask 255.255.255.0 iface eth0 inet6 auto $ sudo ifup eth0 eth0 $ ifconfig eth0 ( ) eth0 Link encap: 00:0c:29:4a:9c:a7 inet :192.168.100.1 :192.168.100.255 :255.255.255.0 ( ) $ ping -c 4 192.168.100.2 PING 192.168.100.2 (192.168.100.2) 56(84) bytes of data. 64 bytes from 192.168.100.2: icmp_seq=1 ttl=64 time=3.28 ms 64 bytes from 192.168.100.2: icmp_seq=2 ttl=64 time=1.61 ms 64 bytes from 192.168.100.2: icmp_seq=3 ttl=64 time=1.61 ms 64 bytes from 192.168.100.2: icmp_seq=4 ttl=64 time=1.62 ms --- 192.168.100.2 ping statistics --- 4 packets transmitted, 4 received, 0% loss, time 3028ms rtt min/avg/max/mdev = 1.615/2.033/3.280/0.720 ms 2.7: ifup 23

$ sudo ifdown eth0 eth0 $ ifconfig eth0 ( ) lo Link encap: inet :127.0.0.1 :255.0.0.0 ( ) $ ping -c 4 192.168.100.2 connect: Network is unreachable 2.8: ifdown OS ifdown 2.8 eth0 2.4 PC /etc/network/interfaces.d/eth0 2.2 IP eth0 2.1 ifup IP ifdown ifup ifup /etc/network/interfaces.d #eth0# emacs emacs ifup eth0 #eth0# emacs #eth0# ifup 2.6 1.1 (p.7) PC Hub ( Hub) 2.9 Hub ( Hub) (cascading connection) Hub ( Hub) PC 4 (8 ) ( ) 100Mbps 24

1 1 2.10 PC Hub PC Hub PC MDI (Medium Dependent Interface) Hub MDI-X (MDI Crossover) Hub 2.10 MDI- X Hub PC Hub 2.10 MDI MDI-X ( 2.10 ) MDI-X ( MDI) ( 2.10 ) Switching Hub Switching Hub pc1 cascading connection pc2 2.9: Switching Hub Switching Hub Switching Hub MDI-X MDI-X MDI-X MDI pc1 MDI-X Switching Hub MDI-X Switching Hub 2.10: Hub ( Hub) Hub ( Hub) MDI ( 25

) Hub (CentreCOM FH708TP) 8 X PC MDI-X PC = HUB MDI Hub PC Hub 8 MDI MDI-X Hub ( Hub) Hub (CentreCOM FS708EX V1 Buffalo LSW-TX-8NS) AUTO MDI/MDI-X 2.7 Hub 2 Hub 2 PC 2.9 ping 1. 1 8 ( X PC ) 2. 1 8 ( = HUB ) 26