خرید بک لینک

I got a virtual machine image for my course (there is a development env setup) and I can't create a same setup, so I need to use this. It's an older Arch Linux (uname -a says 2013) with 3.8.4 keel and very limited command set. I have a problem setting up networking to this machine (needed for the development). I am able to ping the virtual machine from my laptop, but I can't reach anything (not even localhost) from the virtual machine - the output is always Bad address.

My ip a output:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 52:54:00:1a:d0:53 brd ff:ff:ff:ff:ff:ff
    inet 192.168.100.223/24 brd 192.168.100.255 scope global eth0
    inet6 fe80::5054:ff:fe1a:d053/64 scope link
       valid_lft forever preferred_lft forever

route output:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.100.1   0.0.0.0         UG    600    0      0   eth0
192.168.100.0   *         255.255.255.0         U     0      0      0   eth0

192.168.100.1 is the IP of virbr1 of my laptop. The output of ping 127.0.0.1 is:

PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
ping: sendmsg: Bad address

If I try to ping anything (my laptop as 192.168.100.1, Google 8.8.8.8, localhost) the answer is still same. There is no traceroute, but if I run tracepath 8.8.8.8 or tracepath google.com, it works as expected. There is no policy set up in iptables. I have tried copying example file for eth0 and adjusting it to /etc/network.d/interfaces, but it didn't change anything.

What I really need is to make this machine available to the outer world (I need to be able to coect to it from machine in the home network, which is not in the 192.168.100.*, but is in the same network as my laptop). However, when I'm unable to ping localhost, I suspect there is something completely wrong with the network and my google-fu doesn't help.

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 8 ارديبهشت 1395 ساعت: 2:37

صفحه بندی