Server receives IP from DHCP-server however can’t ping gateway

0
2
Server receives IP from DHCP-server however can’t ping gateway


Abstract:
When connecting a HP Proliant Microserver gen8 server operating a recent set up of Linux Mint 22.1, utilizing a ethernet cable beforehand utilized by a HP laptop computer with confirmed web connectivity, it will get a brand new IP utilizing DHCP however is unable to ping gateway or entry the web.

Connection data:

IP Tackle 192.168.150.50
Broadcast Tackle 192.168.150.255
Subnet masks 255.255.255.0
Default Route 192.168.150.1
Main DNS 192.168.150.1

IP tackle is certain in router DHCP server (Mikrotik):
enter image description here

I can ping myself however not gateway:

ping 127.0.0.1 ✅
ping 192.168.150.50 ✅
ping 192.168.150.1 (vacation spot host unreachable)🔴

Command ip -a

eno2:  mtu 1500 qdisc mq state UP group default qlen 1000
hyperlink/ether 94:18:82:38:dc:11 brd ff:ff:ff:ff:ff:ff
altname enp3s0f1
inet 192.168.150.50/24 brd 192.168.150.255 scope international dynamic noprefixroute eno2
valid_lft 169893sec preferred_lft 169893sec
inet6 fe80:8ca6:e580:9fb9:3f36/64 scope hyperlink noprefixroute
valid_lft ceaselessly preferred_lft ceaselessly

Command ip r

default by way of 192.168.150.1 dev eno2 proto dhcp src 192.168.150.50 metric 20100
192.168.150.0/24 dev eno2 proto kernel hyperlink src 192.168.150.50 metric 100

Command route -n

Vacation spot Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.150.1 0.0.0.0 UG 20100 0 0 eno2
192.168.150.0 0.0.0.0 255.255.255.255 U 100 0 0 eno2

Command arp -a

_gateway (192.168.150.1) at <**incomplete**> on eno2 🔴

Command sudo arping 192.168.150.1

ARPING 192.168.150.1
Timeout
Timeout
...

Command sudo tcpdump -i eno2 arp or icmp

Request who-has _gateway inform , size 28
Reply _gateway is-at 74:4d:28:a0:7a:a7 (oui Unknown), size 42

So plainly the server receives data from the DHCP-server, however simply ignores it, since arp a


I’ve no extra concepts to attempt to get my server related.
The server and community is my personal community at house. I attempted to ping the hp-server from the router(gateway) and that failed as properly.
I don’t perceive how DHCP can work however not not ping. I’m a programmer so please excuse me if I missed to incorporate essential data.

LEAVE A REPLY

Please enter your comment!
Please enter your name here