Run the virtual centos on the Ubuntu host

Source: Internet
Author: User
Environment: Ubuntu Command Script :#! /Bin/shsudotunctl-tvb02-umartinsudobrctladdbrbr0sudochmod777/dev/net/tunsudoifconfigeth00.0.0.0promiscsudoifconfigvb01_0.0.0promiscbrctladdbr0sudobrctl

Environment: Ubuntu

Command Script:
#! /Bin/sh


Sudo tunctl-t vb02-u martin
Sudo brctl addbr br0
Sudo chmod 777/dev/net/tun
Sudo ifconfig eth0 0.0.0.0 promisc
Sudo ifconfig vb02 0.0.0.0 promisc

Brctl addbr br0
Sudo brctl addif br0 eth0
Sudo ifconfig br0 up
Sudo dhclient br0
Sudo brctl addif br0 vb02
Sudo ifconfig vb02 up
Sudo chmod 777/dev/net/tun

Sudo VBoxAddIF vb02 martin br0

Related Article

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.