Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

CAP i fiksne adrese

[es] :: Wireless :: Mikrotik :: CAP i fiksne adrese

[ Pregleda: 1550 | Odgovora: 7 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

sarmudin

Član broj: 82990
Poruke: 211
*.st4.cable.xnet.hr.



+1 Profil

icon CAP i fiksne adrese21.11.2018. u 20:34 - pre 65 meseci
Trenutno imam testno složen CapsMan i 2 Cap-a. Za sada mi CAP-ovi dobijaju IP dinamički šta bi pokušao izbjeći čisto radi jednostavnosti administracije. Ptrepostavljam ako skinem DHCP client sa bridge interface-a da mi uređaji neće dobivati IP adrese. Mogu li nekako postavit fixni IP na uređaju a da uređaji dobijaju dinamičke IP-eve?
CAP konfiguracija je:

Code:

# jan/02/1970 00:27:58 by RouterOS 6.40.5
# software id = 1VD1-Q5H4
#
# model = RouterBOARD wAP 2nD r2
# serial number = 676605CBB2C0
/interface bridge
add name=CapBridge
/interface wireless
# managed by CAPsMAN
# channel: 2442/20-Ce/gn(20dBm), SSID: ******, CAPsMAN forwarding
set [ find default-name=wlan1 ] ssid=MikroTik
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/interface bridge port
add bridge=CapBridge comment=defconf interface=ether1
/interface wireless cap

set bridge=CapBridge discovery-interfaces=CapBridge enabled=yes interfaces=\
    wlan1
/ip dhcp-client
add comment=defconf dhcp-options=hostname,clientid disabled=no interface=\
    CapBridge


Usput jeli disconnect timeout vrijeme nakon kojeg će izbaciti s mreže?

 
Odgovor na temu

Predrag Supurovic
Pedja YT9TP
Užice

Član broj: 157129
Poruke: 6279

Sajt: pedja.supurovic.net


+1570 Profil

icon Re: CAP i fiksne adrese22.11.2018. u 06:12 - pre 65 meseci
DHCP nema veze sa CAP.

Prosto podesi pool ip adresa koje će da dodlejuje DHCP a koji je manji od celog opsega koji se vidi na CAP. Adrese koje nisu na DHCP možeš statički da dodeljuješ.

 
Odgovor na temu

sarmudin

Član broj: 82990
Poruke: 211
85.114.61.*



+1 Profil

icon Re: CAP i fiksne adrese22.11.2018. u 09:07 - pre 65 meseci
Na koji interface onda dodajem staticki IP?
Situacija je da je u igri WAP koji ima 1 ethernet i 1 wlan. Ethernet je discoery port i ima upaljen DHCP. Pool je x.x.x.100-x.x.x.200 a želio bi da CAP uređaji imaju statički IP x.x.x.201-x.x.x.202
Na koji interface da mu stavim x.x.x.201 a da posli toga Wireless uređaji dobijaju DHCP?
 
Odgovor na temu

Predrag Supurovic
Pedja YT9TP
Užice

Član broj: 157129
Poruke: 6279

Sajt: pedja.supurovic.net


+1570 Profil

icon Re: CAP i fiksne adrese22.11.2018. u 09:12 - pre 65 meseci
Statičku IP adresu podesiš na uređaju.

Međutim, ja bih ti savetovao da statičke IP adrese dodeljuješ takođe preko DHCP. Sačuvaće ti dosta živaca.


 
Odgovor na temu

sarmudin

Član broj: 82990
Poruke: 211
85.114.61.*



+1 Profil

icon Re: CAP i fiksne adrese22.11.2018. u 12:44 - pre 65 meseci
Taj dio mi je jasan da postavljam na uređaju ali na kojem interface-u

 
Odgovor na temu

Predrag Supurovic
Pedja YT9TP
Užice

Član broj: 157129
Poruke: 6279

Sajt: pedja.supurovic.net


+1570 Profil

icon Re: CAP i fiksne adrese23.11.2018. u 02:22 - pre 65 meseci
Pa na onom preko koga je uređaj povezan na mrežu.

 
Odgovor na temu

sarmudin

Član broj: 82990
Poruke: 211
*.static1.client.xnet.hr.



+1 Profil

icon Re: CAP i fiksne adrese24.11.2018. u 16:44 - pre 65 meseci
@predrag možeš li mi pomoć zašto mi ne radi Internet na capsmanu. Konfiguracija je:

Code:


# nov/23/2018 20:20:06 by RouterOS 6.39.1
# software id = LXKL-XSPZ
#
/interface bridge
add name=CapsMan_Bridge
/interface ethernet
set [ find default-name=ether5 ] poe-out=forced-on
/interface wireless
set [ find default-name=wlan1 ] ssid=MikroTik
/caps-man datapath
add bridge=CapsMan_Bridge name=BCDAdria_datapath
/caps-man security
add authentication-types=wpa-psk,wpa2-psk encryption="" name=BCDAdria_pass \
    passphrase=24681357
/caps-man configuration
add country=croatia datapath=BCDAdria_datapath name=BCDAdria security=\
    BCDAdria_pass ssid=BCDAdria
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=CapsMan_DHCP_Pool ranges=10.10.252.101-10.10.252.199
/ip dhcp-server
add address-pool=CapsMan_DHCP_Pool disabled=no interface=CapsMan_Bridge name=\
    CapsManDHCP
/caps-man manager
set enabled=yes
/caps-man manager interface
set [ find default=yes ] forbid=yes
add disabled=no interface=CapsMan_Bridge
/caps-man provisioning
add action=create-dynamic-enabled master-configuration=BCDAdria
/interface bridge port
add bridge=CapsMan_Bridge interface=ether2
add bridge=CapsMan_Bridge interface=ether3
add bridge=CapsMan_Bridge interface=ether4
add bridge=CapsMan_Bridge interface=ether5
/interface l2tp-server server
set caller-id-type=ip-address
/ip address
add address=10.10.252.251/24 interface=CapsMan_Bridge network=10.10.252.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server network
add address=10.10.252.0/24 dns-server=8.8.8.8,8.8.4.4 gateway=10.10.252.251
/ip firewall nat
add action=accept chain=srcnat ipsec-policy=out,none out-interface=ether1
/system clock
set time-zone-name=Europe/Zagreb
/system identity
set name=BCDAdria_CapsMan
/system routerboard settings
set init-delay=0s




On uredno donija IP adresu na wan portu. Iz terminala pingam 8.8.8.8 i to prolazi
Kad ubodem comp u LAN port dobijem IP koji trebam ali ne mogu pingati 8.8.8.8. Istovremeno mogu pingat IP od bridge-a i wan IP
Na WiFi-u je ista stvar. Dobijem IP, mogu pingat bridge i WAN ali nemam izlaza.
U rutama kaže:

Code:

0.0.0.0 / 24 ether1 reachable
10.10.252.0 /24 CapsMan_Bridge reachable
192.168.0.0 /24 ether1 reachable


Po ovome bi morao štimat jer bi sav promet trebao bacat na ether1, al ne kužim zasto neće :o

 
Odgovor na temu

Sa$a
Niš

Član broj: 7253
Poruke: 87
*.netnet.rs.



+3 Profil

icon Re: CAP i fiksne adrese29.11.2018. u 23:38 - pre 65 meseci
0.0.0.0 / 24 ether1 reachable
10.10.252.0 /24 CapsMan_Bridge reachable
192.168.0.0 /24 ether1 reachable

0.0.0.0/24 prepravi na 0.0.0./0
Teorija - to je kada znate sve, a ništa ne radi
Praksa - to je kada sve radi, a neznate zašto
Mi smo spojili teoriju i praksu - kod nas NIŠTA ne radi i NE ZNAMO zašto
ex YT1ENG
KN03XH-16DQ
 
Odgovor na temu

[es] :: Wireless :: Mikrotik :: CAP i fiksne adrese

[ Pregleda: 1550 | Odgovora: 7 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.