Skip to content

Instantly share code, notes, and snippets.

@yoshiya54
Created June 10, 2017 17:39
Show Gist options
  • Save yoshiya54/6be8feba4b76fdba2fffe9642c89b1f3 to your computer and use it in GitHub Desktop.
Save yoshiya54/6be8feba4b76fdba2fffe9642c89b1f3 to your computer and use it in GitHub Desktop.
Vagrantのネットワークで躓いた ref: http://qiita.com/yoshiya64/items/62d85f645499bf5b7eb6
[root@localhost ~]# yum install dig
Geladene Plugins: fastestmirror
http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: mirror.centos.org; Unbekannter Fehler"
Anderer Spiegelserver wird versucht.
[root@localhost ~]# service network restart
Restarting network (via systemctl): [ OK ]
[root@localhost ~]#
[root@localhost yum.repos.d]# ping www.yahoo.co.jp
PING edge.g.yimg.jp (182.22.24.252) 56(84) bytes of data.
64 bytes from 182.22.24.252: icmp_seq=1 ttl=51 time=116 ms
NAME="enpXXX"
DEVICE="enpXXX"
ONBOOT=yes
NETBOOT=yes
UUID="XXX"
IPV6INIT=yes
BOOTPROTO=dhcp
TYPE=Ethernet
DNS1=8.8.8.8
DNS2=8.8.4.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment