Hello
i hope you can help me
i have a MikroTik RB2011UiAS-2HnD-IN and are using DHCP in my home network.
I have connect my cable modem (cisco 3212 eMTA) with the RB2011 and into the RB2011 i have wired my Laptop. I also have an ipad,internteradio,and a smart phone which where connected per WLAN.
So what i want to know is is it ok to switch to static IP, i will get 5 static IP’s from my ISP.
The static IP is to type into the Router?
and the last question is where do i have to make the changes? can you show a picture?
thanks in advance
jarda
November 4, 2014, 9:09am
2
Address is set in ip-address. You also would need to set routes. Please, refer to manual.
Rudios
November 4, 2014, 1:15pm
3
miramanee:
Hello
i hope you can help me
i have a MikroTik RB2011UiAS-2HnD-IN and are using DHCP in my home network.
I have connect my cable modem (cisco 3212 eMTA) with the RB2011 and into the RB2011 i have wired my Laptop. I also have an ipad,internteradio,and a smart phone which where connected per WLAN.
So what i want to know is is it ok to switch to static IP, i will get 5 static IP’s from my ISP.
The static IP is to type into the Router?
and the last question is where do i have to make the changes? can you show a picture?
thanks in advance
Why do you think you need a static public IP, and why need 5?
create a switched/bridged interface and add 1 IP to your routerboard. You can add the same IP to multiple places in it. Than add the rest of the ip address to your DHCP server and make sure they only give out those ip addresses. No more NAT, just bridge/switch.
Hi so here are my settings
[admin@RB2011] > /ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; default configuration
192.168.88.1/24 192.168.88.0 bridge-local
1 D 37.49.57.220/22 37.49.56.0 ether1-gateway
[admin@RB2011] > /ip route print
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 37.49.56.1 1
1 ADC 37.49.56.0/22 37.49.57.220 ether1-gateway 0
2 ADC 192.168.88.0/24 192.168.88.1 bridge-local 0
[admin@RB2011] > /ip dhcp-client export
# nov/04/2014 16:52:41 by RouterOS 6.20
# software id = QUBV-PGBY
#
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=no interface=sfp1-gateway
add comment="default configuration" dhcp-options=hostname,clientid disabled=no interface=ether1-gateway
[admin@RB2011] > /ip dhcp-server export
# nov/04/2014 16:52:59 by RouterOS 6.20
# software id = QUBV-PGBY
#
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge-local name=default
/ip dhcp-server network
add address=192.168.88.0/24 comment="default configuration" dns-server=192.168.88.1 gateway=192.168.88.1
[admin@RB2011] > /ip pool export
# nov/04/2014 16:53:10 by RouterOS 6.20
# software id = QUBV-PGBY
#
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
[admin@RB2011] > /ip firewall export
# nov/04/2014 16:53:26 by RouterOS 6.20
# software id = QUBV-PGBY
#
/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=established
add chain=input comment="default configuration" connection-state=related
add action=drop chain=input comment="default configuration" in-interface=sfp1-gateway
add action=drop chain=input comment="default configuration" in-interface=ether1-gateway
add chain=forward comment="default configuration" connection-state=established
add chain=forward comment="default configuration" connection-state=related
add action=drop chain=forward comment="default configuration" connection-state=invalid
/ip fi
[admin
@RB201
[admin@RB2011] >
I will order 1 static IP from my ISP so where do i have to fill the Information into?
ps: i have only setup a password for the WLAN,change the clock, and ntpd adress all the other settings were on default.
Ip - addresses, add address, put your public IP in and add to the interface.
If its for a device, bridge the device input interface to your WAN port and run a dhcp server on the device port to give only 1 ip address to it.