forked from Alkorin/ngadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
44 lines (32 loc) · 1.13 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
./autogen.sh
./configure
make
./cli/src/ngcli -i eth0 -m 28:c6:8e:fb:22:ca -p password
# put vlan mode advanced
> vlan mode set 4
# use vlan 100 as default VLAN on freeplayer port
> vlan pvid set 5 100
# set 100 as tagged to all
> vlan 802.1q set 100 all tagged
> vlan 802.1q show
Ports configuration:
VLAN 1 2 3 4 5
1 U U U U U
100 T T T T T
# remove VLAN 1 on freeplayer port
> vlan 802.1q set 1 5 no
> vlan 802.1q show
Ports configuration:
VLAN 1 2 3 4 5
1 U U U U
100 U U U U T
make sure all ports up to the freebox are tagged on VLAN 100
# Mikrotik config
- add virtual interfaces on VLAN 100
/interface vlan add interface=ether1 name=vlan100.1 vlan-id=100
/interface vlan add interface=ether2 name=vlan100.2 vlan-id=100
- create new bridge
/interface bridge add name="bridge vlan100"
- assign virtual interfaces to the new bridge
/interface bridge port add bridge="bridge vlan100" interface=vlan100.1
/interface bridge port add bridge="bridge vlan100" interface=vlan100.2