Linux CentOSから外部のネットワークに接続するときの設定がよく分かりません。
nameserverには8.8.8.8と設定しています。
追記
ifconfigを入力した結果は以下に追記致します
ifconfig
ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.199.128 netmask 255.255.255.0 broadcast 192.168.199.255
inet6 fe80::5eae:c0c7:f7a4:e43a prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:ce:c6:8c txqueuelen 1000 (Ethernet)
RX packets 6880 bytes 488180 (476.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 115 bytes 13967 (13.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1248 bytes 101468 (99.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1248 bytes 101468 (99.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:c7:c4:7a txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
回答1件
あなたの回答
tips
プレビュー