LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Suse Network Problem. (https://www.linuxquestions.org/questions/linux-newbie-8/suse-network-problem-4175453349/)

shdkpr2008 03-08-2013 10:34 PM

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 !...

gdejonge 03-09-2013 03:59 PM

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?

shdkpr2008 03-09-2013 07:36 PM

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.

zafar_dandoti 03-10-2013 03:56 AM

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.

shdkpr2008 03-10-2013 12:43 PM

Firewall if off on the box from which i am trying to connect to internet.
I cannot ssh/telent anyip from that box only.

zafar_dandoti 03-11-2013 10:55 PM

Quote:

Originally Posted by shdkpr2008 (Post 4908615)
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 ?

shdkpr2008 03-14-2013 02:21 PM

yes. I am confirmed...

chrism01 03-15-2013 01:48 AM

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 ;)

gdejonge 03-15-2013 03:39 AM

Your right.
I need to get a new prescription for my glasses. :)


All times are GMT -5. The time now is 02:00 AM.