Answer the question
In order to leave comments, you need to log in
Ubuntu server ping and internet only work when specified, a specific network interface, how to fix this?
in our organization there are 2 subnets, one local, the second with Internet access.
configured netplan:
network:
ethernets:
enp8s0:
dhcp4: true
link-local: [ipv6]
dhcp-identifier: mac
gateway4: 192.168.1.1
nameservers:
addresses: [8.8.8.8]
enp4s0:
addresses:
- 192.168.100.4/24
gateway4: 192.168.100.1
dhcp-identifier: mac
link-local: [ipv6]
version: 2
ping -I enp8s0 8.8.8.8
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question