LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-12-2009, 01:16 PM   #1
spawned
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Rep: Reputation: 0
Link enabling problem


Here's the problem:

Provider has given to us a public IP address space x.y.z.0/28 where x.y.z.1 is address of an interface on their own network device, which should be a default gateway to our server, according to their words. There is an optical link between provider and optical converter on the side of server, and electrical link from converter to the server.

I have configured the server primary network interface this way:

ifconfig eth0 x.y.z.2/28 up

route add default gw x.y.z.1 netmask 255.255.255.240 dev eth0

But, when I try to ping x.y.z.1, icmp tells me that Destination host is unreachable iptables installed but policy is ACCEPT everywhere.

It's very interesanting that link is not showing any activity, by the LED diods on NIC. I tried other NIC, and it's the same case. I tried even on my laptop with windows OS, and I didn't get any reasonable notification, instead I got Network cable unplugged?!

But when I put the cable into the other server with Windows server 2003, NIC's LEDs show activity. That server is giving access to the internet only about 10 minutes after restarting, after it stops serving, probably NATing, for unexplained reasons to me . I don't have insight to win server, cause it's under password of other admin who is not available anymore, so it was the reason to build a debian server from scratch, but on the very beggining big problem is in front of me.

So, does anyone have an idea what is the cause of problem and how to solve it?
 
Old 12-12-2009, 02:00 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
post the output for: route -n

Thanks
 
Old 12-13-2009, 07:25 AM   #3
spawned
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nimnull22 View Post
post the output for: route -n

Thanks
0.0.0.0 x.y.z.1 0.0.0.0 UG 0 0 0 eth1
x.y.z.0 0.0.0.0 255.255.255.240 U 0 0 eth1
172.16.0.0 0.0.0.0 255.255.0.0 U 0 0 eth0


so, that is ok.


I tried other solutions:

First, I checked cable type. It was straight-through cable, so this was not cause of the problem.

After that, I decided to do power-cycling. But when I've opened the rack, there was a huge mess in it, at least 10 network devices with mass of cables and wires. It was nothing labeled (I don't know why) so I concluded that it easier for me to change NICs between Debian and Win server and find out what will happen. If the MAC learning is a problem, this will solve it. But after I change NICs between servers, unexpected problem arised: kernel did not recognized a new NIC. This problem could probably be solved by adding some kernel modules, or in similar way, but with no working internet connection I couldn't find the proper way to do it. So I decided to reinstall Debian with new NIC in the box. After that, kernel have racognized the NIC, and it's LEDs start to show some activity. Finally, I coud ping x.y.z.1. So, link is ok.

But, when I've tried to ping a nameserver's IP in provider's network, I haven't got any response! I tried to traceroute a nameserver's IP, and I've got 4 hops, all inside provider's network, after i've got stars (* * * and last response * *). I tried to ping the second hop and the third hop, it was ok, but I didn't get any response when I tried to ping the fourth hop!

Is there any possible kernel parametres which I shoud set? Should I set some parametres inside sysctl.conf?

Anyway, thenks for the answers.
 
  


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
Problem enabling network in Fedora 11 albertspade Linux - Networking 3 07-23-2009 01:19 AM
regarding the internet connection problem,and graphics enabling problem, jitulove Linux - Laptop and Netbook 1 02-19-2009 08:17 PM
How to create symbolic link to html file and avoid page link problem? haxpor Linux - General 2 01-29-2008 07:40 AM
Interface enabling problem liquidrave Linux - Wireless Networking 10 04-18-2006 05:56 AM
problem enabling dma matrixon Linux - Hardware 2 04-30-2005 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:17 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