.
Come da titolo la mia configurazione finale vorrei che fosse:
Eth1= dhcp da masterRouter
Eth2= dhcp senza HotSpot
Eth3 = x AP HotSpot
Eth4 = x AP HotSpot
Eth5 = x AP Hotspot
wlan1 = uso senza Hotspot solo password.
.
.
A questo punto ho cominciato a cambiare la configurazione per avere la eth2 libera mi sono bloccato perchè non riesco a farla funzionare
.
Prove per la eth2:
A= creato un'altro bridge e assegnato la porta eth2 su bridge2
C= creato un AddressList per il bridge2
192.168.0.xx per la Eth1
192.168.100.1/24 sulla bridge1
192.168.101.1/24 sulòla bridge2
D= creato un secondo server DHCP per la intefaccia bridge2
su network del server1=192.168.100.0/24 gateway 192.168.100.1 netmask=24 dns=8.8.8.8
su network del server2=192.168.101.0/24 gateway 192.168.100.1 netmask=24 dns=8.8.8.8
forse sbagliato ????
.
.
Router List
AS
DS
DAC 192.168.0.0/24 eth1
DAC 192.168.100.0 bridge1
DAC 192.168.101.0 bridge2
...
IP Pool
pool1 ......192.168.100.50.......150
pool_eth2 .192.168.101.50......150
ricevo ip in dhcp 192.168.101.149
ma non riesco a fare ping ne al 101.1, ne al 100.1, ne al 8.8.8.
..
- Codice: Seleziona tutto
# model = 951Ui-2HnD
# serial number = 628XXXXX
/interface bridge
add fast-forward=no name=bridge1
add fast-forward=no name=bridge2
/interface wireless
set [ find default-name=wlan1 ] country=italy disabled=no frequency=2442 mode=ap-bridge \
ssid=Hello wireless-protocol=802.11
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk eap-methods="" management-protection=allowed mode=\
dynamic-keys name=123456789 supplicant-identity="" wpa-pre-shared-key=123456789 \
wpa2-pre-shared-key=123456789
/ip hotspot profile
add dns-name=hotspot.my hotspot-address=192.168.100.1 login-by=http-
/ip hotspot user profile
set [ find default=yes ] name=deafault
add name="3 accessi" shared-users=3 transparent-proxy=yes
/ip pool
add name=pool1 ranges=192.168.100.50-192.168.100.150
add name=pool_eth2 ranges=192.168.101.50-192.168.101.150
/ip dhcp-server
add address-pool=pool1 disabled=no interface=bridge1 name=server1
add address-pool=pool_eth2 disabled=no interface=bridge2 name=server
/ip hotspot
add address-pool=pool1 disabled=no interface=bridge1 name=hotspot1 p
/tool user-manager customer
set admin access=own-routers,own-users,own-profiles,own-limits,confi
/interface bridge port
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=wlan1
add bridge=bridge2 interface=ether2
/ip address
add address=192.168.100.1/24 interface=bridge1 network=192.168.100.0
add address=192.168.101.0/24 interface=bridge2 network=192.168.101.0
/ip cloud
set ddns-enabled=yes
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.100.0/24 dns-server=8.8.8.8 gateway=192.168.100.
add address=192.168.101.0/24 dns-server=8.8.8.8 gateway=192.168.101.
/ip dns
set servers=8.8.8.8
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot
add action=masquerade chain=srcnat src-address=192.168.100.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot netwo
192.168.100.0/24
/ip hotspot user
add name=admin password=hello
add name=mauro password=cervere profile="3 accessi"
add name=user1 password=hello profile="3 accessi"
add name=user2 password=hello profile="3 accessi" server=hotspot1
/ip route
add distance=1 gateway=192.168.0.191
/system clock
set time-zone-name=Europe/Rome
/system routerboard settings
set silent-boot=no
/tool graphing interface
add interface=bridge1
/tool user-manager database
set db-path=user-manager
Dove sbaglio ?????
Grazie