LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba: fails with static ip. No prob dynamic (https://www.linuxquestions.org/questions/linux-networking-3/samba-fails-with-static-ip-no-prob-dynamic-534160/)

TotalLinuxNoob 03-03-2007 07:27 AM

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.

tredegar 03-03-2007 09:49 AM

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.

TotalLinuxNoob 03-03-2007 01:42 PM

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


All times are GMT -5. The time now is 11:30 AM.