How can I ping to an external IP using two different interfaces?LAN server with two network cards, can't...
Are "confidant" and "confident" homophones?
Why no parachutes in the Orion AA2 abort test?
How do I check that users don't write down their passwords?
How to deal with a Murder Hobo Paladin?
How to find the version of extensions used on a Joomla website without access to the backend?
As a supervisor, what feedback would you expect from a PhD who quits?
How did the IEC decide to create kibibytes?
Is reasonable to assume that the 食 in 月食/日食 can be interpreted as the sun/moon being "eaten" during an eclipse?
Do grungs have a written language?
Why does mean tend be more stable in different samples than median?
I'm feeling like my character doesn't fit the campaign
Is this standard Japanese employment negotiations, or am I missing something?
What are some bad ways to subvert tropes?
Is this car delivery via Ebay Motors on Craigslist a scam?
Multi-user CRUD: Valid, Problem, or Error?
What is the fundamental difference between catching whales and hunting other animals?
Why do most airliners have underwing engines, while business jets have rear-mounted engines?
Array or vector? Two dimensional array or matrix?
How do I talk to my wife about unrealistic expectations?
Attach a visible light telescope to the outside of the ISS
Computer name naming convention for security
How would a sea turtle end up on its back?
Initializing variables in an "if" statement
Park the computer
How can I ping to an external IP using two different interfaces?
LAN server with two network cards, can't telnet / ping to the second even if it worksProblem with getting bridge to work when set up with a scriptRouting Problem with IP Forwarding on Ubuntu 14.04 and VirtualBoxNetwork interface crashes after disconnecting eth wire or restarting service“Destination Host Unreachable” when pinging directly connected computer after IP changePing does not work on secondary interface in serverHow to talk with IP camera through ethernet directly (no switch, hub, routers…). Different subnets in camera and ethernet's portDoes ping omit iptables / postrouting rulesNetwork Unreachable For Ethernet Interface Arch LinuxSwitch between DHCP server and client on eth0
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I've looked through some of the examples on this site with regards to multi-interface pings but none of the approaches seem to work for me.
I have two interfaces
- eth0 ( 192.168.0.x)
- wlan0 (192.168.1.2)
eth0 gets its IP from dhcp server.
wlan0 has static IP.
When I run the command
ping -I eth0 www.google.com
I get results that appear to be from eth0 (ipv6 stuff).
When I run the command
ping -I wlan0 www.google.com
I get the following output.
connect: Network is unreachable
If I unplug my eth0, and I run the comand again, I get desired results.
How can ping an external server with the choice of an interface ? It's almost like one is dominating, and if one exists, the other is disregarded.
network-interface ping
New contributor
add a comment |
I've looked through some of the examples on this site with regards to multi-interface pings but none of the approaches seem to work for me.
I have two interfaces
- eth0 ( 192.168.0.x)
- wlan0 (192.168.1.2)
eth0 gets its IP from dhcp server.
wlan0 has static IP.
When I run the command
ping -I eth0 www.google.com
I get results that appear to be from eth0 (ipv6 stuff).
When I run the command
ping -I wlan0 www.google.com
I get the following output.
connect: Network is unreachable
If I unplug my eth0, and I run the comand again, I get desired results.
How can ping an external server with the choice of an interface ? It's almost like one is dominating, and if one exists, the other is disregarded.
network-interface ping
New contributor
add a comment |
I've looked through some of the examples on this site with regards to multi-interface pings but none of the approaches seem to work for me.
I have two interfaces
- eth0 ( 192.168.0.x)
- wlan0 (192.168.1.2)
eth0 gets its IP from dhcp server.
wlan0 has static IP.
When I run the command
ping -I eth0 www.google.com
I get results that appear to be from eth0 (ipv6 stuff).
When I run the command
ping -I wlan0 www.google.com
I get the following output.
connect: Network is unreachable
If I unplug my eth0, and I run the comand again, I get desired results.
How can ping an external server with the choice of an interface ? It's almost like one is dominating, and if one exists, the other is disregarded.
network-interface ping
New contributor
I've looked through some of the examples on this site with regards to multi-interface pings but none of the approaches seem to work for me.
I have two interfaces
- eth0 ( 192.168.0.x)
- wlan0 (192.168.1.2)
eth0 gets its IP from dhcp server.
wlan0 has static IP.
When I run the command
ping -I eth0 www.google.com
I get results that appear to be from eth0 (ipv6 stuff).
When I run the command
ping -I wlan0 www.google.com
I get the following output.
connect: Network is unreachable
If I unplug my eth0, and I run the comand again, I get desired results.
How can ping an external server with the choice of an interface ? It's almost like one is dominating, and if one exists, the other is disregarded.
network-interface ping
network-interface ping
New contributor
New contributor
New contributor
asked 53 mins ago
efox29efox29
101
101
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
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/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
});
}
});
efox29 is a new contributor. Be nice, and check out our Code of Conduct.
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%2funix.stackexchange.com%2fquestions%2f528467%2fhow-can-i-ping-to-an-external-ip-using-two-different-interfaces%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
efox29 is a new contributor. Be nice, and check out our Code of Conduct.
efox29 is a new contributor. Be nice, and check out our Code of Conduct.
efox29 is a new contributor. Be nice, and check out our Code of Conduct.
efox29 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.
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%2funix.stackexchange.com%2fquestions%2f528467%2fhow-can-i-ping-to-an-external-ip-using-two-different-interfaces%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