質問編集履歴
1
ifconfig入力時の返答について追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,3 +1,32 @@
|
|
1
1
|
Linux CentOSから外部のネットワークに接続するときの設定がよく分かりません。
|
2
2
|
|
3
|
-
nameserverには8.8.8.8と設定しています。
|
3
|
+
nameserverには8.8.8.8と設定しています。
|
4
|
+
|
5
|
+
追記
|
6
|
+
ifconfigを入力した結果は以下に追記致します
|
7
|
+
ifconfig
|
8
|
+
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
|
9
|
+
inet 192.168.199.128 netmask 255.255.255.0 broadcast 192.168.199.255
|
10
|
+
inet6 fe80::5eae:c0c7:f7a4:e43a prefixlen 64 scopeid 0x20<link>
|
11
|
+
ether 00:0c:29:ce:c6:8c txqueuelen 1000 (Ethernet)
|
12
|
+
RX packets 6880 bytes 488180 (476.7 KiB)
|
13
|
+
RX errors 0 dropped 0 overruns 0 frame 0
|
14
|
+
TX packets 115 bytes 13967 (13.6 KiB)
|
15
|
+
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
16
|
+
|
17
|
+
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
|
18
|
+
inet 127.0.0.1 netmask 255.0.0.0
|
19
|
+
inet6 ::1 prefixlen 128 scopeid 0x10<host>
|
20
|
+
loop txqueuelen 1000 (Local Loopback)
|
21
|
+
RX packets 1248 bytes 101468 (99.0 KiB)
|
22
|
+
RX errors 0 dropped 0 overruns 0 frame 0
|
23
|
+
TX packets 1248 bytes 101468 (99.0 KiB)
|
24
|
+
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
25
|
+
|
26
|
+
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
|
27
|
+
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
|
28
|
+
ether 52:54:00:c7:c4:7a txqueuelen 1000 (Ethernet)
|
29
|
+
RX packets 0 bytes 0 (0.0 B)
|
30
|
+
RX errors 0 dropped 0 overruns 0 frame 0
|
31
|
+
TX packets 0 bytes 0 (0.0 B)
|
32
|
+
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|