Results 1 to 25 of 33

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Nov:2017
    Location:
    Posts: 212

    / RB951G-2HnD Deco S4 1

    ,

    1 ( Huawei HG8546M) . Huawei- LAN ( WAN ) , 2- (1 2 ) 2- (3 4 ). ( ) (3- ) , (1-) S4 Access point. MikroTik RB951G-2HnD. ? . , , ?


    Code:
    /interface bridge
    add name=IPTV
    add name=LAN
    add name=WAN
    /interface ethernet
    set [ find default-name=ether1 ] mac-address=2C:C8:1B:1B:C2:D8  #  ,      wan       
    /interface vlan
    add interface=ether1 name=vlan-internet-555 vlan-id=555
    add interface=ether1 name=vlan-iptv-777 vlan-id=777
    /interface ethernet switch port
    set 0 default-vlan-id=0
    set 1 default-vlan-id=0
    set 2 default-vlan-id=0
    set 3 default-vlan-id=0
    
    /interface wireless security-profiles
    set [ find default=yes ] supplicant-identity=MikroTik
    /ip pool
    add name=dhcp ranges=192.168.88.2-192.168.88.254
    /ip dhcp-server
    add address-pool=dhcp disabled=no interface=LAN name=dhcp1
    /interface bridge port
    add bridge=LAN interface=ether2
    add bridge=LAN interface=ether3
    add bridge=IPTV interface=ether4
    add bridge=IPTV interface=ether5
    add bridge=WAN interface=vlan-internet-555
    add bridge=IPTV interface=vlan-iptv-777
    /ip neighbor discovery-settings
    set discover-interface-list=!dynamic
    /ip address
    add address=192.168.88.1/24 interface=LAN network=192.168.88.0
    /ip dhcp-client
    add disabled=no interface=WAN
    /ip dhcp-server network
    add address=0.0.0.0/24 gateway=0.0.0.0 netmask=24
    add address=192.168.88.0/24 gateway=192.168.88.1 netmask=24
    /ip firewall nat
    add action=masquerade chain=srcnat out-interface=WAN
    /system clock
    set time-zone-name=Europe/Sofia
    Last edited by zarere; 9th January 2022 at 17:47.

  2. #2
    Registered User tedko's Avatar
    Join Date: Jul:2006
    Location:
    Posts: 126
    ,

    .
    Fiber to the Building . :

    1. .
    /interface bridge
    add name=WAN
    add name=LAN


    2. BR-WAN. 1 .

    /interface bridge
    add admin-mac=C8:B3:73:39:33:22 auto-mac=no name=BR-WAN


    3. :

    4 5 . WAN. .

    5 - , 4 :
    /interface bridge port
    add bridge=BR-LAN interface=ether2
    add bridge=BR-LAN interface=ether3
    add bridge=BR-LAN interface=ether1

    add bridge=BR-WAN interface=ether4
    add bridge=BR-WAN interface=ether5


    4. . DHCP:

    :

    /ip address
    add address=XXX.XXX.XXX.XXX/YY interface=BR-WAN network=XXX.XXX.XXX.XXX.0

    default gateway:
    /ip route
    add distance=1 gateway=XXX.XXX.XXX.XXX.1


    DNS- 1. google:

    /ip dns
    set servers=XXX.XXX.XXX.XXX.1, 89.190.192.247,89.190.192.248,8.8.8.8,1. 1.1.1,8.8.4.4


    DHCP :
    /ip dhcp-client
    add disabled=no interface=BR-WAN
    Asus P5KC/ Core 2 QUAD Q6600, 2.4GHz/ CORSAIR D3 4G Kit, 1333MHz, XMS 3/ SAPPHIRE R9 270X, 4GB, GDDR5B/ WD Blue 2TB + SSD 120GB A-Data XPG SX930/ CODEGEN M608/ PSU
    Seasonic G12 650W 80 Plus Gold (G12-GC-650)

  3. #3
    Registered User
    Join Date: Nov:2017
    Location:
    Posts: 212
    ,

    ether5 LAN ?
    ether4 - 1 ?
    ether1/2/3 , ?
    Last edited by zarere; 9th January 2022 at 22:26.

  4. #4
    Registered User tedko's Avatar
    Join Date: Jul:2006
    Location:
    Posts: 126
    Quote Originally Posted by zarere View Post
    ,

    ether5 LAN ?
    ether4 - 1 ?
    .
    ether4 - STB 1
    ether5 -

    .. , , iptv-. .

    - - - - - -

    ,

    Source NAT- -:

    /ip firewall nat
    add action=masquerade chain=srcnat comment="SNAT to INET" out-interface=BR-WAN
    Asus P5KC/ Core 2 QUAD Q6600, 2.4GHz/ CORSAIR D3 4G Kit, 1333MHz, XMS 3/ SAPPHIRE R9 270X, 4GB, GDDR5B/ WD Blue 2TB + SSD 120GB A-Data XPG SX930/ CODEGEN M608/ PSU
    Seasonic G12 650W 80 Plus Gold (G12-GC-650)

  5. #5
    Registered User
    Join Date: Nov:2017
    Location:
    Posts: 212
    Quote Originally Posted by tedko View Post
    .
    ether4 - STB 1
    ether5 -

    .. , , iptv-. .

    - - - - - -

    ,

    Source NAT- -:

    /ip firewall nat
    add action=masquerade chain=srcnat comment="SNAT to INET" out-interface=BR-WAN

    ., , 3 , wifi , -.

    1 , network mask-ata default gateway-a
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	photo_2022-01-10_00-14-15.jpg‎ 
Views:	126 
Size:	17.5 KB 
ID:	111369  
    Last edited by zarere; 10th January 2022 at 00:16.

  6. #6
    Registered User
    Join Date: Oct:2021
    Location:
    Posts: 174
    255.255.255.192. 26 (/26)
    78.90.197.129

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |