LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-08-2008, 12:22 AM   #1
Nullivex
LQ Newbie
 
Registered: Jan 2008
Location: Colorado
Distribution: CentOS 5 & uBuntu 6.06, 7.10
Posts: 12

Rep: Reputation: 0
No Network Connectivity


Hello,

This is my first time posting a thread though I have used these forums 100's of times to setup and build servers from scratch. Such a great resource.

Anyways, tonight I am switching my in house server from a static IP on my router to a static IP with my ISP as I am allowed 5 IP addresses from them very good ISP.

None the less. My method was this. I switched my eth0 configuration to DHCP and let my ISP assign an IP then I used the information from my ISP to configure a static IP.

The problem is even the DHCP didnt allow me any connectivity though I was assigned an IP and nameservers without a hitch so I am guessing there is hiccup somewhere between my configuration and adatper getting out.

Here is some information.
netstat -nr
Dstination Gateway Genmask Flags MSS Window irtt iFace
72.174.140.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
168.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 72.174.140.1 0.0.0.0 UG 0 0 0 eth0

My ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
TYPE=ethernet
USERCTL=no
IPV6INIT=no
IPADDR=72.174.140.188
NETMASK=255.255.252.0
GATEWAY=72.147.140.1
PEERDNS=yes

My resolv.conf
nameserver 208.67.222.222
nameserver 208.67.220.220

I think I am missing something simple though using DHCP doesnt work either.

Thanks
 
Old 01-08-2008, 12:49 AM   #2
Nullivex
LQ Newbie
 
Registered: Jan 2008
Location: Colorado
Distribution: CentOS 5 & uBuntu 6.06, 7.10
Posts: 12

Original Poster
Rep: Reputation: 0
I got it worked out.

Apparently my ISP was assigning the wrong gateway I dont know why. Got it worked out though.

Though on another note I couldnt assign the IP my router was using even after releasing it from the router I couldnt connect to my gateway. Though if I plugged the router back in and did a DHCP renew it would grab the same ip with the same gateway.

Kind of interesting anyone know why. I am not an ISP buff by any means.

Thanks
 
Old 01-08-2008, 01:00 AM   #3
thedonkdonk
Member
 
Registered: Oct 2005
Location: San Antonio, TX
Distribution: Fedora, RHEL 6, CentOS 6, Debian 6, Arch, Gentoo
Posts: 136

Rep: Reputation: 16
Are you behind a router?
 
Old 01-08-2008, 02:09 AM   #4
Nullivex
LQ Newbie
 
Registered: Jan 2008
Location: Colorado
Distribution: CentOS 5 & uBuntu 6.06, 7.10
Posts: 12

Original Poster
Rep: Reputation: 0
I am not behind a router.

My cable modem has DHCP and I am allowed up to 5 ip addresses.
 
Old 01-08-2008, 02:13 AM   #5
Grub3r
LQ Newbie
 
Registered: Jan 2008
Posts: 16

Rep: Reputation: 1
Shouldn't BOOTPROTO have static as parameter?
 
Old 01-08-2008, 02:16 AM   #6
Nullivex
LQ Newbie
 
Registered: Jan 2008
Location: Colorado
Distribution: CentOS 5 & uBuntu 6.06, 7.10
Posts: 12

Original Poster
Rep: Reputation: 0
On my final working configuring configuration on used BOOTPROTO=static. But, it works with none. Not sure as to why though.
 
  


Reply

Tags
connectivity, ip, network, static


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
No Network Connectivity bumjubeo Linux - Newbie 3 02-14-2005 08:57 AM
Can't get network connectivity skint Linux - Networking 15 12-19-2004 02:30 PM
Network Connectivity inescapeableus Linux - Networking 0 11-28-2004 03:53 PM
No network connectivity beyond network card linux8 simplimarvelous Linux - Networking 1 02-18-2003 10:22 PM
No Network Connectivity dwest576 Linux - Networking 6 12-04-2002 01:59 PM


All times are GMT -5. The time now is 07:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration