[SOLVED] Static IP Address not connecting to the internet Ubuntu 9.04
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi, I just installed Ubuntu 9.04 on my desktop. I had networking working for a while under DHCP after I installed Wicd (and uninstalled Gnome Network Manager) but now that I've set up a static IP address (that campus IT gave me, I'm on a college network), it has ceased to connect to the internet. I cannot use Firefox or ping any external servers (eg: www.google.com) or internal computers (my laptop).
It can be that it's not that, but just on the first look, I find something strange in the addresses that you were given. Can you check IP addresses again with your school?
We will refer to the first block as "24-bit block", the second as "20-bit
block", and the third as "16-bit" block". Note that the first block is
nothing but a single class A network number, while the second block is a set
of 16 continuous class B network numbers, and the third block is a set of 255
continuous class C network numbers.
So your school's network isn't in any of the three ranges for a private LAN. I think this is going to cause you BIG problems.
the problem is at your default gateway. maybe your not authorized to use it, or its an incorrect gateway.
Hmm...could be. I tried using the gateway from the computer's DHCP settings, but I still get the exact same ping results.
Quote:
out of interest do you have connectivity around your campus? can you ping your dns servers? (or anything else inside your campus network?)
Not while the computer is using these static settings. I can't ping anything. When I switch to DHCP, I have no problem at all--I can use firefox, ping anything, etc.
okeefm@okeefmdeb:~$ ping 128.113.152.254
PING 128.113.152.254 (128.113.152.254) 56(84) bytes of data.
64 bytes from 128.113.152.254: icmp_seq=1 ttl=255 time=1.26 ms
64 bytes from 128.113.152.254: icmp_seq=2 ttl=255 time=1.01 ms
64 bytes from 128.113.152.254: icmp_seq=3 ttl=255 time=1.10 ms
64 bytes from 128.113.152.254: icmp_seq=4 ttl=255 time=1.99 ms
64 bytes from 128.113.152.254: icmp_seq=5 ttl=255 time=1.07 ms
64 bytes from 128.113.152.254: icmp_seq=6 ttl=255 time=0.996 ms
64 bytes from 128.113.152.254: icmp_seq=7 ttl=255 time=1.07 ms
64 bytes from 128.113.152.254: icmp_seq=8 ttl=255 time=0.808 ms
64 bytes from 128.113.152.254: icmp_seq=9 ttl=255 time=1.00 ms
^C
--- 128.113.152.254 ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8005ms
rtt min/avg/max/mdev = 0.808/1.147/1.992/0.322 ms
Oddly enough, while I can ping any internal (128.113) IP, I can't ping anything outside (www.google.com). I'm pretty sure this is the result of firewalling at the campus pipeline to the internet, since it's the same way on my laptop. I can get to websites on the desktop while using DHCP, so it doesn't have any connectivity issues.
Yes, 128.113.192.254 is my gateway on DHCP. Ping results while on DHCP:
Code:
okeefm@okeefmdeb:~$ ping 128.113.192.254
PING 128.113.192.254 (128.113.192.254) 56(84) bytes of data.
64 bytes from 128.113.192.254: icmp_seq=1 ttl=255 time=0.683 ms
64 bytes from 128.113.192.254: icmp_seq=2 ttl=255 time=0.617 ms
64 bytes from 128.113.192.254: icmp_seq=3 ttl=255 time=0.566 ms
64 bytes from 128.113.192.254: icmp_seq=4 ttl=255 time=0.609 ms
64 bytes from 128.113.192.254: icmp_seq=5 ttl=255 time=0.719 ms
64 bytes from 128.113.192.254: icmp_seq=6 ttl=255 time=0.624 ms
64 bytes from 128.113.192.254: icmp_seq=7 ttl=255 time=0.594 ms
64 bytes from 128.113.192.254: icmp_seq=8 ttl=255 time=0.624 ms
^C
--- 128.113.192.254 ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 6999ms
rtt min/avg/max/mdev = 0.566/0.629/0.719/0.052 ms
when I ping 212.100.160.51 on static IP:
Code:
okeefm@okeefmdeb:~$ ping 212.100.160.51
PING 212.100.160.51 (212.100.160.51) 56(84) bytes of data.
From 128.113.158.58 icmp_seq=1 Destination Host Unreachable
From 128.113.158.58 icmp_seq=2 Destination Host Unreachable
From 128.113.158.58 icmp_seq=3 Destination Host Unreachable
^C
--- 212.100.160.51 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5030ms
, pipe 3
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.