Chinaunix首页 | 论坛 | 博客
  • 博客访问: 491835
  • 博文数量: 28
  • 博客积分: 858
  • 博客等级: 一等列兵
  • 技术积分: 852
  • 用 户 组: 普通用户
  • 注册时间: 2011-06-02 14:13
文章分类

全部博文(28)

文章存档

2020年(1)

2019年(1)

2018年(5)

2017年(1)

2014年(1)

2013年(2)

2012年(17)

分类: 系统运维

2012-05-03 09:27:03

Internet sharing

After you have installed vmware in your system, you can see this:
NETWORK DEVICE


VMnet8: when you used NAT , VMware system(system installed in your VMware) used this device.

VMnet1: when you used HOST-ONLY, VMware system(system installed in your VMware) used this device.

Local Area Connection: This is your location network device. This device is required by VMware network device.

SERVICE RELATED TO VMware

DHCP Service: DHCP server, VMware system can get it’s IP address from this server, when VM system use dhcp not static way.

NAT Service: NAT server, VMware system can serve the outer network which local machine connected to.

Step 1:

Local machine setting:


Get VMnet8 information:


Step 2:

VMware setting:

·         Menu->edit->virtual Network setting


Note:

1 subnet IP : VMnet8 and this IP was belonged to the same network.

·         NAT setting information


 

Note: Gateway IP

Step 3:

Outer checking and setting:

1 set network device connect way:

Please select the NAT way.  My is bridged, please don’t follow me.

            VMware system setting:

1.      IP

First way:

If you have desktop, please use the network setting like windows to set your network.

Second way:

If you don’t have desktop, please configurate your network config file.

/etc/sysconfig/network-scripts/ifcfg-eth0


If you don’t know how to configurate your network, please set BOOTPROTO=dhcp, the system will help you!

DEVICE: device name

IPADDR: IP address

NETMASK: netmask

ONBOOT: this can be yes or no, if this value is yes, when you boot your system , network will start with your system, the value no is opposite.

GATEWAY: this must be set correct, thus your network will work wrong, This must be set we note before.

Third way:

When you are in terminal mode, enter setup, use text mode to set your network.

 

2.      DNS

/etc/resolv.conf

This file is used for dns.


3.      Status check

Ifconfig

Information:


            Inet addr: your ip address

            Mask: your netmask

            RUNNING: this specify that you ether is up.

            RX receive packet

            TX send packets

            Route:

           

            Your route map:

            If you setting is right , that ‘default 192.168.172.2 255.255.255.0 …’ appears.

How to check what’s wrong with you!

1 ping yourself(ping local ip address not 127.0.0.1)

If you can get right response, good luck you have set your ip address in right way.

2 ping your gateway

3 ping a Internet IP address

4 ping a domain name IE:

阅读(3824) | 评论(3) | 转发(0) |
给主人留下些什么吧!~~

鸪灵2012-05-06 11:39:55

呵呵,不错的博文,就是英文看起来比较麻烦一点

今生路人甲2012-05-05 08:14:34

哇哦哇: 怎么全是英文版的,没有翻译过来的嘛?.....
我自己写的

哇哦哇2012-05-04 22:33:26

怎么全是英文版的,没有翻译过来的嘛?