OpenWrt Forum Archive

Topic: Network unreachable on WRT54GL

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I just flashed OpenWRT 7.09 onto my WRT54GL.
I couldn't use ipkg. He said bad host names. So I tried ping www.google.de -> Unknown host.
So I thought dns ain't working, so I used google's raw ip to ping it -> network unreachable

So, the network is unreachable. However, rooting through this router works well, also pinging google through this router, i.e. the network IS reachable. At the moment, I have my internet connection and my pc in the LAN ports (no WAN at the moment, but also tried it with WAN, which didn't work).

config switch eth0
        option vlan0    "0 1 2 3 5*"
        option vlan1    "4 5"


#### Loopback configuration
config interface loopback
        option ifname   "lo"
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0



#### LAN configuration
config interface lan
        option type     bridge
        option ifname   "eth0.0"
        option proto    static
        option ipaddr   10.149.36.57
        option netmask  255.255.255.0
        option gateway  10.149.44.254
        option dns      '10.149.32.2 141.84.225.226'

#### WAN configuration
config interface        wan
        option ifname   "eth0.1"
        option proto    dhcp

The gateway, ip and dns values are correct. I use the same on my PC and it is working well. My router is also able to ping PCs in my local network. But everything outside the network gets me a network unreachable.

Can you help me?
Best regards
miranda

Hi miranda,
            I think it is issue with the firewall. I am not so good at the firewall, but I think you need to check your firewall rules.

Cheers!

which firewall? Has OpenWRT one? There is no other firewall in front of that router, since I am at University LAN.

Yes, check the rules of OpenWrt firewall.

Thanks.

The discussion might have continued from here.