Not Taking Multiple Static IP Addresses for multiple Network Interfaces

Asked by Basavaraj Chougala on 2018-11-04

Dear Sir,

Kindly Request to Ubuntu Forum People about Configuration of Multiple Network Cards In Ubuntu 16.4 to make Dedicated Server

In my Ubuntu Machine 3 Networks are there.

added the IP Address to First Network Card (i.e. enp1s0)

                      auto enp1s0
                     iface enp1s0 inet static
                      address 192.168.147.xx
                      netmask 255.255.255.0
                      network 192.168.147.0
                      broadcast 192.168.147.255

Second Network Card configured statically for My Local Network with own IP Address

added the IP Address to Second Network Card (i.e enp3s0) for My local area Network…

                                                auto enp3s0
                                                iface enp3s0 inet static
                                                 address 10.12.2.XX
                                                 netmask 255.255.254.0
                                                 gateway 10.12.2.1
                                                 network 10.12.2.0
                                                 broadcast 10.12.3.255
                                                 dns-nameservers 10.10.1.2 8.8.8.8

It is giving following Error after running the this command

$sudo /etc/init.d/networking restart

OUTPUT :
[…] Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code. See “systemctl status networking.service” and "journalctl -xe for details.
Failed!

Please kindly help me in this regard… It seems to be everything is correct but why this service is not running successfully.

Warm Regards,

Basavaraj From India,

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2018-11-04
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Basavaraj Chougala for more information if necessary.

To post a message you must log in.