Dersom du setter porten til q22 i acess i vlan 101 så får den ip fra aib dersom instillingene hos aib tillater det.
Sist endret av Trrunde; 11. juni 2022 kl. 15:42.
Grunn: Automatisk sammenslåing med etterfølgende innlegg.
703
243522
|
/interface bridge add admin-mac=74:4D:28:27:8E:D0 auto-mac=no comment=defconf igmp-snooping=yes name=bridge-lan
/ip dhcp-client option add code=60 name=vendor-class-identifier value=0x46542D503334313042
10.11.12.0/24
10.133.0.0/16 84.234.204.0/23 84.234.250.128/25 172.21.0.0/16 213.167.98.0/26
[admin@MikroTik 126 RB3011] > /export # oct/23/2022 21:52:45 by RouterOS 7.6 # # model = RB3011UiAS /interface bridge add igmp-snooping=yes name=bridgeLAN /interface vlan add interface=sfp1 name=sfp1-vlan100-voip vlan-id=100 add interface=sfp1 name=sfp1-vlan101-tv vlan-id=101 add interface=sfp1 name=sfp1-vlan102-internet vlan-id=102 /interface list add name=interfaceListWAN add exclude=interfaceListWAN include=all name=interfaceListLAN /ip dhcp-client option add code=60 name=vendor-class-identifier value=0x46542D503334313042 /ip dhcp-server option add code=43 name=q22 value="'Altibox-TMS-Server-Address:https://tmc.services.altibox.net:37020/acs'" /ip dhcp-server option sets add name=set1 options=q22 /ip pool add name=poolLAN ranges=10.0.126.20-10.0.126.250 /ip dhcp-server add address-pool=poolLAN dhcp-option-set=set1 interface=bridgeLAN lease-time=2d name=DHCPserverLAN /interface bridge port add bridge=bridgeLAN ingress-filtering=no interface=interfaceListLAN /interface list member add interface=sfp1 list=interfaceListWAN add interface=sfp1-vlan100-voip list=interfaceListWAN add interface=sfp1-vlan101-tv list=interfaceListWAN add interface=sfp1-vlan102-internet list=interfaceListWAN /ip address add address=10.0.126.1/24 interface=bridgeLAN network=10.0.126.0 /ip dhcp-client add add-default-route=special-classless default-route-distance=100 dhcp-options=vendor-class-identifier disabled=yes interface=sfp1-vlan100-voip use-peer-dns=no use-peer-ntp=no add add-default-route=special-classless default-route-distance=100 dhcp-options=vendor-class-identifier interface=sfp1-vlan101-tv use-peer-dns=no use-peer-ntp=no add dhcp-options=vendor-class-identifier interface=sfp1-vlan102-internet use-peer-ntp=no /ip dhcp-server matcher add address-pool=poolLAN code=43 name=q22 server=DHCPserverLAN value="'Altibox-TMS-Server-Address:https://tmc.services.altibox.net:37020/acs'" /ip dhcp-server network add address=10.0.126.0/24 dhcp-option=q22 dns-server=10.0.126.1 gateway=10.0.126.1 netmask=24 /ip firewall address-list add address=10.0.126.0/24 list=adrLAN /ip firewall filter add action=accept chain=input connection-state=established,related add action=accept chain=input in-interface=sfp1-vlan101-tv protocol=igmp add action=accept chain=input in-interface=sfp1-vlan101-tv add action=accept chain=input protocol=igmp add action=accept chain=input in-interface-list=interfaceListLAN src-address-list=adrLAN add action=accept chain=input in-interface-list=interfaceListLAN add action=drop chain=input connection-state=invalid add action=drop chain=input add action=drop chain=forward connection-state=invalid disabled=yes add action=fasttrack-connection chain=forward connection-state=established,related hw-offload=yes add action=accept chain=forward connection-state=established,related add action=accept chain=forward in-interface-list=interfaceListLAN out-interface-list=interfaceListWAN add action=accept chain=forward in-interface=sfp1-vlan101-tv add action=drop chain=forward /ip firewall nat add action=masquerade chain=srcnat ipsec-policy=out,none out-interface=sfp1-vlan102-internet add action=masquerade chain=srcnat out-interface=sfp1-vlan101-tv add action=masquerade chain=srcnat out-interface=sfp1-vlan100-voip /routing igmp-proxy set quick-leave=yes /routing igmp-proxy interface add alternative-subnets=0.0.0.0/0 interface=sfp1-vlan101-tv upstream=yes add interface=bridgeLAN
DHCPv6 Message type: Advertise (2) Transaction ID: 0xcc81a6 Server Identifier Option: Server Identifier (2) Length: 10 DUID: 00030001e4c7224c0e57 DUID Type: link-layer address (3) Hardware type: Ethernet (1) Link-layer address: e4:c7:22:4c:0e:57 Client Identifier Option: Client Identifier (1) Length: 14 DUID: 0001000113dc484e0015171e5e34 DUID Type: link-layer address plus time (1) Hardware type: Ethernet (1) DUID Time: Jul 23, 2010 14:32:14.000000000 CEST Link-layer address: 00:15:17:1e:5e:34 Status code Option: Status code (13) Length: 2 Status Code: UnspecFail (1) DHCPv6 Message type: Reply (7) Transaction ID: 0x6351e7 Client Identifier Option: Client Identifier (1) Length: 14 DUID: 0001000113dc484e0015171e5e34 DUID Type: link-layer address plus time (1) Hardware type: Ethernet (1) DUID Time: Jul 23, 2010 14:32:14.000000000 CEST Link-layer address: 00:15:17:1e:5e:34 Server Identifier Option: Server Identifier (2) Length: 10 DUID: 00030001e4c7224c0e57 DUID Type: link-layer address (3) Hardware type: Ethernet (1) Link-layer address: e4:c7:22:4c:0e:57 Status code Option: Status code (13) Length: 2 Status Code: NoBinding (3) DHCPv6 Message type: Reply (7) Transaction ID: 0x8c5598 Client Identifier Option: Client Identifier (1) Length: 14 DUID: 0001000113dc484e0015171e5e34 DUID Type: link-layer address plus time (1) Hardware type: Ethernet (1) DUID Time: Jul 23, 2010 14:32:14.000000000 CEST Link-layer address: 00:15:17:1e:5e:34 Server Identifier Option: Server Identifier (2) Length: 14 DUID: 0001000119af6056001a4aa88e40 DUID Type: link-layer address plus time (1) Hardware type: Ethernet (1) DUID Time: Aug 27, 2013 15:04:22.000000000 CEST Link-layer address: 00:1a:4a:a8:8e:40 Status code Option: Status code (13) Length: 2 Status Code: NoBinding (3)
|