LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-26-2019, 01:55 PM   #1
Faizan Khan
LQ Newbie
 
Registered: Jul 2019
Posts: 4

Rep: Reputation: Disabled
Assigned static IP through yast but no internet connection (Hetzner Cloud)


Hi, I have installed Suse server (from vicibox.iso downloaded from http://vicibox.org/server/index.html) on Hetzner Cloud. Hetzner machine has static IP address, I have changed network configurations through yast to assign static IP to machine. But now I am unable to ping internet. This is not the problem with DNS as i am unable to ping using IP (8.8.8.8). I was instructed to followed this link (https://wiki.hetzner.de/index.php/Cloud_IP_static/en) by hetzner support. However,It has no direct instructions for Suse.
Previously internet was working fine when i didn't change the network configurations but stopped working due to unknown reasons to i decided to configure manually using yast.

I have also tried configuring it from command line by changing below files.

1- /etc/sysconfig/network/ifcfg-eth0
2- /etc/sysconfig/network/routes
3- /etc/resolv.conf

But failed to properly configure internet. Any help or suggestions are highly appreciated as i am badly stuck.

Regards,
Faizan
 
Old 07-28-2019, 02:46 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,799
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
What did you put in those three files? I use fixed IP everywhere. In Leap 15.1 have 3 lines in the first, 1 line in the 2nd, and 7 in the 3rd.

What does 'ip a' produce? 'ip route'?

If /etc/udev/rules.d/70-persistent-net.rules exists, what does it contain?
 
Old 07-28-2019, 03:36 PM   #3
Faizan Khan
LQ Newbie
 
Registered: Jul 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
Unhappy

/etc/udev/rules.d/70-persistent-net.rules exists, see attached image for its contents. Attached image also contains output of ip a command.

Below are results of some other commands you asked.

ip router
default via <server_ip> dev eth0

cat /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO='static'
MTU='1500'
STARTMODE='auto'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='<server_ip>/32'
NAME=''
NETWORK=''
PREFIXLEN='32'
DNS1='213.133.98.98'
DNS2='213.133.99.99'
NETMASK='255.255.255.255'
STARTMODE='auto'
USERCONTROL='no'

cat /etc/sysconfig/network/routes
default 172.31.1.1

cat /etc/resolv.conf
nameserver 213.133.98.98
nameserver 213.133.99.99
nameserver 213.133.100.100

I am also concerned about logs of packets being received, is that normal.

Thank you for help.
Attached Thumbnails
Click image for larger version

Name:	Linux Forums.PNG
Views:	34
Size:	113.6 KB
ID:	30976  

Last edited by Faizan Khan; 07-28-2019 at 03:37 PM.
 
Old 07-28-2019, 05:10 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,799
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
I don't understand enough about networking to know how cloud might affect setup, so to me 172.31.1.1 in your routes looks suspicious. I would expect it to be consistent with what you get from 'ip route' (<server_ip>) and/or 'ip a' output (116.203.#.#). Your problem might be better directed to the networking forum, where more network experts would be expected to be enticed by your predicament.
 
Old 07-29-2019, 05:22 AM   #5
Faizan Khan
LQ Newbie
 
Registered: Jul 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
I'll try changing that. If you can you share your configuration files, that might be helpful.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cloud 5: Dispelling cloud myths, the cloud security excuse, and the fight for cloud supremacy LXer Syndicated Linux News 0 06-20-2014 04:12 PM
LXer: Cloud 5: NSA not killing cloud, cloud IT jobs, rise of cloud brokers LXer Syndicated Linux News 0 03-02-2014 09:51 AM
LXer: Cloud 5: Netflix's cloud-connected brain, 5 cloud myths and from cloud to fog LXer Syndicated Linux News 0 02-21-2014 02:20 PM
LXer: It's a cloud, cloud, cloud, cloud world LXer Syndicated Linux News 0 07-23-2013 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration