/etc/resolv.confの変更
nameserver を、WindowsのTAPのTCP/IPのIPアドレスである、192.168.0.1 に 設定する。
[stormtrooper@colinux ~]$ su - Password: [root@colinux ~]# vi /etc/resolv.conf
nameserver 192.168.0.1
インターネット上のどこかのサイトにpingを飛ばしてみる
[root@colinux ~]# ping yahoo.jp PING yahoo.jp (xxx.xxx.xxx.xxx) 56(84) bytes of data. 64 bytes from xxx.xxx.xxx.xxx: icmp_seq=1 ttl=63 time=0.380 ms 64 bytes from xxx.xxx.xxx.xxx: icmp_seq=2 ttl=63 time=0.417 ms 64 bytes from xxx.xxx.xxx.xxx: icmp_seq=3 ttl=63 time=0.371 ms 64 bytes from xxx.xxx.xxx.xxx: icmp_seq=4 ttl=63 time=0.476 ms --- yahoo.jp ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3012ms rtt min/avg/max/mdev = 0.371/0.411/0.476/0.041 ms [root@colinux ~]#