Community discussions

MikroTik App
 
Noman
just joined
Topic Author
Posts: 20
Joined: Fri Feb 18, 2011 8:23 pm

GIVE 2 NETWORK ADDRESS to 1 LAN INTERFACE

Fri Feb 25, 2011 4:03 pm

its possible to give 2 network to 1 interface example (Lan)

here is my dhcp-server Network Config...

/ ip dhcp-server network
add address=192.168.100.0/20 gateway=192.168.100.1 netmask=20 comment=""
add address=192.168.80.0/20 gateway=192.168.80.1 netmask=20 commect=""
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: GIVE 2 NETWORK ADDRESS to 1 LAN INTERFACE

Fri Feb 25, 2011 5:15 pm

You can assign as many subnets/IP addresses to any interface that you want, and the RouterBoard will handle routing between them fine. However you do not ever want to run two different DHCP servers on the same interface. You need some form of separation, weather it be by physical interface or VLANs. By having two different DHCP servers on the same layer2 network you are asking for tons of problems, and it will be a complete crap shoot as to which one will the client will listen to.
 
Noman
just joined
Topic Author
Posts: 20
Joined: Fri Feb 18, 2011 8:23 pm

Re: GIVE 2 NETWORK ADDRESS to 1 LAN INTERFACE

Fri Feb 25, 2011 9:20 pm

You can assign as many subnets/IP addresses to any interface that you want, and the RouterBoard will handle routing between them fine. However you do not ever want to run two different DHCP servers on the same interface. You need some form of separation, weather it be by physical interface or VLANs. By having two different DHCP servers on the same layer2 network you are asking for tons of problems, and it will be a complete crap shoot as to which one will the client will listen to.
Thanks bro.... thk's alot...

so now wht can i do i have to i386 1 is running Mikrotik 4.2 & other one is Mikrotik 3.22

so now on Mikrotik 3.22 have a dhcp-server having subnet 192.168.80.0/20
& mikrotik 4.2 have also dhcp-server having subnet 192.168.100.0/24

now i have a 2 media server which is get ip from mikrotik 3.22 my problem is that the users of mikrotik 4.2 which is getting ip from 192.168.100.0/24 subnet they can't access 192.168.80.0/20 subnet media server....

pls help meee..
thks in advance...
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: GIVE 2 NETWORK ADDRESS to 1 LAN INTERFACE

Mon Feb 28, 2011 6:17 pm

I would need a network diagram to be more helpful in this case, but I'm guessing you'll need to put in a route on the 192.168.100.0/24 router so it knows how to get to 192.168.80.0/20