Configuration
The configuration goes to /etc/config/l2gvpn.
# verbose : 1->error 2->info 3->normal 4->noise
config l2gvpn debug
option verbose '4'
option headers '1'
option forwarding '1'
option broadcasting '1'
option peers '1'
option register '1'
option tuntap '1'
option packets '1'
option arp '1'
option mat '1'
config edge youredgename
option ipaddr '10.11.12.1'
option subnet '255.255.255.0'
option mac '00:09:C2:C3:23:00'
option supernode 'supernode.example.org:12345'
option tundev 'tap0'
option community 'yourcommunity'
option key 'yoursecretkey'
#option daemon '0'
option verbose '3'
#option localport '12345'
#option routing '0'
#option uid '0'
#option gid '0'
#option tcp '0'
#option up '/path/to/upscript'
#option down '/path/to/downscript'
config supernode sn1
option port '12345'
To start the edge type:
$ node youredgename
To start the supernode type:
$ supernode sn1
![(please configure the [header_logo] section in trac.ini)](/trac/chrome/site/your_project_logo.png)