Pesky networking problem with Ubuntu / Debian
I'm running Ubuntu Server (Hardy) in our office. The building we are in provisions internet for us so we have fixed IP and DNS server. The problem is: I can't reach the internet from this server. It will resolve IP addresses but for example I can't apt-get or wget anything. Posted this problem on two other forums but no resolution yet. Would be open to any suggestions at this stage since everything I've tried doesn't work so far.
Code:
ifconfig -a: Code:
arp -a: Code:
interfaces: Code:
resolv.conf: Code:
I can resolve hosts: Code:
But can't access internet: Code:
I can ping the gateway: Thanks in advance to anyone who has suggestions for how to fix this! |
Show your router IP-related settings for the LAN.
Also, if your router is a cheap commodity router, don't use its internal DNS cache. They are very poor. Use your ISPs instead. (remove the 192.168.1.1 name server entry in resolv.conf, or wherever you configure your network settings). Also describe the WAN side of your router - you can mask the IP if its public. |
Wait a minute. I think you have a problem with your IP address and network
193.168.1.200 I think you want 192.168.1.200, which is a private network. 193 is public. Please confirm. |
Unfortunately the router is managed by the building's IT department and I haven't been able to get much information from them yet, but I will try again today. I tried to determine the router's IP address from dyndns, but it couldn't resolve it, ping router also fails of course.
Before I only had the ISP's DNS server listed, but it wouldn't resolve hosts because I am not able to reach the DNS server, when I added 193.168.1.1 it can at least resolve hosts, though I am sure their router is cheap. Seems like I am blocked at the gateway because I can ping it but not the DNS server or the router. |
Unless you are in Europe and are part of the IP address range 193.0.0.0/8 :
Code:
$ whois 193.168.1.200 Change your IP to 192 instead of 193. Watch what happens. |
Quote:
|
Quote:
|
Luxemborg != China.
And this route isn't going to China: Code:
8 DANTE.TenGigabitEthernet7-3.ar1.FRA4.gblx.net (207.138.144.46) 185.935 ms 176.342 ms 178.885 ms |
Quote:
|
Well, the router is not cheap, so that's not a worry. According to your arp, it appears to be a fairly pricey SME-100 NatPass in the price range of about $1800-$2500 US :
SME100.SME (193.168.1.1) at 00:17:16:00:24:58 [ether] on eth0 MAC Address Prefix Vendor 001716 Qno Technology Inc. It can be difficult to work with IT folks I realize. If they gave you a static IP, you need to know :
|
Further interest, your DNS servers:
193.168.1.1 210.22.70.3 193.168.1.200 The first one is your gateway (whose IP addr seems questionable) The second one is... what do you know... in Shanghai The third is your own linux box. Are you running a DNS server on this box? If so, use it as the primary DNS server. If not, remove it from the list of name servers. |
Quote:
IP address: 193.168.1.200 Netmask: 255.255.255.0 Network ID: [no response] Broadcast IP: [no response] Gateway/Router IP: 193.168.1.1 DNS Server: 210.22.70.3 210.22.70.227 |
Unless they have a VPN connection to somewhere in Luxemburg, and your network is part of that VPN, they are hijacking public IP space that belongs to somebody else. Perhaps they have answers...
|
Deidgar,
Why not you yourself try this: whois 193.168.x.x You will yourself understand there is some problems with ip address. Or that you really do not have complete information about it. If the ip range you are using are illegitimate, then you might just not get help here. As Mr.C said, you need to find out if there is some VPN connection that you are connected to. |
Noted, and I told the IT people here (they don't work for us, we're in a serviced office) that they should use the designated 192.168.x.x for private networks. Their response was "pffft".
Good news is the problem is now solved. Those lazy jokers hadn't updated their routing tables for the ip address they assigned. Waste of time! working fine now! |
All times are GMT -5. The time now is 11:10 PM. |