Community discussions

MikroTik App
 
pietbez
just joined
Topic Author
Posts: 11
Joined: Thu Jun 28, 2012 3:43 pm

self assigned ip problem

Thu May 16, 2013 3:42 pm

hi
i have a little ip problem

i have a RB411 set up as client pseudobridge
i am using this to pick up a signal from a router running DD-wrt (repeater mode)
the RB411 is then connected to my macbook via lan

now i can connect to the dd-wrt repeater via my macbook airport no problem (good internet connection)

but when i connect via the macbook lan -> RB411 -> DD-wrt -> internet

i get a problem, macbook tells me i have a self assigned ip and cant connect???

any help please

Image

Image
 
User avatar
nick3dos
Member Candidate
Member Candidate
Posts: 189
Joined: Fri Apr 29, 2011 11:03 pm
Location: Greece

Re: self assigned ip problem

Thu May 16, 2013 4:06 pm

You can not get an ip from modem's dhcp server.

1. Make sure your bridge interface has both ether1 and wlan1 interface.

2. put an ip (ex. 192.168.1.2/24) to your bridge interface.

3. add a default gateway 192.168.1.1 and dns server 192.168.1.1

4. and don't create any dhcp server.
 
pietbez
just joined
Topic Author
Posts: 11
Joined: Thu Jun 28, 2012 3:43 pm

Re: self assigned ip problem

Fri May 17, 2013 2:19 pm

ok, sorry for being a complete noob here,

but how do i add a defauld gateway and dns server.

i have looked through the entire winbox interface but cant find it??

this is all so new to me
 
User avatar
nick3dos
Member Candidate
Member Candidate
Posts: 189
Joined: Fri Apr 29, 2011 11:03 pm
Location: Greece

Re: self assigned ip problem

Fri May 17, 2013 2:22 pm

ok, sorry for being a complete noob here,

but how do i add a defauld gateway and dns server.

i have looked through the entire winbox interface but cant find it??

this is all so new to me

copy paste this in a new terminal
/ip route
add comment=Default_Gateway disabled=no distance=1 dst-address=0.0.0.0/0 \
    gateway=192.168.1.1 scope=30 target-scope=10
/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=4048KiB \
    max-udp-packet-size=4048 servers=192.168.1.1
 
pietbez
just joined
Topic Author
Posts: 11
Joined: Thu Jun 28, 2012 3:43 pm

Re: self assigned ip problem

Fri May 17, 2013 6:15 pm

thanks nick3dos for all your help up to now

i have been battling with this problem for a very long time now and you have been the only help so far

PLEASE DONT LEAVE ME NOW!!

could you please have a look at my setup and see if you can see a problem.
i dont have the self assigned ip problem anymore, but still cant connect.
my macbook however can connect straight to the dd-wrt repeater and get online?? but signal is weak

maybe i need to change some settings on the dd-wrt repeater?

i managed to setup default gateway with your code, but could not setup dns as it looked like there was a syntex error by SERVER, so i tried to do that manualy

Image

Who is online

Users browsing this forum: nizce and 18 guests