Community discussions

MikroTik App
 
lexlukkia
just joined
Topic Author
Posts: 23
Joined: Fri Oct 28, 2016 7:02 pm

No internet over LAN but WLAN internet is ok.

Fri Dec 23, 2016 6:59 pm

can someone please enlighten me why i have no internet over LAN.
but connecting to internet via WLAN (wifi), i have no problem at all.

connecting to ether3 or ether4 has no luck connecting to internet
Image
# dec/23/2016 23:37:02 by RouterOS 6.37.3
# software id = 84HT-B23A
#
/interface bridge
add auto-mac=no mtu=1500 name=Local-Bridge
/interface ethernet
set [ find default-name=ether1 ] name=WAN1
set [ find default-name=ether2 ] name=WAN2
/interface wireless security-profiles
add authentication-types=wpa2-psk eap-methods="" group-ciphers=tkip,aes-ccm \
    management-protection=allowed mode=dynamic-keys name=wlan_password \
    supplicant-identity="" unicast-ciphers=tkip,aes-ccm wpa2-pre-shared-key=\
    f1e2d3c4b5a6
add authentication-types=wpa2-psk eap-methods="" management-protection=\
    allowed mode=dynamic-keys name=newpass supplicant-identity="" \
    wpa2-pre-shared-key=f1e2d3c4b5a6
/interface wireless
set [ find default-name=wlan1 ] disabled=no mode=ap-bridge security-profile=\
    newpass ssid=bahay_only wireless-protocol=802.11
/ip pool
add name=Local-Pool ranges=192.168.50.11-192.168.50.199
add name=ether3_Pool ranges=192.168.75.101-192.168.75.150
/ip dhcp-server
add address-pool=Local-Pool disabled=no interface=Local-Bridge lease-time=3d \
    name=LAN-DHCP
add address-pool=ether3_Pool disabled=no interface=ether3 lease-time=3d name=\
    ether3_dhcp
/queue simple
add dst=WAN1 limit-at=1M/10M max-limit=1M/10M name=WLAN_limit target=\
    Local-Bridge
/queue tree
add disabled=yes name=wlan parent=wlan1
/interface bridge port
add bridge=Local-Bridge interface=wlan1
add bridge=Local-Bridge interface=ether4
/ip address
add address=192.168.0.20/24 interface=WAN1 network=192.168.0.0
add address=192.168.1.2/24 disabled=yes interface=WAN2 network=192.168.1.0
add address=192.168.50.100/24 interface=Local-Bridge network=192.168.50.0
add address=192.168.75.100/24 interface=ether3 network=192.168.75.0
/ip dhcp-client
add add-default-route=no dhcp-options=hostname,clientid interface=WAN1 \
    use-peer-dns=no use-peer-ntp=no
/ip dhcp-server network
add address=192.168.50.0/24 gateway=192.168.50.100
add address=192.168.75.0/24 dns-server=8.8.8.8 gateway=192.168.75.100
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip firewall filter
add action=drop chain=forward connection-state=invalid disabled=yes
add action=accept chain=forward connection-state=new in-interface=\
    Local-Bridge
add action=accept chain=forward comment="forward - established" \
    connection-state=established
add action=accept chain=forward comment="forward - related" connection-state=\
    related
add action=accept chain=forward connection-state=new in-interface=ether3
add action=accept chain=forward disabled=yes
/ip firewall mangle
add action=mark-connection chain=input disabled=yes in-interface=WAN1 \
    new-connection-mark=WAN1 passthrough=yes
add action=mark-connection chain=input disabled=yes in-interface=WAN2 \
    new-connection-mark=WAN2 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1 disabled=yes \
    new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2 disabled=yes \
    new-routing-mark=to_WAN2 passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN1
/ip route
add distance=1 gateway=192.168.0.1 routing-mark=to_WAN1
add disabled=yes distance=2 gateway=192.168.1.1 routing-mark=to_WAN2
add check-gateway=ping distance=1 gateway=192.168.0.1
add check-gateway=ping disabled=yes distance=1 gateway=192.168.0.1
/system clock
set time-zone-name=Asia/Manila
/system routerboard settings
set cpu-frequency=650MHz protected-routerboot=disabled
 
dhapollo
just joined
Posts: 4
Joined: Fri Dec 23, 2016 6:36 pm

Re: No internet over LAN but WLAN internet is ok.

Fri Dec 23, 2016 7:39 pm

Are you connected eth4?
Does the computer receives the dhcp ip?
 
Van9018
Long time Member
Long time Member
Posts: 558
Joined: Mon Jun 16, 2014 6:26 pm
Location: Canada - Abbotsford

Re: No internet over LAN but WLAN internet is ok.

Fri Dec 23, 2016 9:33 pm

Check your interfaces. Are some marked as slave to another port?
With out of box config, ether3-etherN is slave to ether2.
You do not have the required permissions to view the files attached to this post.
 
lexlukkia
just joined
Topic Author
Posts: 23
Joined: Fri Oct 28, 2016 7:02 pm

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 4:15 am

Are you connected eth4?
Does the computer receives the dhcp ip?
Bridge > port has two interface.
ether4 and wlan

i am recieving DHCP ip address if connected via ether4 and WLAN.
host connected via WLAN has no problem browsing or playing online games.
host conencted via ether4 has no internet connectivity.
windows PC firewall already turned-off.
 
lexlukkia
just joined
Topic Author
Posts: 23
Joined: Fri Oct 28, 2016 7:02 pm

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 4:19 am

Check your interfaces. Are some marked as slave to another port?
With out of box config, ether3-etherN is slave to ether2.
ether3 is not slave to ether2.
before i add some configuration. i reset the config without default config.

