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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-17-2005, 02:20 AM
|
#1
|
LQ Newbie
Registered: Sep 2004
Posts: 4
Rep:
|
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
|
|
|
01-17-2005, 02:58 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
01-17-2005, 03:18 AM
|
#3
|
LQ Newbie
Registered: Sep 2004
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
01-17-2005, 03:28 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
01-17-2005, 03:34 AM
|
#5
|
LQ Newbie
Registered: Sep 2004
Posts: 4
Original Poster
Rep:
|
will do thx cool
|
|
|
01-18-2005, 03:12 AM
|
#6
|
LQ Newbie
Registered: Sep 2004
Posts: 4
Original Poster
Rep:
|
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
|
|
|
01-18-2005, 03:14 AM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Sweeeeet, gotta love knowing how to do things on your own, just in case your lazy tools don't do it for you
Cool
|
|
|
All times are GMT -5. The time now is 07:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|