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


  Search this Thread
Old 03-03-2007, 07:27 AM   #1
Registered: Apr 2005
Distribution: Ubuntu
Posts: 109

Rep: Reputation: 15
Samba: fails with static ip. No prob dynamic

Hello fellow users

Whenever I set my Ubuntu install (E.E.) to use a static ip (so my router's port forwarding works) I can no browse my shared folders on the network. Even after restarting the smb service.

I can still ping the ip on the network (from a win machine) but pinging the hostname fails when the ip is static

Any tips?

many thanks.
Old 03-03-2007, 09:49 AM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,057

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
What IP were you allocated by dhcp when the connection was working?
What have you chosen for your static IP?
What is the IP of the win machine?

You may have a problem with your netmask.
Old 03-03-2007, 01:42 PM   #3
Registered: Apr 2005
Distribution: Ubuntu
Posts: 109

Original Poster
Rep: Reputation: 15
Thanx! The netmask was indeed the problem. Ubuntu auto completes the netmask info after entering the ip and I didn't think twice about it.

Whats most puzzling tho... is how from such little info you gathered the net mask was the cause... :S


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
static and dynamic libraries nesta Programming 11 09-04-2011 08:36 PM
Dynamic IP to Static Temujin_12 *BSD 2 06-10-2005 04:58 PM
Static vs Dynamic Big Al Linux - Networking 2 12-08-2003 03:10 PM
NS with static or dynamic IP cijunet Linux - Networking 3 05-08-2003 11:04 PM
Static/dynamic linking ugenn Linux - Software 0 12-15-2002 11:01 PM

All times are GMT -5. The time now is 11:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration