Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1181115
  • 博文数量: 252
  • 博客积分: 5421
  • 博客等级: 大校
  • 技术积分: 2418
  • 用 户 组: 普通用户
  • 注册时间: 2007-06-17 12:59
文章分类

全部博文(252)

文章存档

2017年(3)

2016年(18)

2015年(31)

2014年(18)

2013年(7)

2012年(8)

2011年(12)

2010年(30)

2009年(32)

2008年(57)

2007年(36)

分类: LINUX

2011-05-25 01:12:44

虚拟网卡TAP-Win32 Adapter V8 (coLinux)命名为colinux,设置本地网卡的连接共享。
虚拟网卡的ip被自动设置为192.168.137.1,子网掩码为255.255.255.0,其他项未设置。
虚拟网卡的配置--高级--Media Status选择Always Connected。
禁用虚拟网卡和本地网卡的ipv6协议。
禁用colinux系统(Debian 5.0)的ipv6模块:
/etc/modprobe.d/blacklist
----------------------
blacklist ipv6
======================


colinux-daemon.exe使用的配置文件设置:
debian-lenny.conf
----------------------
eth0=tuntap,"colinux"
======================


colinux系统内配置:
/etc/network/interfaces
----------------------
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.137.2
gateway 192.168.137.1
netmask 255.255.255.0
======================


/etc/resolv.conf
----------------------
nameserver 8.8.8.8
======================
阅读(2010) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~