0

I've a server with two NIC and they are both on different IP range and subnet, both can access Internet. the first NIC (enps0f0) have a public IP to be accessible to the public, the second NIC (enps0f1) have local ip to be accessible to the Internal users from the network. i have properly set my netplan yml file. When I plugins both Rj-45 works fine. i can access internet from the server and ping. the problem is that i can't access the Second NIC (enps0f1) from the local network while the public Ip(enps0f0) is working from the local and outisde netwroks. if i unpluged the public IP cable(enps0f0) the local netwroks(enps0f1) replay and accessible within the network, while the public IP is not working,

network:
  version: 2
  ethernets:
    enps0f0 :
      addresses: [196.xxx.xx.xx/24]
      gateway4: 196.xx.xx.177
      nameservers:         
        addresses: [213.xx.xx.xxx,8.8.8.8,8.8.4.4]
    enps0f1 :
      addresses: [10.xx.xx.xx/25]
      gateway4: 10.xx.xx.1
      nameservers:         
        addresses: [8.8.8.8,8.8.4.4,10.xx.xx.xx]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.