FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 



Ubuntu 8.10 (server) static IP issues

 
Post new topic   Reply to topic    [TweakNews.net Forum] Forum Index -> Operating Systems
View previous topic :: View next topic  
Author Message
chef
TweakNOOB


Joined: 18 Feb 2004
Posts: 187

PostPosted: Fri Dec 12, 2008 8:47 pm    Post subject: Ubuntu 8.10 (server) static IP issues Reply with quote

I recently installed Ubuntu 8.10 server and loaded the desktop to it. I'm trying to configure it with a static IP (for use at my university). When using it at home, it works fine with DHCP so I know the card is fine.

Following the many online tutorials I removed the network manager, changed the file /etc/network/interfaces to contain the IP, netmask, and gateway. I changed the resolv.conf file so it has my schools DNS servers.

When I try "sudo ifup eth0" I get the following error:
SIOCADDRT: No such process
Failed to bring up eth0.

If I comment out the gateway address the "sudo ifup eth0" appears to work. I'm going to test the connectivity on Monday. The weird thing is that even if I can't get the ifup eth0 command to work, I can ping other IP's in the building but can't see any websites.

Any ideas on this one? Are gateway addresses not needed in certain cases in Linux?
Back to top
View user's profile Send private message
Google
Sponsor





PostPosted: Fri Dec 12, 2008 8:47 pm    Post subject: Advertisement

Back to top
chef
TweakNOOB


Joined: 18 Feb 2004
Posts: 187

PostPosted: Fri Dec 19, 2008 1:54 pm    Post subject: Solved Reply with quote

For whatever reason, if anyone else out there is having this same issue, changing the subnet mask to 255.255.255.0 gets everything work. I even still had an error message when issuing "sudo /etc/init.d/networking restart:" but it works. Totally weird since all the other pc's in the building use a different subnet.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    [TweakNews.net Forum] Forum Index -> Operating Systems All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB3 ©