/etc/network/interfaces - multiple gateways 3 NICsUsing ip addr instead of ifconfig reports “RTNETLINK...

How to say "quirky" in German without sounding derogatory?

How to stabilise the bicycle seatpost and saddle when it is all the way up?

Why is the Digital 0 not 0V in computer systems?

Can I toggle Do Not Disturb on/off on my Mac as easily as I can on my iPhone?

Has SHA256 been broken by Treadwell Stanton DuPont?

Is it appropriate for a professor to require students to sign a non-disclosure agreement before being taught?

My research paper filed as a patent in China by my Chinese supervisor without me as inventor

Relocation error, error code (127) after last updates

How can I locate a missing person abroad?

A medieval fantasy adventurer lights a torch in a 100% pure oxygen room. What happens?

Is there an inconsistency about Natasha Romanoff's middle name in the MCU?

Writing a love interest for my hero

Make 1998 using the least possible digits 8

The Planck constant for mathematicians

Modify width of first column in file with a variable number of fields, using awk

What exactly is a marshrutka (маршрутка)?

Is a suit against a Univeristy Dorm for changing policies on a whim likely to succeed (USA)?

Do ibuprofen or paracetamol cause hearing loss?

Can a corpse possessed by a Dybbuk be turned via Turn Undead?

Have there been any countries that voted themselves out of existence?

Gravity on an Orbital Ring

Were Roman public roads build by private companies?

Napkin Folding Problem / Rumpled Ruble Problem

Can the UK veto its own extension request?



/etc/network/interfaces - multiple gateways 3 NICs


Using ip addr instead of ifconfig reports “RTNETLINK answers: File exists” on Debianhow to configure multiple interfaces with systemd-networkdCan't enable net.ipv6.conf.eth0.autoconfUbuntu 15.10 Network Interfaces NameChange Mac Address permanently inside /etc/network/interfacesHow can I forward traffic across two Ethernet cards?How do I set additional IP addresses on an existing interface in Debian 9?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















Good Evening,



Is this a correct network configuration? All of the routing takes place on my switches and firewall. Each server is able to ping the other on each subnet. Is there an issue with using multiple gateways on the same NIC? New to networking. Thank you!



What's the best way to handle multiple gateways?



Here is my etc/network/interfaces



auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.48.10
netmask 255.255.255.0
gateway 192.168.48.1
bridge_ports eno1
bridge_stp off
bridge_fd 0

iface enp8s0f0 inet manual

iface enp8s0f1 inet manual

auto eno2
iface eno2 inet static
address 192.168.49.10
netmask 255.255.255.0
gateway 192.168.49.1

auto enp10s0f0
iface enp10s0f0 inet static
address 192.168.50.10
netmask 255.255.255.0
gateway 192.168.50.1

auto enp10s0f1
iface enp10s0f1 inet static
address 192.168.51.10
netmask 255.255.255.0
gateway 192.168.51.1


updated 09/11



That configuration above is giving me an error message on boot. The servers are able to ping each other and connect through each separate IP. There are 3 NICs on the servers.



root@vmhost02:~# systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-09-10 19:47:21 EDT; 24h ago
Docs: man:interfaces(5)
Process: 933 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Main PID: 933 (code=exited, status=1/FAILURE)

Sep 10 19:47:18 vmhost02 ifup[933]: Waiting for vmbr0 to get ready (MAXWAIT is 2 seconds).
Sep 10 19:47:18 vmhost02 ifup[933]: RTNETLINK answers: File exists
Sep 10 19:47:18 vmhost02 ifup[933]: ifup: failed to bring up eno2
Sep 10 19:47:20 vmhost02 ifup[933]: RTNETLINK answers: File exists
Sep 10 19:47:20 vmhost02 ifup[933]: ifup: failed to bring up enp10s0f0
Sep 10 19:47:21 vmhost02 ifup[933]: RTNETLINK answers: File exists
Sep 10 19:47:21 vmhost02 ifup[933]: ifup: failed to bring up enp10s0f1
Sep 10 19:47:21 vmhost02 systemd[1]: networking.service: Main process exited, code=exited, status=
Sep 10 19:47:21 vmhost02 systemd[1]: networking.service: Failed with result 'exit-code'.
Sep 10 19:47:21 vmhost02 systemd[1]: Failed to start Raise network interfaces.


I have hardware switches and a firewall taking care of the VLAN between the 3 servers.



