Keresés

Hirdetés

Új hozzászólás Aktív témák

  • hege1989

    tag

    Sziasztok!

    Nemrég kezdtem megismerkedni a Mikrotik eszközökkel.
    Alap konfigurációk már mennek, de most belefutottam egy dologba amit nem tudok megoldani.

    Adott 2 router Core és Access. mindegyiken van 3 VLAN(10,20,99) 2 access és egy trunk porttal(port 1). Mindegyiken van VLAN interface is. A Core-on vannak felvéve a default gatewayek és itt fut DHCP server is.

    Az a furcsa dolog áll fenn, hogy ha a Core egyik access portjára kötöm a gépem akkor nem kapok IP-t de ha az Accessre akkor igen. Ha static IP-t konfigolok a gépemen akkor tudom pingetni a PC-t az Accessen ami DHCP-n kap címet. A gépem Winboxon sem látja a Core-t ha közvetlen rá van kötve csak az Accesst.

    A Core egy RB450G az Access pedig egy RB750GL.
    Mindegyik ROS 6.43.7-et futtat.

    Tudnátok nekem segíteni a probléma megoldásában?

    /interface bridge
    add name=bridge1 protocol-mode=none
    /interface vlan
    add interface=bridge1 name=MGMT vlan-id=99
    add interface=bridge1 name=vlan10 vlan-id=10
    add interface=bridge1 name=vlan20 vlan-id=20
    /interface ethernet switch port
    set 0 vlan-header=add-if-missing vlan-mode=secure
    set 1 default-vlan-id=10 vlan-header=always-strip vlan-mode=secure
    set 2 default-vlan-id=20 vlan-header=always-strip vlan-mode=secure
    set 5 vlan-mode=secure
    /interface wireless security-profiles
    set [ find default=yes ] supplicant-identity=MikroTik
    /ip pool
    add name=dhcp_pool0 ranges=10.10.10.2-10.10.10.254
    add name=dhcp_pool1 ranges=20.20.20.2-20.20.20.254
    /ip dhcp-server
    add address-pool=dhcp_pool0 disabled=no interface=vlan10 name=dhcp1
    add address-pool=dhcp_pool1 disabled=no interface=vlan20 name=dhcp2
    /interface bridge port
    add bridge=bridge1 interface=ether1
    add bridge=bridge1 interface=ether2
    add bridge=bridge1 interface=ether3
    /interface ethernet switch vlan
    add ports=ether1,ether2,switch1-cpu switch=switch1 vlan-id=10
    add ports=ether1,ether3,switch1-cpu switch=switch1 vlan-id=20
    add ports=ether1,switch1-cpu switch=switch1 vlan-id=99
    /ip address
    add address=192.168.99.1/24 interface=MGMT network=192.168.99.0
    add address=10.10.10.1/24 interface=vlan10 network=10.10.10.0
    add address=20.20.20.1/24 interface=vlan20 network=20.20.20.0
    /ip dhcp-relay
    add dhcp-server=10.10.10.1 disabled=no interface=vlan10 name=relay1
    /ip dhcp-server network
    add address=10.10.10.0/24 gateway=10.10.10.1
    add address=20.20.20.0/24 gateway=20.20.20.1

    ACCESS:

    /interface bridge
    add name=bridge1 protocol-mode=none
    /interface vlan
    add interface=bridge1 name=MGMT vlan-id=99
    add interface=bridge1 name=vlan10 vlan-id=10
    add interface=bridge1 name=vlan20 vlan-id=20
    /interface ethernet switch port
    set 0 vlan-header=add-if-missing vlan-mode=secure
    set 1 default-vlan-id=10 vlan-header=always-strip vlan-mode=secure
    set 2 default-vlan-id=20 vlan-header=always-strip vlan-mode=secure
    set 5 vlan-mode=secure
    /interface bridge port
    add bridge=bridge1 interface=ether1
    add bridge=bridge1 interface=ether2
    add bridge=bridge1 interface=ether3
    /interface ethernet switch vlan
    add independent-learning=no ports=ether1,ether2,switch1-cpu switch=switch1 vlan-id=10
    add independent-learning=no ports=ether1,ether3,switch1-cpu switch=switch1 vlan-id=20
    add independent-learning=no ports=ether1,switch1-cpu switch=switch1 vlan-id=99
    /ip address
    add address=192.168.99.2/24 interface=MGMT network=192.168.99.0
    add address=10.10.10.2/24 interface=vlan10 network=10.10.10.0
    add address=20.20.20.2/24 interface=vlan20 network=20.20.20.0

    [ Szerkesztve ]

    http://hardverapro.hu/tag/hege1989

  • hege1989

    tag

    válasz #42556672 #6384 üzenetére

    Szia!

    A ligban semmi nem látszik csak, hogy az interface UP.
    Wiresharkon megnéztem és DHCP üzenetnek híre hamva nincsen a Core eszközön.
    Az Accessen látni a DHCP request-reply-t.

    [ Szerkesztve ]

    http://hardverapro.hu/tag/hege1989

  • hege1989

    tag

    Átmásoltam az eredeti 450G-ről a konfigot egy 750GL-re és azon egyből működött.
    Van valami speckó dolog amit a 450G-n még be kellett volna állítanom?

    Van ilyennel valakinek tapasztalata?

    http://hardverapro.hu/tag/hege1989

Új hozzászólás Aktív témák