LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-08-2013, 11:34 PM   #1
shdkpr2008
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Rep: Reputation: Disabled
Suse Network Problem.


Hello,

Box have Suse, its network has got stuck, it was working good, but recently something happened, i think some bad configuration is causing this problem, i am not so good at it..

Box is pinging every ip. but doesn't connect to any ip ssh or wget or ftp any. results Connection time out.

Box's host.conf is empty. It made to work with ip addresses. "It should work with ips, but not working."




Code:
#@linux-###:~> /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:31:4E:28:6D:B6
          inet addr:100.50.52.72  Bcast:100.50.52.255  Mask:255.255.255.0
          inet6 addr: fe60::441:5eff:fe37:5db0/54 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20263 errors:0 dropped:109870631 overruns:0 frame:0
          TX packets:458 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          Interrupt:90 Memory:ac000000-ac038200

eth1      Link encap:Ethernet  HWaddr 00:31:4E:28:6D:B8
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe60::441:5eff:fe37:5db0/54 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6129 errors:0 dropped:2209816 overruns:0 frame:0
          TX packets:492 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          Interrupt:169 Memory:ac000000-ac038200

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:5381 errors:0 dropped:0 overruns:0 frame:0
          TX packets:538 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

#@linux-###:~> ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=53 time=32.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=53 time=31.7 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=53 time=31.3 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 31.305/31.897/32.650/0.560 ms

#@linux-###:~>  netstat -r
Kernel IP routing table
Destination     Gateway        	 Genmask         Flags   MSS Window  irtt Iface
112.41.133.0    100.50.52.10     255.255.255.0   UG        0 0          0 eth0
192.168.1.0   *     	         255.255.255.0   U         0 0          0 eth1
100.50.52.0   *      	         255.255.255.0   U         0 0          0 eth0
link-local      *      	         255.255.0.0     U         0 0          0 eth0
loopback        *      	         255.0.0.0       U         0 0          0 lo
default         100.50.52.10     0.0.0.0         UG        0 0          0 eth0

#@linux-###:~> /sbin/ifup eth0
    eth0      device: Broadcom Corporation Gigabit Ethernet (rev 12)
    eth0      configuration: eth-id-00:31:4E:28:6D:B8
SuSEfirewall2: Warning: ip6tables does not support state matching. Extended IPv6 support disabled.
SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
SuSEfirewall2: Warning: no interface active
SuSEfirewall2: batch committing...
SuSEfirewall2: Firewall rules successfully set
Checking for network time protocol daemon (NTPD):                     unused

#@linux-###:~> ssh xx.xx.xx.xx
TOO LONG WAITING I HAVE TO PRESS CRTL+C
HELP !...

Last edited by shdkpr2008; 03-09-2013 at 08:33 PM. Reason: Mac address repeated.
 
Old 03-09-2013, 04:59 PM   #2
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
Both your ethernet ports (eth0 & eth1) are configured to use the same network card (same hardware address). This will always create problems.
So please can you give us some more information.
1) How many network cards do you really have?
2) Is one of them connected to your ISP through a modem?
3) Are you trying to ssh to a local machine or one on the internet?
 
Old 03-09-2013, 08:36 PM   #3
shdkpr2008
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
I have 2 cards,
eth0 and eth1 are both of different card.
eth0 one is connected to isp and gateway though which i am able to ping is 100.50.52.10.
I am trying to ssh,telnet the internet one.
Even telent to google's ip fail.
I tried to add google nameservers, in host.conf, but no luck, nothing changed, just hangs when resolve or do anything.
Firewall is off.
 
Old 03-10-2013, 04:56 AM   #4
zafar_dandoti
Member
 
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 169

Rep: Reputation: Disabled
have you checked the firewall configuration .
make sure firewall is not blocking port 22(ssh) and port 23(telnet)also make sure port forwarding is enabled if you ssh remotely.
 
Old 03-10-2013, 01:43 PM   #5
shdkpr2008
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Firewall if off on the box from which i am trying to connect to internet.
I cannot ssh/telent anyip from that box only.
 
Old 03-11-2013, 11:55 PM   #6
zafar_dandoti
Member
 
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 169

Rep: Reputation: Disabled
Quote:
Originally Posted by shdkpr2008 View Post
Firewall if off on the box from which i am trying to connect to internet.
I cannot ssh/telent anyip from that box only.
are you sure ssh and telnet is installed and running on host you are trying ?
 
Old 03-14-2013, 03:21 PM   #7
shdkpr2008
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
yes. I am confirmed...
 
Old 03-15-2013, 02:48 AM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
From gdejonge
Quote:
Both your ethernet ports (eth0 & eth1) are configured to use the same network card (same hardware address). This will always create problems.

I think not
Code:
eth0      Link encap:Ethernet  HWaddr 00:31:4E:28:6D:B6

eth1      Link encap:Ethernet  HWaddr 00:31:4E:28:6D:B8
I know my eyes are getting old, but the last Hex bytes look different to me
 
Old 03-15-2013, 04:39 AM   #9
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
Your right.
I need to get a new prescription for my glasses.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Suse 11.4 network problem olva SUSE / openSUSE 5 04-04-2011 05:04 PM
Network problem suse 10.1 linux_albatros SUSE / openSUSE 1 08-03-2006 09:43 AM
Suse 10.0 network problem linux_albatros SUSE / openSUSE 1 07-26-2006 05:20 PM
Suse network problem! J-Doe SUSE / openSUSE 20 10-30-2005 12:18 PM
Network problem in suse 9 wozzle Linux - Networking 2 07-05-2004 11:34 AM


All times are GMT -5. The time now is 12:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration