Community discussions

MikroTik App
 
49er
Member
Member
Topic Author
Posts: 409
Joined: Tue Sep 27, 2011 7:55 am

RB951G-2HnD as Client and use all the ether ports

Tue Sep 23, 2014 10:46 am

Hi,

I want to use my RB951G-2HnD as wireless client and use all the ether ports to connect hosts so they can also internet via the wireless client.

I follow this manual but think it is not complete.
http://wiki.mikrotik.com/wiki/Connect_t ... ss_Network

I reset the RB951G-2HnD with no default configuration. so it is totally empty.
Can someone help me?
 
noib
Member Candidate
Member Candidate
Posts: 291
Joined: Fri Jan 25, 2013 6:04 pm
Location: France
Contact:

Re: RB951G-2HnD as Client and use all the ether ports

Tue Sep 23, 2014 11:01 am

1) Wireless client part:
-put the security profile (if any), station mode, right SSID, band, country, and apply. Your wlan interface should be in "R"(unning) state.
-add a DHCP client on the wlan interface. You should get an IP address (if wireless provides DHCP) and be able to ping some hosts on the internet.

2) Ethernet part
- Create a bridge. Assign all ethernet interfaces as bridge ports (eth1 to eth5). You can also use the switch chip but let's make it simple.
- Assign a private IP/network like 192.168.0.254/24 on the bridge interface
- Create a DHCP server on the bridge interface, using the "DHCP setup" button.
- Add a masquerade rule like "/ip firewall nat add action=masquerade chain=srcnat src-address=192.168.0.0/24
Plug something with a DHCP client on the ethernet, it should get a 192.168.0.0/24 address and able to get to the internet.
 
49er
Member
Member
Topic Author
Posts: 409
Joined: Tue Sep 27, 2011 7:55 am

Re: RB951G-2HnD as Client and use all the ether ports

Tue Sep 23, 2014 11:06 am

Thanks,
I have done this but was not able to internet.
But only thing I have done different was not using bridge but use swicht.
I add ether2 - ether5 to masterport ether1.
Is that not enough?
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: RB951G-2HnD as Client and use all the ether ports

Tue Sep 23, 2014 12:21 pm

You have to enable dns service and set the dns server networks parameters in order to propagate from router to clients that they should use it as dns server. Or set reachable dns server ip address in the client's settings manually. Anyway check public ip address by ping if it is reachable. If not make traceroute and watch where it stops.
 
noib
Member Candidate
Member Candidate
Posts: 291
Joined: Fri Jan 25, 2013 6:04 pm
Location: France
Contact:

Re: RB951G-2HnD as Client and use all the ether ports

Tue Sep 23, 2014 12:27 pm

Have you checked that the mikrotik has working internet access via wlan1?
Have you checked if your ethernet-connected devices get IP adresses from the mikrotik?
Can your ethernet clients ping 159.148.147.196 (http://www.mikrotik.com) ?
 
49er
Member
Member
Topic Author
Posts: 409
Joined: Tue Sep 27, 2011 7:55 am

Re: RB951G-2HnD as Client and use all the ether ports

Tue Sep 23, 2014 4:23 pm

Great, it is working
I made a mistake.
I add a addres without the /24
I still think it is strange you have to add an address with an /x option and below also add the network mask.
But ok it is working

Who is online

Users browsing this forum: No registered users and 89 guests