You are not logged in.
I'm trying to set up networking on a VPS I purchased.
When I boot off the arch install image, the networking set up is configured via DHCP and everything seems to work perfectly.
This is the configuration I see from the
ip addrand
ip route commands:
http://i.imgur.com/yeLFO6x.png
I proceeded to follow the instructions at the systemd-networkd page, and enabled the right services.
I also created an ethernet.network file in the correct directory.
You can see the contents of the file in the following screenshot, along with the ouput of some of the ip commands in the following screenshot.
http://i.imgur.com/hJNIZrJ.png
I'm unable to ping google, but somehow I'm able to curl successfully download the google.com page via curl.
I've demonstrated this in the following screenshot. I cannot fathom how this is possible.
http://i.imgur.com/YokAKog.png
I'll be happy to provide any other information that could be useful, and would really appreciate some help getting to the bottom of this.
Thanks a tonne.
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
Offline
Please don't post (oversize) images of text, paste the actual text...
Moving to Newbie Corner.
Offline
I would have loved to not post images of the text.
Unfortunately the box has network issues which I'm trying to solve and thus I can't pipe the ouput to a pastebin somewhere.
Could this be moved back to the networking section? I feel like I'm more likely to get someone who knows the solution to see this if it's in that section than in the newbie section.
Offline
What is in the journal?
Also, it would be more helpful if you detailed what you have done, rather than just saying you followed all the steps. Are you using systemd-resolved as well?
Offline
The problem is that you have the gateway set to 192.95.10.154 AND the address set to 192.95.10.154/32
A gateway provides the default route and is normally a different machine.
Also that subnet /32 is odd - /32 is usually used for secondary IP addresses.
I suggest you look again at these values - are they correct?
Offline
That subnet is not only odd - it should not work.
A /32-subnet is perfect for localhost and the like. It basically means you can't reach any other IP than your own.
Also the gateway from your provider's DHCP-server (first screenshot) ist very far away from your own IP. I'm too lazy to calculate, but in order to reach that gateway with that IP, the netmask would have to be between 16 and 8.
In short: I can easily tell you why it wouldn't work - what I don't get is why it worked with curl in your setup or your provider's DHCP and/or what your provider did there.
In any case: talk to your provider - they might be able to give you the correct addresses/masks and maybe shed some light (I'm really very curious).
Last edited by PaterSiul (2015-04-19 18:40:57)
Offline