creating tun tap devices in vyatta


#1

hi,

I am a newbie to VyOS.

I am trying to create a new tuntap device in VyOs, but so far there is no option in the ‘set interface’ cli

I am looking something like this:

set interfaces tuntap vtap0 mode tap --> which translates to ‘ip tuntap add dev vtap0 mode tap’

we can set ip address like:
set interfaces tuntap vtap0 address x.x.x.x/x

or perhaps, we can add vtap0 to a bridge interface:
set interfaces tuntap vtap0 vif 0 bridge-group bridge br0

or have an OSPF option:
set interfaces tuntap vtap0 ip ospf priority X

basically, we want to create a tuntap device on the VyOS so that we can use the device as part of the configuration on the VyOS.

Any pointers would be appreciated.

thank you.


#2

Hi,

I guess I am answering my own question here, but for others who are looking for the same question:

http://vyos.net/wiki/Configuration_mode_templates

thanks and regards,