|
|
最近在debian--(etch)下安装了vmware6.0版,并且在虚拟机中安装了Centos5(网络方式是host-only),希望能学习一下linux的网络知识。有如下几个问题不知该怎样解决:
1. etch怎么只有ipv6的网络地址,而没有ipv4的ip呢?---- 已经解决了
2. 我在etch下安装了dhcp3,可是为何不能运行?系统提示
No subnet declaration for vmnet1 (192.168.193.1).
** Ignoring requests on vmnet1. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface vmnet1 is attached. **
Not configured to listen on any interfaces! ----已经解决了!
3. 我怎样才能把主机etch和虚拟机Centos组建成一个局域网呢?
现在就剩第三个问题了,思考了一下,关键是要解决iptables的问题,把主机建成一个网关,在网上查了一下资料,要打开ip forwad, NAT,可是不知该怎样做? 求教了!
谢谢您的帮助!!! |
|