Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # jan/02/1970 06:05:59 by RouterOS 6.47.8
- # model = RB750Gr3
- /interface ethernet
- set [ find default-name=ether1 ] comment="TO PROVIDER"
- set [ find default-name=ether2 ] comment="TO HOM-SERVER"
- set [ find default-name=ether3 ] comment="TO WORK"
- set [ find default-name=ether4 ] comment="TO DGS1100-8 SPALNA"
- set [ find default-name=ether5 ] comment="TO DGS1100-8 ZAL"
- /interface bridge
- add name=bridge1
- /interface bridge port
- add bridge=bridge1 interface=ether4
- add bridge=bridge1 interface=ether5
- /interface ethernet switch vlan
- add ports=ether4,ether5 switch=switch1 vlan-id=5
- add ports=ether4,ether5 switch=switch1 vlan-id=6
- /interface ethernet switch port
- set 3 default-vlan-id=5 vlan-mode=secure
- set 4 default-vlan-id=6 vlan-mode=secure
- /ip pool
- add name=LAN-WORK-POOL ranges=10.255.255.5-10.255.255.20
- add name=LAN-HOME-POOL ranges=192.168.200.10-192.168.200.254
- /interface vlan
- add interface=bridge1 name=vlan5 vlan-id=5
- add interface=bridge1 name=vlan6 vlan-id=6
- /ip address
- add address=10.255.255.1/25 interface=vlan6 network=10.255.255.0
- add address=192.168.200.1/24 interface=vlan5 network=192.168.200.0
- /ip dhcp-server
- add address-pool=LAN-WORK-POOL disabled=no interface=vlan5 lease-time=8h
- add address-pool=LAN-HOME-POOL disabled=no interface=vlan6 lease-time=8h
Add Comment
Please, Sign In to add comment