LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2005, 01:20 AM   #1
biscuitbarrel
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
cant contact the outside world... :(


hi peeps,

im having trouble with one of my linux boxs contacting the outside world.
the box in question is running suse 9.1 with samba 3.x.
its role is file/printer server for the homogene home network. i'm using fixed ip addreses with the host names and ip addresses saved in the host file.
the dns addresses are also entered (router address, and 2 external)
samba is running and working perfectly.

the problem is from the samba box no outside ip can be reached (internal subnet is 192.168.x.x)
im not sure if this is samba typical that all non internal ip addresses are ignored or if i forgot to do something. The samba box has 2 network cards. the second one isnt configured correctly yet as i wish to use the box as squid/proxy/mail server and as such nead to reach the outside world:
i believe this configuration should work with the samba box in a dmz without the needs for buying an expensive router with dmz function (the cheaper routers on the market tend to cover the fact that their dmz function is really just an unprotected host port)

i.e.:
WWW
|
router (192.168.1.1)
|
samba (192.168.1.200; 192.168.0.200)
|
(switch/router)
|
internal house network (192.168.0.x)

so my questions are:


a) what did i forget/ bugger up/ miss?
b)anything wrong with my topology, any improvements?


thx
 
Old 01-17-2005, 01:58 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
So your router's aren't connected directly to each other, but go through the SAMBA box first? This sounds odd to me, but maybe that's normal practice and I just am out of the loop

If it's possible, I'd temporarily connect another regular box to the router that seperates the world from your samba box and try surfing with that.

Generally when I'm troubleshooting network problems (which I'm sure you have tried, but just to cover it) I start with pinging google and then google's IP. If neither work, I look at my network card, ensure it has an IP, and ensure I can ping my router. If the card has an IP, can ping the router, and even other boxes on the LAN, then I move onto router. Is it denying me for a reason I can fix, or is there something physically wrong with it? If the machine is setup as the DMZ host, is it blocked somehow from traffic one way or the other, does another router produce the same the result?

Cool
 
Old 01-17-2005, 02:18 AM   #3
biscuitbarrel
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
sorry, your quite correct, the routers are connected together, the samba box into the first router, rest of the net in the second. my bad.

at the moment (at least until i can find my error) all the boxs are now in the same subnet (192.168.0.x), plugged into the one router (192.168.0.1)

im getting the same result, intern network fine
outside nothing. although i think i just pinged via host address and not using ip address (*sigh*)

im thinking it might be a dns problem (error from ping = no host found), i entered the data via yast and not directly by editing the files. i thought i checked them, but i'll recheck when i get home.
 
Old 01-17-2005, 02:28 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Good idea, also, while you are at it, take down your hosts file, just temp. Move it to /tmp or something to ensure that you aren't resolving something funny.

Cool
 
Old 01-17-2005, 02:34 AM   #5
biscuitbarrel
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
will do thx cool
 
Old 01-18-2005, 02:12 AM   #6
biscuitbarrel
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
fixed:

guess one becomes too lazy when you use yast...*sigh*

the dns entry via yast wasnt being written to the /etc/resolv.conf file for some reason.
file vim'd, everything hunkydorey.
thx
 
Old 01-18-2005, 02:14 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Sweeeeet, gotta love knowing how to do things on your own, just in case your lazy tools don't do it for you

Cool
 
  


Reply



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
Need to contact Linus! dinolinux General 15 07-02-2005 03:31 AM
Contact Manager ricdave Linux - Software 0 11-21-2004 01:16 AM
Server loses contact with outer world Statoilroffe Linux - Networking 0 03-29-2004 11:23 AM
contact mandrake? Rom Raptor Mandriva 1 03-27-2004 11:31 AM
world writeable files will not stay world writeable antken Mandriva 1 03-02-2004 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration