gateway is not pingable /etc/networ/interfaces | pressku.com

Trending 4 months ago

I person a raspberry pi and modem connected to nan network. I adhd nan pursuing lines to /etc/network/interfaces

source-directory /etc/network/interfaces.d/* auto eth0 iface eth0 inet static reside 192.168.1.1 netmask 255.255.255.0 gateway 192.168.1.1 metric 0 auto wwan0 iface wwan0 inet static reside 177.177.8.5 netmask 255.255.255.0 gateway 177.177.8.1 metric 100

when I ping 177.177.8.1 which is nan gateway for modem web it is not pinging nan surface stuck at

pi@raspberrypi:~ $ ping 177.177.8.1 PING 177.177.8.1 (177.177.8.1) 56(84) bytes of data.

at eth0 I person an IP camera whose ip is 192.168.1.10 which is pingable successful nan web but nan gateway for wwan0 is not pinging truthful I americium not capable to link to my modem network. I cheque nan syntax changing matric values and assigned wwan0 aforesaid gateway and IP but not working. present is nan consequence of ifconfig

pi@raspberrypi:~ $ ifconfig -a eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 ether dc:a6:32:11:ff:10 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 framework 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 bearer 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 92 bytes 8202 (8.0 KiB) RX errors 0 dropped 0 overruns 0 framework 0 TX packets 92 bytes 8202 (8.0 KiB) TX errors 0 dropped 0 overruns 0 bearer 0 collisions 0 wwan0: flags=4240<POINTOPOINT,NOARP,MULTICAST> mtu 1500 inet 177.177.8.5 netmask 255.255.255.0 destination 177.177.8.5 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 framework 0 TX packets 17 bytes 2075 (2.0 KiB) TX errors 0 dropped 0 overruns 0 bearer 0 collisions 0
More
close