I use freeradius as my radius server.
I have a routerboard 450G that i use it as NAS.
I setup pppoe server on rb.
I did all above jobs fine and a pppoe client can connect to pppoe server and get authenticated by freeradius and get ip address but user cannot ping any internet ip.
pppoe ip pool :192.168.x.x
network ip range:10.1.1.x
radius:10.1.1.1
Internet box : 10.11.12.1
Here is what i want to do.
I want to connect Internet box directly to ethernet 1 port(WAN port) so just routeros can access Internet . Is it possible?
How can i tell routeros to get internet from WAN port.
Do I have to connect 192.168.x.x to 10.1.1.x. If yes how.
Connect the “Internet box” (whatever that means) and the 450G on a shared network. They have to have IPs on a network they both share, in other words. Then add a static default route by adding a route to a destination of 0.0.0.0/0 with a gateway equal to the IP of the “Internet box” on the network it shares with the 450G.
I did that before but I didn’t success.When I connect “Internet box” and mikrotik on a switch i can ping internet ip from inside of mikrotik. But when i connect “Internet box” directly to one ethernet ports i cannot ping. By the way pppoe clients in both case cann’t ping internet ip.
So troubleshoot the link. I have no idea what this “Internet box” is, and you’re not being very forthcoming with details. Maybe you need a crossover cable for a direct connection? Once your 450G uses whatever Internet router you have as a default route, and PPPoE clients use the 450G as a default route, things should work.
What is this “Internet IP” that you’re pinging? If you want help, post details. The more details you post the more specific the help you get is. People aren’t clairvoyant, we don’t know what your network looks like unless you tell us.
10.11.12.1 with hw-addr 00:1C:F0:96:CA:04 ping time<1 ms
10.11.12.1 with hw-addr 00:1C:F0:96:CA:04 ping time<1 ms
10.11.12.1 with hw-addr 00:1C:F0:96:CA:04 ping time<1 ms
10.11.12.1 with hw-addr 00:1C:F0:96:CA:04 ping time<1 ms
.
.
.
/ping 8.8.8.8"
8.8.8.8 64 byte ping: ttl=52 time=252 ms
8.8.8.8 64 byte ping: ttl=52 time=267 ms
8.8.8.8 64 byte ping: ttl=52 time=321 ms
8.8.8.8 64 byte ping: ttl=52 time=242 ms
8.8.8.8 64 byte ping: ttl=52 time=249 ms
.
.
.
I connect internet gateway(10.11.12.1) directly to “1 - WAN” port
I connect “2 - LAN” to a switch and that switch is connected to the network
If I forget something please tell me to mention it.
When a pppoe client is authenticated and connected, can ping 10.11.12.2 ip and 10.1.1.x ip range but it can not ping any internet ip . I can ping internet ip from inside of routeros.