Would configuring linux VLAN within my network configuration file solve the failed start?



I added the tags to my configuration file, but I'm unfamiliar with how to do it or if it will solve my problem. I'm also unfamiliar with post-up and policy routing.










share|improve this question









New contributor



JedTango is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

















  • 2





    Please don't post images of text. Copy and paste the text itself into your question and format it as code by selecting it and pressing Ctrl-K or by using the editor's {} icon.

    – cas
    20 hours ago


















0















Good Evening,



Is this a correct network configuration? All of the routing takes place on my switches and firewall. Each server is able to ping the other on each subnet. Is there an issue with using multiple gateways on the same NIC? New to networking. Thank you!



What's the best way to handle multiple gateways?



Here is my etc/network/interfaces



auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.48.10
netmask 255.255.255.0
gateway 192.168.48.1
bridge_ports eno1
bridge_stp off
bridge_fd 0

iface enp8s0f0 inet manual

iface enp8s0f1 inet manual

auto eno2
iface eno2 inet static
address 192.168.49.10
netmask 255.255.255.0
gateway 192.168.49.1

auto enp10s0f0
iface enp10s0f0 inet static
address 192.168.50.10
netmask 255.255.255.0
gateway 192.168.50.1

auto enp10s0f1
iface enp10s0f1 inet static
address 192.168.51.10
netmask 255.255.255.0
gateway 192.168.51.1


updated 09/11



That configuration above is giving me an error message on boot. The servers are able to ping each other and connect through each separate IP. There are 3 NICs on the servers.



root@vmhost02:~# systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-09-10 19:47:21 EDT; 24h ago
Docs: man:interfaces(5)
Process: 933 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Main PID: 933 (code=exited, status=1/FAILURE)

Sep 10 19:47:18 vmhost02 ifup[933]: Waiting for vmbr0 to get ready (MAXWAIT is 2 seconds).
Sep 10 19:47:18 vmhost02 ifup[933]: RTNETLINK answers: File exists
Sep 10 19:47:18 vmhost02 ifup[933]: ifup: failed to bring up eno2
Sep 10 19:47:20 vmhost02 ifup[933]: RTNETLINK answers: File exists
Sep 10 19:47:20 vmhost02 ifup[933]: ifup: failed to bring up enp10s0f0
Sep 10 19:47:21 vmhost02 ifup[933]: RTNETLINK answers: File exists
Sep 10 19:47:21 vmhost02 ifup[933]: ifup: failed to bring up enp10s0f1
Sep 10 19:47:21 vmhost02 systemd[1]: networking.service: Main process exited, code=exited, status=
Sep 10 19:47:21 vmhost02 systemd[1]: networking.service: Failed with result 'exit-code'.
Sep 10 19:47:21 vmhost02 systemd[1]: Failed to start Raise network interfaces.


I have hardware switches and a firewall taking care of the VLAN between the 3 servers.



Would configuring linux VLAN within my network configuration file solve the failed start?



I added the tags to my configuration file, but I'm unfamiliar with how to do it or if it will solve my problem. I'm also unfamiliar with post-up and policy routing.










share|improve this question









New contributor



JedTango is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

















  • 2





    Please don't post images of text. Copy and paste the text itself into your question and format it as code by selecting it and pressing Ctrl-K or by using the editor's {} icon.

    – cas
    20 hours ago














0












0








0


1






Good Evening,



Is this a correct network configuration? All of the routing takes place on my switches and firewall. Each server is able to ping the other on each subnet. Is there an issue with using multiple gateways on the same NIC? New to networking. Thank you!



What's the best way to handle multiple gateways?



Here is my etc/network/interfaces



auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.48.10
netmask 255.255.255.0
gateway 192.168.48.1
bridge_ports eno1
bridge_stp off
bridge_fd 0

iface enp8s0f0 inet manual

iface enp8s0f1 inet manual

auto eno2
iface eno2 inet static
address 192.168.49.10
netmask 255.255.255.0
gateway 192.168.49.1

auto enp10s0f0
iface enp10s0f0 inet static
address 192.168.50.10
netmask 255.255.255.0
gateway 192.168.50.1

auto enp10s0f1
iface enp10s0f1 inet static
address 192.168.51.10
netmask 255.255.255.0
gateway 192.168.51.1


updated 09/11



That configuration above is giving me an error message on boot. The servers are able to ping each other and connect through each separate IP. There are 3 NICs on the servers.



