Hi
I have two network and a wireless link between them.
In each network I have a ADSL modem that its network use it for connect to internet.
Wireless link between two network was made with two SXT 5HnD .
One SXT wlan mode is in bridge mode and other is station-bridge.
I want run DHCP Server on these networks. But I don’t know how to config SXT
If DHCP server run on this mikrotiks , and bridge for ether1 and wlan1 enable, DHCP Server will be invalid.
Please tell me how config SXT’s that:
DHCP Server Enable.
Each network use its ADSL modem.
U have 2 ADSL modems + 2 small networks bridged with 2 SXT , I guess u have also 2 switches
are this 2 modems connected to router or switch, dont they have their own DHCP or u are using PPoE
yes
i have two switch
now these neworks use statics ip
modem connected to switch.
Network config shouldn’t be like that but
Give it a try
lets say ur ADSL modem have IP 192.168.1.1/24
on ur SXT wlan and ether1 are in bridge=bridge1, so just add IP on ur SXT 192.168.1.254/24 lets say interface=bridge1 - this is going to be DHCP server IP
on same SXT in winbox go to IP->DHCP Server and simple click on DHCP Setup follow this
DHCP Server Interface=bridge1
DHCP Address space=192.168.1.0/24
Gateway for DHCP=192.168.1.1
Address to Give Out =192.168.1.2-192.168.1.253
Dns Severs=put ur DNS
Remember u have two ADSL logically and 2 gataways this two networks are in bridge so this DHCP Server will give out IPs to bout networks with getaway 192.168.1.1 (only for 1 ADSL modem)
maybe u should add some filter on one SXT just on wlan interface so u can block DHCP between TWO SXT/between ur two networks
but all depend what u want to do.
thank you
i want each network, use its modem. so in this network there are two Getway.
so each sxt must give ip tow its ether1 network.
but, there are one bridge as bridge1 for two port: ehter1&wlan1. so DHCP-Server will be invalid for ether1.
shahin97 first of all dont create same topic on different place
http://forum.mikrotik.com/t/dhcp-server-and-bridge-problem/62577/1
second I dont know any of ur ip in ur network or ip of ur modems or how many subnets u have or getaways I cant read ur mind
ur are going to explain like that “this two networks are using different subnets or same subnets, pc’s have different getaway with different subnet 192.168.1.1 and 192.168.2.1 or same subnet 192.168.1.1 and 192.168.1.2”
and about that “DHCP will be invalid” - this expression(or error what u get I dont know where u get) I cant understand what u mean
Look just logically follow the setup for both networks/in both SXT it should work give it a try
and at the end put firewall for DHCP between two SXT