how to find default gateway on virtuozzo VPS?MAC Address on Virtuozzo VPSAutomate changing default...
How to approximate rolls for potions of healing using only d6's?
What do these brackets mean?
Why is this code uniquely decodable?
Meaning of すきっとした
Finding the number of integers that are a square and a cube at the same time
Has the Isbell–Freyd criterion ever been used to check that a category is concretisable?
What's the purpose of these copper coils with resitors inside them in A Yamaha RX-V396RDS amplifier?
Am I using the wrong word all along?
Do my Windows system binaries contain sensitive information?
What was the population of late Pre-Islamic Arabia and the population of Arabic speakers before Islam?
Dilemma of explaining to interviewer that he is the reason for declining second interview
Is 45 min enough time to catch my next flight
Is it a fallacy if someone claims they need an explanation for every word of your argument to the point where they don't understand common terms?
LTSpice: When running a linear AC simulation, how to view the voltage ratio between two voltages?
How to mitigate "bandwagon attacking" from players?
Why can I easily sing or whistle a tune I've just heard, but not as easily reproduce it on an instrument?
How to avoid being sexist when trying to employ someone to function in a very sexist environment?
Proof by Induction - New to proofs
Why do members of Congress in committee hearings ask witnesses the same question multiple times?
"Sheng" as a male given name
Finding ratio of the area of triangles
Metadata API deployments are failing in Spring '19
Does this pattern of summing polygonal numbers to get a square repeat indefinitely?
How do we edit a novel that's written by several people?
how to find default gateway on virtuozzo VPS?
MAC Address on Virtuozzo VPSAutomate changing default gateway“Clone” a Virtuozzo VPSDisable IPv6 on Debian VPS (Virtuozzo!)Multiple default gateways on the same interfaceCentos 6.2 Fresh 'Basic Server' install networking issueshow to configure default gatewayWrong default gateway assignedMachines disregarding default gatewayD'DNS as Default Gateway
trying to install tinc on VPS but config need Subnet
which is modem IP i think as they entered 10.0.0.1/32
on demo. but on my vps ping of either 10.0.0.1/32
or 192.168.1.1
don't replay. if i put 127.0.0.1 it works ? (i have centOS 6)
Update1:
[root@vps9605 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 venet0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
vps gateway tinc
bumped to the homepage by Community♦ 13 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
trying to install tinc on VPS but config need Subnet
which is modem IP i think as they entered 10.0.0.1/32
on demo. but on my vps ping of either 10.0.0.1/32
or 192.168.1.1
don't replay. if i put 127.0.0.1 it works ? (i have centOS 6)
Update1:
[root@vps9605 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 venet0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
vps gateway tinc
bumped to the homepage by Community♦ 13 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
trying to install tinc on VPS but config need Subnet
which is modem IP i think as they entered 10.0.0.1/32
on demo. but on my vps ping of either 10.0.0.1/32
or 192.168.1.1
don't replay. if i put 127.0.0.1 it works ? (i have centOS 6)
Update1:
[root@vps9605 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 venet0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
vps gateway tinc
trying to install tinc on VPS but config need Subnet
which is modem IP i think as they entered 10.0.0.1/32
on demo. but on my vps ping of either 10.0.0.1/32
or 192.168.1.1
don't replay. if i put 127.0.0.1 it works ? (i have centOS 6)
Update1:
[root@vps9605 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 venet0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0
vps gateway tinc
vps gateway tinc
edited Dec 21 '14 at 19:17
Sven♦
87k10145199
87k10145199
asked Dec 28 '12 at 14:13
larylary
13
13
bumped to the homepage by Community♦ 13 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 13 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Try running route -n
to view your current Kernel routing table. It should list something like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.118.136.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 10.118.136.1 0.0.0.0 UG 0 0 0 eth0
The value of Gateway
in the last line is the "primary" gateway of your VPS (in this case it's 10.118.136.1
).
Please note that the /32
mentioned in the example is a so called CIDR subnet notation, it means that 32 subnet bits should be used. For an IPv4 address, there are only 32 bits and a /32
means that only that IP is also the subnet (it's full notation would be 255.255.255.255
).
I'm not sure wheter you are trying to setup a VPN to your hardware node or if you want to allow external VPN connections to your VPS. If it's the latter, you should be able to use the external IP address with a /32
suffix. If it's the first you should use as many bits as you want your VPN to be able to access, probably /24
, equal to 255.255.255.0
, which is everything that starts with the same 3 octets as your VPS IP (in the example above a subnet of 10.118.136.0/24 would allow access to all IP's between 10.118.136.0 and 10.118.136.255).
i got 0.0.0.0 !
– lary
Dec 28 '12 at 14:33
@lary Can you paste the complete output as an update to your question?
– Oldskool
Dec 28 '12 at 14:35
question has been updated
– lary
Dec 28 '12 at 14:38
@lary Unfortunately that doesn't clarify much in this case :( I've updated the answer with some additional information about subnets in general though. Maybe it helps you understand the setting a bit more.
– Oldskool
Dec 28 '12 at 16:28
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%2f461438%2fhow-to-find-default-gateway-on-virtuozzo-vps%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 running route -n
to view your current Kernel routing table. It should list something like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.118.136.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 10.118.136.1 0.0.0.0 UG 0 0 0 eth0
The value of Gateway
in the last line is the "primary" gateway of your VPS (in this case it's 10.118.136.1
).
Please note that the /32
mentioned in the example is a so called CIDR subnet notation, it means that 32 subnet bits should be used. For an IPv4 address, there are only 32 bits and a /32
means that only that IP is also the subnet (it's full notation would be 255.255.255.255
).
I'm not sure wheter you are trying to setup a VPN to your hardware node or if you want to allow external VPN connections to your VPS. If it's the latter, you should be able to use the external IP address with a /32
suffix. If it's the first you should use as many bits as you want your VPN to be able to access, probably /24
, equal to 255.255.255.0
, which is everything that starts with the same 3 octets as your VPS IP (in the example above a subnet of 10.118.136.0/24 would allow access to all IP's between 10.118.136.0 and 10.118.136.255).
i got 0.0.0.0 !
– lary
Dec 28 '12 at 14:33
@lary Can you paste the complete output as an update to your question?
– Oldskool
Dec 28 '12 at 14:35
question has been updated
– lary
Dec 28 '12 at 14:38
@lary Unfortunately that doesn't clarify much in this case :( I've updated the answer with some additional information about subnets in general though. Maybe it helps you understand the setting a bit more.
– Oldskool
Dec 28 '12 at 16:28
add a comment |
Try running route -n
to view your current Kernel routing table. It should list something like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.118.136.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 10.118.136.1 0.0.0.0 UG 0 0 0 eth0
The value of Gateway
in the last line is the "primary" gateway of your VPS (in this case it's 10.118.136.1
).
Please note that the /32
mentioned in the example is a so called CIDR subnet notation, it means that 32 subnet bits should be used. For an IPv4 address, there are only 32 bits and a /32
means that only that IP is also the subnet (it's full notation would be 255.255.255.255
).
I'm not sure wheter you are trying to setup a VPN to your hardware node or if you want to allow external VPN connections to your VPS. If it's the latter, you should be able to use the external IP address with a /32
suffix. If it's the first you should use as many bits as you want your VPN to be able to access, probably /24
, equal to 255.255.255.0
, which is everything that starts with the same 3 octets as your VPS IP (in the example above a subnet of 10.118.136.0/24 would allow access to all IP's between 10.118.136.0 and 10.118.136.255).
i got 0.0.0.0 !
– lary
Dec 28 '12 at 14:33
@lary Can you paste the complete output as an update to your question?
– Oldskool
Dec 28 '12 at 14:35
question has been updated
– lary
Dec 28 '12 at 14:38
@lary Unfortunately that doesn't clarify much in this case :( I've updated the answer with some additional information about subnets in general though. Maybe it helps you understand the setting a bit more.
– Oldskool
Dec 28 '12 at 16:28
add a comment |
Try running route -n
to view your current Kernel routing table. It should list something like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.118.136.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 10.118.136.1 0.0.0.0 UG 0 0 0 eth0
The value of Gateway
in the last line is the "primary" gateway of your VPS (in this case it's 10.118.136.1
).
Please note that the /32
mentioned in the example is a so called CIDR subnet notation, it means that 32 subnet bits should be used. For an IPv4 address, there are only 32 bits and a /32
means that only that IP is also the subnet (it's full notation would be 255.255.255.255
).
I'm not sure wheter you are trying to setup a VPN to your hardware node or if you want to allow external VPN connections to your VPS. If it's the latter, you should be able to use the external IP address with a /32
suffix. If it's the first you should use as many bits as you want your VPN to be able to access, probably /24
, equal to 255.255.255.0
, which is everything that starts with the same 3 octets as your VPS IP (in the example above a subnet of 10.118.136.0/24 would allow access to all IP's between 10.118.136.0 and 10.118.136.255).
Try running route -n
to view your current Kernel routing table. It should list something like this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.118.136.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 10.118.136.1 0.0.0.0 UG 0 0 0 eth0
The value of Gateway
in the last line is the "primary" gateway of your VPS (in this case it's 10.118.136.1
).
Please note that the /32
mentioned in the example is a so called CIDR subnet notation, it means that 32 subnet bits should be used. For an IPv4 address, there are only 32 bits and a /32
means that only that IP is also the subnet (it's full notation would be 255.255.255.255
).
I'm not sure wheter you are trying to setup a VPN to your hardware node or if you want to allow external VPN connections to your VPS. If it's the latter, you should be able to use the external IP address with a /32
suffix. If it's the first you should use as many bits as you want your VPN to be able to access, probably /24
, equal to 255.255.255.0
, which is everything that starts with the same 3 octets as your VPS IP (in the example above a subnet of 10.118.136.0/24 would allow access to all IP's between 10.118.136.0 and 10.118.136.255).
edited Dec 28 '12 at 16:27
answered Dec 28 '12 at 14:24
OldskoolOldskool
1,6721223
1,6721223
i got 0.0.0.0 !
– lary
Dec 28 '12 at 14:33
@lary Can you paste the complete output as an update to your question?
– Oldskool
Dec 28 '12 at 14:35
question has been updated
– lary
Dec 28 '12 at 14:38
@lary Unfortunately that doesn't clarify much in this case :( I've updated the answer with some additional information about subnets in general though. Maybe it helps you understand the setting a bit more.
– Oldskool
Dec 28 '12 at 16:28
add a comment |
i got 0.0.0.0 !
– lary
Dec 28 '12 at 14:33
@lary Can you paste the complete output as an update to your question?
– Oldskool
Dec 28 '12 at 14:35
question has been updated
– lary
Dec 28 '12 at 14:38
@lary Unfortunately that doesn't clarify much in this case :( I've updated the answer with some additional information about subnets in general though. Maybe it helps you understand the setting a bit more.
– Oldskool
Dec 28 '12 at 16:28
i got 0.0.0.0 !
– lary
Dec 28 '12 at 14:33
i got 0.0.0.0 !
– lary
Dec 28 '12 at 14:33
@lary Can you paste the complete output as an update to your question?
– Oldskool
Dec 28 '12 at 14:35
@lary Can you paste the complete output as an update to your question?
– Oldskool
Dec 28 '12 at 14:35
question has been updated
– lary
Dec 28 '12 at 14:38
question has been updated
– lary
Dec 28 '12 at 14:38
@lary Unfortunately that doesn't clarify much in this case :( I've updated the answer with some additional information about subnets in general though. Maybe it helps you understand the setting a bit more.
– Oldskool
Dec 28 '12 at 16:28
@lary Unfortunately that doesn't clarify much in this case :( I've updated the answer with some additional information about subnets in general though. Maybe it helps you understand the setting a bit more.
– Oldskool
Dec 28 '12 at 16:28
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%2f461438%2fhow-to-find-default-gateway-on-virtuozzo-vps%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