how i can create taptun or loopback in centos

Issues related to configuring your network
Post Reply
mr-secret
Posts: 5
Joined: 2013/05/03 21:35:24

how i can create taptun or loopback in centos

Post by mr-secret » 2015/04/06 08:38:48

hello guys
iwant create a taptun or loopback interface and share net from eth0 to this
please help me about this thanks
my os is centos 5
thanks

Emma Taylor
Posts: 58
Joined: 2015/04/11 04:59:25
Location: United Kingdom

Re: how i can create taptun or loopback in centos

Post by Emma Taylor » 2015/04/13 03:27:10

Hi,

Do you want to bridge them? If so, then make one modprobe tun and then use tunctl to create it.
tunctl [-f tun-clone-device] [-u owner] [-t device-name]
tunctl [-f tun-clone-device] -d device-name

You will require to use the -f option only if your tap/tun master is in an odd place.
Hope this will help you. :)

Regards,
Emma

Post Reply