Create/Delete a “tap” interface in linux

Install “tunctl” :

[yum install tunctl ] or  [apt-get install uml-utilities] or [wgethttp://ftp.cn.debian.org/debian/pool/main/u/uml-utilities/uml-utilities_20070815-1.4_amd64.deb;dpkg -i uml-utilities_20070815-1.4_amd64.deb]

To Create:

tunctl -t <tapname>

ifconfig <tapname> up

To delete:

tunctl -d <tapname>

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s