Community discussions

MikroTik App
 
garyscholten
just joined
Topic Author
Posts: 11
Joined: Thu Jul 26, 2012 8:14 pm

RB750 not able to use static IP

Thu Jul 26, 2012 9:43 pm

Hi,

I purchased a new RB750 router and tried to configure a dual WAN configuration without success.
Now I discovered I cannot even connect a single WAN whenever I use a static IP.

I think my RB750 has a defect and needs to be returned, unless I am overseeing something obvious.
Please help me figure this out as I am already spending way too many hours on this.

First of all, I reset the RB750 to factory settings with /system reset-configuration (type Y)

If I connect ISP1 on port1 (this ISP allows for DHCP), the RB750 receives a correct IP address and everything works as it should, my client PC's have internet access and receive a correct IP from the router.

However I need to connect ISP2, so I disconnect ISP1 and connect ISP2 on the same port1.

This ISP2 supplied a static IP address and gateway address and I cannot get it to work. However if I connect this ISP2 directly to a laptop and I put in this IP address and gateway and DNS=8.8.8.8, the laptop has Internet and everything is normal.

So I resetted the RB750 again to factory settings which ether1 as a WAN port with DHCP (ether1-gateway) and ether 3-5 with a switch to ether2-master-local) LAN.

I removed the DHCP-client rule for port1 (ether1-gateway) and
I added the next 3 lines (ISP2-staticIP=184.71.227.62 & ISP2-gateway=184.71.227.61):
/ip address add address=184.71.227.62/30 network=184.71.227.60 interface=ether1-gateway
/ip route add dst-address=0.0.0.0/0 gateway=184.71.227.61 disabled=no
/ip dns set servers=8.8.8.8,8.8.4.4 allow-remote-requests=yes

I disconnected from ISP and PC and rebooted several times and rebooted the ISP2 modem, all without success.

ISP1 also has a static IP address, which is automatically assigned with DHCP. I tried removing DHCP-client rule with ISP1 and adding the 3 lines, but then with the gateway=206.75.200.0 and IP=206.75.200.154 and I got the same results. I doesn't work.

With both (not working) connections I tried starting "New Terminal" and pinging a WAN ip-address that can be pinged and this results in getting timeouts only.

Did I forget something?

Kind regards,
Gary
 
jadu
Frequent Visitor
Frequent Visitor
Posts: 86
Joined: Sat Feb 05, 2011 9:22 am
Location: Bucharest - Constanta

Re: RB750 not able to use static IP

Fri Jul 27, 2012 11:20 am

Try to repeat the first step in that you manage to set up ISP1 working configured on port1 and after this try to set up ISP2 on port5 by first select Master port to "none" on port5.
Try this and post results.
You may pm for more help.
 
garyscholten
just joined
Topic Author
Posts: 11
Joined: Thu Jul 26, 2012 8:14 pm

Re: RB750 not able to use static IP

Fri Jul 27, 2012 11:00 pm

I will try using port5 on Monday. However, I already tried so many settings.

I reset to factory settings and then removed the default script, so all ports are renamed to ether1,ether2,ether3,ether4 adn ether5.
Then I followed the guidelines on Mikrotik.com to set up your router: connected to winbox and setup address, route and DNS and tried to ping an existing IP address (206.75.201.183 that allows pinging) with "New Terminal" and I only get timeouts.

I must be missing something very basic. Can someone please specify how to connect with a static IP address, starting from scratch.
After factory reset and removing default script. I assume inputting:

/ip address add address=184.71.227.62/30 network=184.71.227.60 interface=ether1
/ip route add dst-address=0.0.0.0/0 gateway=184.71.227.61 disabled=no
/ip dns set servers=8.8.8.8,8.8.4.4 allow-remote-requests=yes

I should be able to start in winbox: "New Terminal" and being able to ping 206.75.201.183 without timeouts or am I wrong?

Regards, Gary
 
jadu
Frequent Visitor
Frequent Visitor
Posts: 86
Joined: Sat Feb 05, 2011 9:22 am
Location: Bucharest - Constanta

Re: RB750 not able to use static IP

Thu Aug 30, 2012 11:45 am

Obviously you don't set something right. Did you set up masquerade?
Try to set the second DNS your first provider DNS so to have 1DNS from google and 2nd DNS from ISP.
Try to put and set 1 connection to your router and if you wand i can help you more (PM me to try to connect to your router and figure it out what is your problem).
Did you manage to work till now?
 
User avatar
nickshore
Long time Member
Long time Member
Posts: 524
Joined: Thu Mar 03, 2005 4:14 pm
Location: Suffolk, UK.
Contact:

Re: RB750 not able to use static IP

Thu Aug 30, 2012 6:03 pm

when you set the ip address don't specify network=....

the IP/30 sets that up for you.
 
garyscholten
just joined
Topic Author
Posts: 11
Joined: Thu Jul 26, 2012 8:14 pm

Re: RB750 not able to use static IP

Wed Apr 10, 2013 8:39 pm

When I added the DNS like:
/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB \
max-udp-packet-size=512 servers=8.8.8.8,8.8.4.4

It all worked fine.

I guess when adding static IP's, you'll need to define the DNS server.
Thx for all your help.