Network bridged (bridging mode) settings in Linux systems in VMware:

Source: Internet
Author: User

Steps:
1, the virtual machine in the toolbar-"settings-" network adapter: In the right network connection select bridged (bridge mode)--"OK
2, configure the network card IP address:
Start the virtual machine, open the file Ifcfg-eth0
The command is as follows:
Vi/etc/sysconfig/network-scripts/ifcfg-eth0
You can then set this parameter in the file:
Device=eth0 #物理设备名
ipaddr=192.168.1.12 #IP地址
netmask=255.255.255.0 #掩码值
network=192.168.1.0 #网络地址 (not available)
broadcast=192.168.1.255 #广播地址 (not available)
gateway=192.168.1.1 #网关地址
Onboot=yes # [Yes|no] (whether the device is activated at boot time)
Userctl=no #[yes|no] (whether the device can be controlled by a non-root user)
Bootproto=static #[none|static|bootp|dhcp] (non-use protocol at boot | static Assignment | BOOTP protocol | DHCP protocol)

--Note the "equal sign" on either side of the space, the parameter settings, please refer to their local IP settings

3. Configure Network card DNS:
Open File resolv.conf
The command is as follows:
Vi/etc/resolv.conf
Then set the DNS settings
dns1=202.96.209.5
dns2=202.96.209.133
And then it's OK.

Network bridged (bridging mode) settings in Linux systems in VMware:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.