i really dont know what mess up. host connected to ether3 and ether4 was unable to connect to the internet but host connected via Wifi dont have any problem browsing or playing online games.
 
User avatar
zipvault
Member Candidate
Member Candidate
Posts: 140
Joined: Fri Dec 23, 2016 8:15 am

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 4:23 am

In the picture does it look like the local ip pool starts 89 positions prior to the address list starting points
 
User avatar
zipvault
Member Candidate
Member Candidate
Posts: 140
Joined: Fri Dec 23, 2016 8:15 am

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 4:25 am

In the bridge window also ether4 says disabled..
 
lexlukkia
just joined
Topic Author
Posts: 23
Joined: Fri Oct 28, 2016 7:02 pm

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 7:24 am

In the bridge window also ether4 says disabled..
it says disable on mikrotik because i disconnect my ethernet cable from port4/port3.

then enable my wifi, connect to mikrotik wifi to access the internet again.
 
lexlukkia
just joined
Topic Author
Posts: 23
Joined: Fri Oct 28, 2016 7:02 pm

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 7:28 am

In the picture does it look like the local ip pool starts 89 positions prior to the address list starting points
Bridge -> port ( ether4 and WLan )
Local-Bridge: ip pool = 192.168.50.11-192.168.50.199

Ether3: ip pool = 192.168.75.101-192.168.75.150
 
lexlukkia
just joined
Topic Author
Posts: 23
Joined: Fri Oct 28, 2016 7:02 pm

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 7:33 am

what could be the problem why LAN cant connect to the internet. but WLAN has no problem connecting to the internet
 
OrbGod
just joined
Posts: 3
Joined: Tue May 29, 2012 11:33 pm

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 7:52 am

Hello,

Try to add a NAT rule to masquerade traffic comming from LAN to any.

Andrei
 
lexlukkia
just joined
Topic Author
Posts: 23
Joined: Fri Oct 28, 2016 7:02 pm

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 8:02 am

Hello,

Try to add a NAT rule to masquerade traffic comming from LAN to any.

Andrei

any? do you mean not to place anything on out-interface?
 
User avatar
zipvault
Member Candidate
Member Candidate
Posts: 140
Joined: Fri Dec 23, 2016 8:15 am

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 10:35 am

---
Last edited by zipvault on Sun Dec 25, 2016 10:38 am, edited 1 time in total.
 
User avatar
zipvault
Member Candidate
Member Candidate
Posts: 140
Joined: Fri Dec 23, 2016 8:15 am

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 10:37 am

Image

I think this is what he means but i feel its either a dhcp / ip address / or firewall issue.

Do you know how to make an address list, i would put all my local ips in a list and manage all from there,
 
User avatar
zipvault
Member Candidate
Member Candidate
Posts: 140
Joined: Fri Dec 23, 2016 8:15 am

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 10:43 am

Local bridge address list is sitting inside the local pool

But the ether 3 address list is just outside the pool.

Bottom left and right of your screenshot at the top
 
lexlukkia
just joined
Topic Author
Posts: 23
Joined: Fri Oct 28, 2016 7:02 pm

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 12:06 pm

Image

I think this is what he means but i feel its either a dhcp / ip address / or firewall issue.

Do you know how to make an address list, i would put all my local ips in a list and manage all from there,
i have the same setup as the picture show.
my ether1 is my WAN.
 
User avatar
zipvault
Member Candidate
Member Candidate
Posts: 140
Joined: Fri Dec 23, 2016 8:15 am

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 1:27 pm

Try masquerade src net lan also?

I think since ur ether4 is disabled its not receving dhcp to ur lan on ether4 for internet access
 
lexlukkia
just joined
Topic Author
Posts: 23
Joined: Fri Oct 28, 2016 7:02 pm

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 3:16 pm

Try masquerade src net lan also?

I think since ur ether4 is disabled its not receving dhcp to ur lan on ether4 for internet access
i have done that but no luck.
i even try 192.168.50.0/24 as a src-nat for bridge
adn
192.168.75.0/24 as a src-nat for local ether3
 
User avatar
zipvault
Member Candidate
Member Candidate
Posts: 140
Joined: Fri Dec 23, 2016 8:15 am

Re: No internet over LAN but WLAN internet is ok.

Sun Dec 25, 2016 3:28 pm

interface > ethernet tab >

scroll across and check master port and switch columns (15 and 18)

you have also set arp?
 
lexlukkia
just joined
Topic Author
Posts: 23
Joined: Fri Oct 28, 2016 7:02 pm

Re: No internet over LAN but WLAN internet is ok.

Mon Dec 26, 2016 3:19 pm

interface > ethernet tab >

scroll across and check master port and switch columns (15 and 18)

you have also set arp?
i'll check on this
 
Qvaris
just joined
Posts: 6
Joined: Fri Jul 20, 2018 2:22 pm

Re: No internet over LAN but WLAN internet is ok.

Fri Jul 20, 2018 2:36 pm

Sorry for bringing this post back to life but I have a solution to this and stared at this post for hours because i had the same problem.

Symptoms you will get after setting up your bridge will be that you will have Internet access on your WLAN but none on your ether ports and the solution (Even tho it took me 3 days to figure out) is actually very simple. The reason why you are getting this is when you created your initial bridge you switched off the DNS part of you Mikrotik. WLAN will have an IP that is sent from the DNS server but all other ports will not receive an IP address because it is switched off (By default for some reason). T0 resolve this you need to goto IP>>DHCP Relay and point it to your DNS server.

Hope this will help anyone else having this problem in the future.

Who is online

Users browsing this forum: No registered users and 119 guests