How to run `arp-scan` on an interface that's modified by netplan?












0















I have a link-local address set up for an ethernet dongle via netplan:



# For USB eth dongle
network:
version: 2
renderer: NetworkManager
ethernets:
enx00249b1ec202:
dhcp4: no
dhcp6: no
link-local: [ ipv4, ipv6]
addresses: [169.254.11.25/16]


I currently have a Raspberry Pi connected to my PC through that dongle. I tried running arp-scan but after running for a while, it couldn't find the Pi.



$ sudo arp-scan -I enx00249b1ec202 -l
Interface: enx00249b1ec202, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.9.5 with 65536 hosts (https://github.com/royhills/arp-scan)

0 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.9.5: 65536 hosts scanned in 263.530 seconds (248.69 hosts/sec). 0 responded


How can I have Arp detect it?



Edit: it's a whole different problem



I thought it was the arp-scan problem, but it turns out that netplan didn't apply upon reboot. I ssh-ed to it through WiFi, and that's when I realized it.



this is the Netplan config file for my Pi:



network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: no
dhcp6: no
addresses: [169.254.2.14/16]


Did I do anything wrong?










share|improve this question

























  • If I understand correctly, you're saying that the network interface on the Pi wasn't brought up after reboot. What is the output of netplan apply --debug on the Pi? What is the output of journalctl -l -u systemd-networkd?

    – slangasek
    11 hours ago
















0















I have a link-local address set up for an ethernet dongle via netplan:



# For USB eth dongle
network:
version: 2
renderer: NetworkManager
ethernets:
enx00249b1ec202:
dhcp4: no
dhcp6: no
link-local: [ ipv4, ipv6]
addresses: [169.254.11.25/16]


I currently have a Raspberry Pi connected to my PC through that dongle. I tried running arp-scan but after running for a while, it couldn't find the Pi.



$ sudo arp-scan -I enx00249b1ec202 -l
Interface: enx00249b1ec202, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.9.5 with 65536 hosts (https://github.com/royhills/arp-scan)

0 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.9.5: 65536 hosts scanned in 263.530 seconds (248.69 hosts/sec). 0 responded


How can I have Arp detect it?



Edit: it's a whole different problem



I thought it was the arp-scan problem, but it turns out that netplan didn't apply upon reboot. I ssh-ed to it through WiFi, and that's when I realized it.



this is the Netplan config file for my Pi:



network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: no
dhcp6: no
addresses: [169.254.2.14/16]


Did I do anything wrong?










share|improve this question

























  • If I understand correctly, you're saying that the network interface on the Pi wasn't brought up after reboot. What is the output of netplan apply --debug on the Pi? What is the output of journalctl -l -u systemd-networkd?

    – slangasek
    11 hours ago














0












0








0








I have a link-local address set up for an ethernet dongle via netplan:



# For USB eth dongle
network:
version: 2
renderer: NetworkManager
ethernets:
enx00249b1ec202:
dhcp4: no
dhcp6: no
link-local: [ ipv4, ipv6]
addresses: [169.254.11.25/16]


I currently have a Raspberry Pi connected to my PC through that dongle. I tried running arp-scan but after running for a while, it couldn't find the Pi.



$ sudo arp-scan -I enx00249b1ec202 -l
Interface: enx00249b1ec202, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.9.5 with 65536 hosts (https://github.com/royhills/arp-scan)

0 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.9.5: 65536 hosts scanned in 263.530 seconds (248.69 hosts/sec). 0 responded


How can I have Arp detect it?



Edit: it's a whole different problem



I thought it was the arp-scan problem, but it turns out that netplan didn't apply upon reboot. I ssh-ed to it through WiFi, and that's when I realized it.



this is the Netplan config file for my Pi:



network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: no
dhcp6: no
addresses: [169.254.2.14/16]


Did I do anything wrong?










share|improve this question
















I have a link-local address set up for an ethernet dongle via netplan:



# For USB eth dongle
network:
version: 2
renderer: NetworkManager
ethernets:
enx00249b1ec202:
dhcp4: no
dhcp6: no
link-local: [ ipv4, ipv6]
addresses: [169.254.11.25/16]


I currently have a Raspberry Pi connected to my PC through that dongle. I tried running arp-scan but after running for a while, it couldn't find the Pi.



$ sudo arp-scan -I enx00249b1ec202 -l
Interface: enx00249b1ec202, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.9.5 with 65536 hosts (https://github.com/royhills/arp-scan)

0 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.9.5: 65536 hosts scanned in 263.530 seconds (248.69 hosts/sec). 0 responded


How can I have Arp detect it?



Edit: it's a whole different problem



I thought it was the arp-scan problem, but it turns out that netplan didn't apply upon reboot. I ssh-ed to it through WiFi, and that's when I realized it.



this is the Netplan config file for my Pi:



network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: no
dhcp6: no
addresses: [169.254.2.14/16]


Did I do anything wrong?







networking netplan arp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday







YamiYukiSenpai

















asked yesterday









YamiYukiSenpaiYamiYukiSenpai

140319




140319













  • If I understand correctly, you're saying that the network interface on the Pi wasn't brought up after reboot. What is the output of netplan apply --debug on the Pi? What is the output of journalctl -l -u systemd-networkd?

    – slangasek
    11 hours ago



















  • If I understand correctly, you're saying that the network interface on the Pi wasn't brought up after reboot. What is the output of netplan apply --debug on the Pi? What is the output of journalctl -l -u systemd-networkd?

    – slangasek
    11 hours ago

















If I understand correctly, you're saying that the network interface on the Pi wasn't brought up after reboot. What is the output of netplan apply --debug on the Pi? What is the output of journalctl -l -u systemd-networkd?

– slangasek
11 hours ago





If I understand correctly, you're saying that the network interface on the Pi wasn't brought up after reboot. What is the output of netplan apply --debug on the Pi? What is the output of journalctl -l -u systemd-networkd?

– slangasek
11 hours ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123381%2fhow-to-run-arp-scan-on-an-interface-thats-modified-by-netplan%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
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • 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%2faskubuntu.com%2fquestions%2f1123381%2fhow-to-run-arp-scan-on-an-interface-thats-modified-by-netplan%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

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局