root@vmhost02:~# systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-09-10 19:47:21 EDT; 24h ago
Docs: man:interfaces(5)
Process: 933 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Main PID: 933 (code=exited, status=1/FAILURE)

Sep 10 19:47:18 vmhost02 ifup[933]: Waiting for vmbr0 to get ready (MAXWAIT is 2 seconds).
Sep 10 19:47:18 vmhost02 ifup[933]: RTNETLINK answers: File exists
Sep 10 19:47:18 vmhost02 ifup[933]: ifup: failed to bring up eno2
Sep 10 19:47:20 vmhost02 ifup[933]: RTNETLINK answers: File exists
Sep 10 19:47:20 vmhost02 ifup[933]: ifup: failed to bring up enp10s0f0
Sep 10 19:47:21 vmhost02 ifup[933]: RTNETLINK answers: File exists
Sep 10 19:47:21 vmhost02 ifup[933]: ifup: failed to bring up enp10s0f1
Sep 10 19:47:21 vmhost02 systemd[1]: networking.service: Main process exited, code=exited, status=
Sep 10 19:47:21 vmhost02 systemd[1]: networking.service: Failed with result 'exit-code'.
Sep 10 19:47:21 vmhost02 systemd[1]: Failed to start Raise network interfaces.


I have hardware switches and a firewall taking care of the VLAN between the 3 servers.



Would configuring linux VLAN within my network configuration file solve the failed start?



I added the tags to my configuration file, but I'm unfamiliar with how to do it or if it will solve my problem. I'm also unfamiliar with post-up and policy routing.










share|improve this question









New contributor



JedTango is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Good Evening,



Is this a correct network configuration? All of the routing takes place on my switches and firewall. Each server is able to ping the other on each subnet. Is there an issue with using multiple gateways on the same NIC? New to networking. Thank you!



What's the best way to handle multiple gateways?



Here is my etc/network/interfaces



auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.48.10
netmask 255.255.255.0
gateway 192.168.48.1
bridge_ports eno1
bridge_stp off
bridge_fd 0

iface enp8s0f0 inet manual

iface enp8s0f1 inet manual

auto eno2
iface eno2 inet static
address 192.168.49.10
netmask 255.255.255.0
gateway 192.168.49.1

auto enp10s0f0
iface enp10s0f0 inet static
address 192.168.50.10
netmask 255.255.255.0
gateway 192.168.50.1

auto enp10s0f1
iface enp10s0f1 inet static
address 192.168.51.10
netmask 255.255.255.0
gateway 192.168.51.1


updated 09/11



That configuration above is giving me an error message on boot. The servers are able to ping each other and connect through each separate IP. There are 3 NICs on the servers.



root@vmhost02:~# systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2019-09-10 19:47:21 EDT; 24h ago
Docs: man:interfaces(5)
Process: 933 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Main PID: 933 (code=exited, status=1/FAILURE)

Sep 10 19:47:18 vmhost02 ifup[933]: Waiting for vmbr0 to get ready (MAXWAIT is 2 seconds).
Sep 10 19:47:18 vmhost02 ifup[933]: RTNETLINK answers: File exists
Sep 10 19:47:18 vmhost02 ifup[933]: ifup: failed to bring up eno2
Sep 10 19:47:20 vmhost02 ifup[933]: RTNETLINK answers: File exists
Sep 10 19:47:20 vmhost02 ifup[933]: ifup: failed to bring up enp10s0f0
Sep 10 19:47:21 vmhost02 ifup[933]: RTNETLINK answers: File exists
Sep 10 19:47:21 vmhost02 ifup[933]: ifup: failed to bring up enp10s0f1
Sep 10 19:47:21 vmhost02 systemd[1]: networking.service: Main process exited, code=exited, status=
Sep 10 19:47:21 vmhost02 systemd[1]: networking.service: Failed with result 'exit-code'.
Sep 10 19:47:21 vmhost02 systemd[1]: Failed to start Raise network interfaces.


I have hardware switches and a firewall taking care of the VLAN between the 3 servers.



Would configuring linux VLAN within my network configuration file solve the failed start?



I added the tags to my configuration file, but I'm unfamiliar with how to do it or if it will solve my problem. I'm also unfamiliar with post-up and policy routing.







networking network-interface ip gateway






share|improve this question









New contributor



JedTango is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



JedTango is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited 1 hour ago







