❗️Toto je původní verze internetového fóra ISPforum.cz do února 2020 bez možnosti registrace nových uživatelů. Aktivní verzi fóra naleznete na adrese https://telekomunikace.cz

DHCP přidělí adresu jen některým zařízením

Návody a problémy s konfigurací.
Kalda
Příspěvky: 67
Registrován: 8 years ago

DHCP přidělí adresu jen některým zařízením

Příspěvekod Kalda » 8 years ago

Ahoj,

děje se mi, že DHCP server přidělí adresu jen některým zařízením, u ostatních je v leasech "offered", Např: Televize samsung ip dostane, stolní pc s w10 také, PS3 už nikoli, AP TP link WA801ND nic nedostane a zařízení k němu připojená také ne.

pročítal jsem některá fóra a zkoušel následující:
- někteří tento problém vyřešili přepnutím linku na " 100 Mbps only"
- jiní přepnutím v interface, bridge, stp a tam přehodit z rstp a stp - takto možnost problém vyřešila, ale jenom dočasně.
- někteří se zmiňují, že mi v síti běží další DHCP - toho si nejsem vědom.

Konfigurace:

SXT Lite5 - 6.39.1


POE switch TPLINK


děkuji za vaše rady M.
0 x

Uživatelský avatar
hapi
Příspěvky: 12989
Registrován: 18 years ago

Příspěvekod hapi » 8 years ago

a co ten TP link WA801ND?
0 x
Supermicro + Mikrotik = SuperTik
high speed routery podle požadavků

Kysa
Příspěvky: 415
Registrován: 11 years ago

Příspěvekod Kysa » 8 years ago

Kalda píše: AP TP link WA801ND nic nedostane a zařízení k němu připojená také ne.



Zařízení za ním nedostanou žádnou IP, nebo dostanou špatnou?
0 x
Petr Krist

rsaf
Příspěvky: 1669
Registrován: 18 years ago

Příspěvekod rsaf » 8 years ago

Nemáš tam bridge ale DHCP server pověšený na fyzickém ETH nebo něco podobného? Takto se to chová, když od "klienta" přijde DHCP request ale už k němu nedorazí odpvěď... prostě když linka funguje jen jedním směrem.
0 x

CrazyApe
Příspěvky: 790
Registrován: 10 years ago

Příspěvekod CrazyApe » 8 years ago

Nekde je neco spatne nastavene. Muzes nam sem vyexportovat konfiguraci ??
0 x

Kalda
Příspěvky: 67
Registrován: 8 years ago

Příspěvekod Kalda » 8 years ago

Ahoj,

omlouvám se že píšu tak pozdě.

Kód: Vybrat vše

/interface bridge
add fast-forward=no mtu=1500 name=bridge1 protocol-mode=stp
/interface wireless
set [ find default-name=wlan1 ] band=5ghz-a/n country="czech republic" \
    disabled=no frequency=5200 mode=station-bridge name=wlan1-gateway ssid=\
    APcko5Ghz
/interface ethernet
set [ find default-name=ether1 ] advertise=100M-half,100M-full \
    auto-negotiation=no name=ether1-local
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=3des
/ip pool
add name=dhcp ranges=192.168.3.10-192.168.3.254
/ip dhcp-server
add address-pool=dhcp authoritative=after-2sec-delay disabled=no interface=\
    bridge1 lease-time=3d name=dhcp1
/system logging action
set 0 memory-lines=100
set 1 disk-lines-per-file=100
/interface bridge port
add bridge=bridge1 interface=ether1-local
add bridge=bridge1 disabled=yes interface=wlan1-gateway
/interface l2tp-server server
set caller-id-type=ip-address
/ip address
add address=192.168.3.1/24 comment="default configuration" interface=\
    ether1-local network=192.168.3.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=no \
    interface=wlan1-gateway
/ip dhcp-server network
add address=192.168.3.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=192.168.3.1 \
    netmask=24
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip dns static
add address=192.168.3.1 name=router
/ip firewall filter
add action=accept chain=input comment="default configuration" protocol=icmp
add action=accept chain=input comment="default configuration" connection-state=\
    established
add action=accept chain=input comment="default configuration" connection-state=\
    related
add action=drop chain=input comment="default configuration" in-interface=\
    wlan1-gateway
add action=accept chain=forward comment="default configuration" \
    connection-state=established
add action=accept chain=forward comment="default configuration" \
    connection-state=related
add action=drop chain=forward comment="default configuration" connection-state=\
    invalid
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" \
    out-interface=wlan1-gateway to-addresses=0.0.0.0
/ip route
add disabled=yes distance=1 gateway=192.168.20.1
/ip service
set api disabled=yes
/system clock
set time-zone-name=Europe/Prague
/system identity
set name=Kalda_CL
/system leds
set 0 interface=wlan1-gateway
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ether1-local
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether1-local
0 x