Hello everyone,
I'm encountering an issue with my network setup where I cannot ping the OpenWRT server from a client device despite having configured the network settings correctly. Here are the details:
Issue Summary:
The network client cannot establish communication with the OpenWRT server at 192.168.1.1
despite being on the same subnet and connected via a direct CAT5 cable connection.
Network Configuration:
cat network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option force_link '1'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option igmp_snooping '1'
config interface 'wan'
option proto 'dhcp'
option ifname 'phy0-sta0'
config interface 'wwan'
option proto 'dhcp'
ifconfig output:
ifconfig -a
br-lan Link encap:Ethernet HWaddr DA:A4:03:9D:2A:25
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::d8a4:3ff:fe9d:2a25/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:2386 (2.3 KiB)
eth0 Link encap:Ethernet HWaddr DA:A4:03:9D:2A:25
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:118343 errors:0 dropped:0 overruns:0 frame:0
TX packets:74978 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10500444 (10.0 MiB) TX bytes:24804443 (23.6 MiB)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:14255945 errors:0 dropped:0 overruns:0 frame:0
TX packets:14255945 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:968592362 (923.7 MiB) TX bytes:968592362 (923.7 MiB)
phy0-ap0 Link encap:Ethernet HWaddr 90:91:64:78:45:04
inet6 addr: fe80::9291:64ff:fe78:4504/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:2560 (2.5 KiB)
wlan1 Link encap:Ethernet HWaddr C4:31:6C:C5:42:3F
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
client cannot see the IP address 192.168.1.1:
ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Not sure where I got it wrong. I would appreciate it if you could shed some new light on my issue.
Thanks,
Steven