JedTango













New contributor



JedTango is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked yesterday









JedTangoJedTango

11 bronze badge




11 bronze badge




New contributor



JedTango is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




JedTango is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • 2





    Please don't post images of text. Copy and paste the text itself into your question and format it as code by selecting it and pressing Ctrl-K or by using the editor's {} icon.

    – cas
    20 hours ago














  • 2





    Please don't post images of text. Copy and paste the text itself into your question and format it as code by selecting it and pressing Ctrl-K or by using the editor's {} icon.

    – cas
    20 hours ago








2




2





Please don't post images of text. Copy and paste the text itself into your question and format it as code by selecting it and pressing Ctrl-K or by using the editor's {} icon.

– cas
20 hours ago





Please don't post images of text. Copy and paste the text itself into your question and format it as code by selecting it and pressing Ctrl-K or by using the editor's {} icon.

– cas
20 hours ago










1 Answer
1






active

oldest

votes


















1
















This link will describe how to do "load balancing" beetween this two gateways...



http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multiple-links.html



It is important for you to read it carefully specially on the start, as the author explain what will gonna be each variable in the configuration.






share|improve this answer


























  • I have 3 nodes that all need 3 separate private networks. corosync, and ceph on proxmox (ceph requires 2). Would each one of my interfaces for each node be Provider, 1, 2, 3. I would just need to configure them in each direction?

    – JedTango
    57 mins ago
















Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});







JedTango is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded
















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f540093%2fetc-network-interfaces-multiple-gateways-3-nics%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1
















This link will describe how to do "load balancing" beetween this two gateways...



http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multiple-links.html



It is important for you to read it carefully specially on the start, as the author explain what will gonna be each variable in the configuration.






share|improve this answer


























  • I have 3 nodes that all need 3 separate private networks. corosync, and ceph on proxmox (ceph requires 2). Would each one of my interfaces for each node be Provider, 1, 2, 3. I would just need to configure them in each direction?

    – JedTango
    57 mins ago


















1
















This link will describe how to do "load balancing" beetween this two gateways...



http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multiple-links.html



It is important for you to read it carefully specially on the start, as the author explain what will gonna be each variable in the configuration.






share|improve this answer


























  • I have 3 nodes that all need 3 separate private networks. corosync, and ceph on proxmox (ceph requires 2). Would each one of my interfaces for each node be Provider, 1, 2, 3. I would just need to configure them in each direction?

    – JedTango
    57 mins ago
















1














1










1









This link will describe how to do "load balancing" beetween this two gateways...



http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multiple-links.html



It is important for you to read it carefully specially on the start, as the author explain what will gonna be each variable in the configuration.






share|improve this answer













This link will describe how to do "load balancing" beetween this two gateways...



http://tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.rpdb.multiple-links.html



It is important for you to read it carefully specially on the start, as the author explain what will gonna be each variable in the configuration.







share|improve this answer












share|improve this answer



share|improve this answer










answered 21 hours ago









Luciano Andress MartiniLuciano Andress Martini

4,5621 gold badge13 silver badges40 bronze badges




4,5621 gold badge13 silver badges40 bronze badges
















  • I have 3 nodes that all need 3 separate private networks. corosync, and ceph on proxmox (ceph requires 2). Would each one of my interfaces for each node be Provider, 1, 2, 3. I would just need to configure them in each direction?

    – JedTango
    57 mins ago





















  • I have 3 nodes that all need 3 separate private networks. corosync, and ceph on proxmox (ceph requires 2). Would each one of my interfaces for each node be Provider, 1, 2, 3. I would just need to configure them in each direction?

    – JedTango
    57 mins ago



















I have 3 nodes that all need 3 separate private networks. corosync, and ceph on proxmox (ceph requires 2). Would each one of my interfaces for each node be Provider, 1, 2, 3. I would just need to configure them in each direction?

– JedTango
57 mins ago







I have 3 nodes that all need 3 separate private networks. corosync, and ceph on proxmox (ceph requires 2). Would each one of my interfaces for each node be Provider, 1, 2, 3. I would just need to configure them in each direction?

– JedTango
57 mins ago













JedTango is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded

















JedTango is a new contributor. Be nice, and check out our Code of Conduct.













JedTango is a new contributor. Be nice, and check out our Code of Conduct.












JedTango is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f540093%2fetc-network-interfaces-multiple-gateways-3-nics%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...