How configure multiple IP Failover on the same VM?Use specific interface for outbound connections (Ubuntu 9.04)How to setup network interface to have eth0 as dhcp and eth0:1 as static ip?Translating debian network configuration to gentooStatic virtual IP in debian 6.0.4Centos multiple NICs routing issueSet up Wheezy Subnetsqemu, kvm: Guest: No DHCPOFFERS receivedHow to configure dual homed server in order for both network segments to communicate?How to correctly set up routing on machine with 4 interfaces so that three of interfaces are on the same subnet?How do I forward/NAT/route all traffic to one phyiscal interface/IP to Virtual interface/IP
Why do we use polarized capacitors?
Could Giant Ground Sloths have been a good pack animal for the ancient Mayans?
Need help identifying/translating a plaque in Tangier, Morocco
Domain expired, GoDaddy holds it and is asking more money
Is there a way to make member function NOT callable from constructor?
Are cabin dividers used to "hide" the flex of the airplane?
Copycat chess is back
What does "enim et" mean?
How could a lack of term limits lead to a "dictatorship?"
Is it legal to have the "// (c) 2019 John Smith" header in all files when there are hundreds of contributors?
Denied boarding due to overcrowding, Sparpreis ticket. What are my rights?
Could a US political party gain complete control over the government by removing checks & balances?
When blogging recipes, how can I support both readers who want the narrative/journey and ones who want the printer-friendly recipe?
Information to fellow intern about hiring?
Are objects structures and/or vice versa?
How can I fix this gap between bookcases I made?
Why is the design of haulage companies so “special”?
Is ipsum/ipsa/ipse a third person pronoun, or can it serve other functions?
Crop image to path created in TikZ?
extract characters between two commas?
How do I create uniquely male characters?
Finding files for which a command fails
How to make payment on the internet without leaving a money trail?
What is the offset in a seaplane's hull?
How configure multiple IP Failover on the same VM?
Use specific interface for outbound connections (Ubuntu 9.04)How to setup network interface to have eth0 as dhcp and eth0:1 as static ip?Translating debian network configuration to gentooStatic virtual IP in debian 6.0.4Centos multiple NICs routing issueSet up Wheezy Subnetsqemu, kvm: Guest: No DHCPOFFERS receivedHow to configure dual homed server in order for both network segments to communicate?How to correctly set up routing on machine with 4 interfaces so that three of interfaces are on the same subnet?How do I forward/NAT/route all traffic to one phyiscal interface/IP to Virtual interface/IP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'm trying to configure multiple IP Failover on the same VM behing Proxmox VE.
I've got these IP : IP1, IP2 and IP3. IP1 is the main one. I've configured in Proxmox these IP in veth with theses infos :
- Name : eth0, Mac : Virtual_Mac_Ip1
- Name : eth1, Mac : Virtual_Mac_Ip2
- Name : eth2, Mac : Virtual_Mac_Ip3
And I've modify my /etc/network/interfaces file in my VM with this :
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address IP_1
netmask 255.255.255.255
broadcast IP_1
post-up route add MAIN_IP dev eth0
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth0
post-down route del default gw MAIN_IP
auto eth1
iface eth1 inet static
address IP_2
netmask 255.255.255.255
broadcast IP_2
post-up route add MAIN_IP dev eth1
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth1
post-down route del default gw MAIN_IP
auto eth2
iface eth2 inet static
address IP_3
netmask 255.255.255.255
broadcast IP_3
post-up route add MAIN_IP dev eth2
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth2
post-down route del default gw MAIN_IP
With this configuration, I can't ping none of my IP. If a configure in /etc/network/interfaces only one IP (eth0, eth1 or eth2), this one works !
What is wrong with that ?
networking ip routing virtual-machines
add a comment |
I'm trying to configure multiple IP Failover on the same VM behing Proxmox VE.
I've got these IP : IP1, IP2 and IP3. IP1 is the main one. I've configured in Proxmox these IP in veth with theses infos :
- Name : eth0, Mac : Virtual_Mac_Ip1
- Name : eth1, Mac : Virtual_Mac_Ip2
- Name : eth2, Mac : Virtual_Mac_Ip3
And I've modify my /etc/network/interfaces file in my VM with this :
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address IP_1
netmask 255.255.255.255
broadcast IP_1
post-up route add MAIN_IP dev eth0
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth0
post-down route del default gw MAIN_IP
auto eth1
iface eth1 inet static
address IP_2
netmask 255.255.255.255
broadcast IP_2
post-up route add MAIN_IP dev eth1
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth1
post-down route del default gw MAIN_IP
auto eth2
iface eth2 inet static
address IP_3
netmask 255.255.255.255
broadcast IP_3
post-up route add MAIN_IP dev eth2
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth2
post-down route del default gw MAIN_IP
With this configuration, I can't ping none of my IP. If a configure in /etc/network/interfaces only one IP (eth0, eth1 or eth2), this one works !
What is wrong with that ?
networking ip routing virtual-machines
add a comment |
I'm trying to configure multiple IP Failover on the same VM behing Proxmox VE.
I've got these IP : IP1, IP2 and IP3. IP1 is the main one. I've configured in Proxmox these IP in veth with theses infos :
- Name : eth0, Mac : Virtual_Mac_Ip1
- Name : eth1, Mac : Virtual_Mac_Ip2
- Name : eth2, Mac : Virtual_Mac_Ip3
And I've modify my /etc/network/interfaces file in my VM with this :
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address IP_1
netmask 255.255.255.255
broadcast IP_1
post-up route add MAIN_IP dev eth0
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth0
post-down route del default gw MAIN_IP
auto eth1
iface eth1 inet static
address IP_2
netmask 255.255.255.255
broadcast IP_2
post-up route add MAIN_IP dev eth1
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth1
post-down route del default gw MAIN_IP
auto eth2
iface eth2 inet static
address IP_3
netmask 255.255.255.255
broadcast IP_3
post-up route add MAIN_IP dev eth2
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth2
post-down route del default gw MAIN_IP
With this configuration, I can't ping none of my IP. If a configure in /etc/network/interfaces only one IP (eth0, eth1 or eth2), this one works !
What is wrong with that ?
networking ip routing virtual-machines
I'm trying to configure multiple IP Failover on the same VM behing Proxmox VE.
I've got these IP : IP1, IP2 and IP3. IP1 is the main one. I've configured in Proxmox these IP in veth with theses infos :
- Name : eth0, Mac : Virtual_Mac_Ip1
- Name : eth1, Mac : Virtual_Mac_Ip2
- Name : eth2, Mac : Virtual_Mac_Ip3
And I've modify my /etc/network/interfaces file in my VM with this :
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address IP_1
netmask 255.255.255.255
broadcast IP_1
post-up route add MAIN_IP dev eth0
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth0
post-down route del default gw MAIN_IP
auto eth1
iface eth1 inet static
address IP_2
netmask 255.255.255.255
broadcast IP_2
post-up route add MAIN_IP dev eth1
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth1
post-down route del default gw MAIN_IP
auto eth2
iface eth2 inet static
address IP_3
netmask 255.255.255.255
broadcast IP_3
post-up route add MAIN_IP dev eth2
post-up route add default gw MAIN_IP
post-down route del MAIN_IP dev eth2
post-down route del default gw MAIN_IP
With this configuration, I can't ping none of my IP. If a configure in /etc/network/interfaces only one IP (eth0, eth1 or eth2), this one works !
What is wrong with that ?
networking ip routing virtual-machines
networking ip routing virtual-machines
edited Jul 2 '13 at 8:54
j0k
399916
399916
asked Jul 2 '13 at 7:57
KevinKevin
545
545
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Try to change the netmask from all 255.255.255.255 to your actual subnet number, so if you're using a 24bit schema, change it to 255.255.255.0 only.
Hope this works.
Thanks for your help. I've just tried and it doesn't work.
– Kevin
Jul 2 '13 at 9:15
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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/3.0/"u003ecc by-sa 3.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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f520118%2fhow-configure-multiple-ip-failover-on-the-same-vm%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
Try to change the netmask from all 255.255.255.255 to your actual subnet number, so if you're using a 24bit schema, change it to 255.255.255.0 only.
Hope this works.
Thanks for your help. I've just tried and it doesn't work.
– Kevin
Jul 2 '13 at 9:15
add a comment |
Try to change the netmask from all 255.255.255.255 to your actual subnet number, so if you're using a 24bit schema, change it to 255.255.255.0 only.
Hope this works.
Thanks for your help. I've just tried and it doesn't work.
– Kevin
Jul 2 '13 at 9:15
add a comment |
Try to change the netmask from all 255.255.255.255 to your actual subnet number, so if you're using a 24bit schema, change it to 255.255.255.0 only.
Hope this works.
Try to change the netmask from all 255.255.255.255 to your actual subnet number, so if you're using a 24bit schema, change it to 255.255.255.0 only.
Hope this works.
answered Jul 2 '13 at 8:39
Noor KhaldiNoor Khaldi
2,92211026
2,92211026
Thanks for your help. I've just tried and it doesn't work.
– Kevin
Jul 2 '13 at 9:15
add a comment |
Thanks for your help. I've just tried and it doesn't work.
– Kevin
Jul 2 '13 at 9:15
Thanks for your help. I've just tried and it doesn't work.
– Kevin
Jul 2 '13 at 9:15
Thanks for your help. I've just tried and it doesn't work.
– Kevin
Jul 2 '13 at 9:15
add a comment |
Thanks for contributing an answer to Server Fault!
- 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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f520118%2fhow-configure-multiple-ip-failover-on-the-same-vm%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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