Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
lol I thought it may have been as simple as that but best ask in case its some linux term I've never seen before!
So have thought about this but the debian vm is using systemd where this is using systemv so the ifconfig files are completely different.
Just compared the ip link output and they are indeed different:
Debian:
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000
Broken:
2: sit0@NONE: <NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
The BROADCAST vs NOARP sticks out.
Doesn't the ARP Cache deal with ip to mac conversion for network devices to talk at hardware level?? layer 2 or 3 is it? can never remember they layer numbers from the top of my head!
I think he means compare the system that works, with the system that doesn't.. Network Troubleshooting Steps: 1) ping localhost (127.0.0.1) to make sure your OS's TCP/IP stacks...
loop back ping and its own ip ping absolutely fine.
nothing else is reachable.
no link-local address as not using dhcp, static set in ifconfig
no ip conflicts as the dhcp server scope doesn't cover the address I'm using.
ARP is used for mapping a network address (e.g. an IPv4 address) to a MAC address, and it's a process happens for every router until you reach destination, and vice versa. The hardware/IP addresses are stored in the ARP cache.. In IPv6 the functionality of ARP is provided by NDP (neighbor discovery protocol)..
Last edited by linux4evr5581; 04-24-2017 at 02:58 PM.
so I've tried to set both arp and multicast on (just based on the debian compare) and hasn't made a difference.
I have noticed that the debian ip link output shows the mac address of the NIC where the broken build only shows
link/sit 0.0.0.0 brd 0.0.0.0
so tried to set the address using:
ip link set dev sit0 address 00:15:5d:69:5b:07
But it returns
Invalid address length 6 - must be 4 bytes
also tried setting it with LLADDR=00:15:5d:69:5b:07 and MACADDR=00:15:5d:69:5b:07 (wasn't sure what version applied to my ifconfig) variables in the ifconfig file but still nothing.
I going to compile the net-tools package so I can run arp to see what it has listed.
Thanks for the help! will post the results in a min.
That's odd as that command is meant to spoof (or change) your mac address, not try and add new one.. Make sure you brought the interface down via "ifconfig sit0 down" then back up again after. "Sit0 is a device that's used to tunnel IPv6 through an IPv4 connection", not sure if you knew that or if that'll help you..
Last edited by linux4evr5581; 04-24-2017 at 04:09 PM.
Ok so removed sit from the kernel and the sit0 interface has buggered off as expected.
Now I only have the lo interface.
lspci shows the nic
I've recreated the /etc/udev/rules.d/70-persistent-net.rules but running /lib/udev/write_net_rules with the correct mac address and eth0 as the interface name.
Maybe check to see if networking is enabled in your VM's BIOS (Hyper V has a BIOS if im not mistaken), beyond that I couldn't tell ya.. Just Google around for how to bring eth0 back, im sure you'll get it working..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.