Why adding default gateway for raspberry pi failed?
This is using a raspberry-pi. My co-worker has defined a bridge called br-lan on top of the physical eth0. Please see attached docx for ifconfig command. Please also see the networking settings on /etc/network/interfaces, /etc/network/interfaces.d/br-lan, and /etc/dhcpcd.conf files. See the ip addressing settings of br-lan as follows:
ip - 192.168.100.199
mask - 255.255.255.0
default gateway - 192.168.100.2
dns - 203.211.152.66
However, the default gateway setting doesn't seem to work. Please see the results of route -n. I also try to set br-lan to dhcp, and the result is, eth0 grabs the ip - 192.168.100.199.
Appreciate for any help. Thanks in advance.
NetworkingUbuntuRaspberry PiHardwareOperating Systems
problem sorted out. The root cause is not on this raspberry pi, rather it is on the firewall. Default gateway is defined correctly, with routes work perfectly. This is what we sorted out.
MichaelBalack
ASKER
Thanks for expert - Dr Klahn in pointing out that the default gateway is working. Yes, nothing wrong with the raspberry pi, instead, the firewall is the culprit.
Please see the attachment.