LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-19-2004, 09:55 PM   #1
RaptorSqueak
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Slackware losing connection to IPCop gateway


So I'm pretty new to the realm of Linux and have run into a problem, hoping that someone more experienced and help me out.

Setup:
Firewall (2): Old Pentium box running IPC op v 1.4.2
3Com III NIC (Green interface)
Linksys NIC (Red interface)
Firewall (1): ActionTec 701g wireless router (wireless off)
Personal Comp: Dual boot XP Pro / Slackware 10
Linksys NIC

Problem:
I've been wading my way through trying to learn about firewalls / servers and all the fun that can be had with them. I've done the Debian firewall and worked a bit with the firewall scripts, but decided to use a distro firewall (IPCop). The set up on the Firewall (2) is that the Red interface takes a static internal IP that Firewall(1) is statically routing to it (192.168.0.xxx). That part works. Then the green interface is not doing DHCP (although I had it on and it didn't seem to make much difference). I statically route to my computer a different internal ip (192.168.24.xxx). I have set up XP to use a static IP (the same that is set on Firewall(2)) and to use Firewall(2) as its gateway & DNS. On XP everything works sweet, no problems.

I configured my Slackware using netconfig to also take the static IP and same gateway / DNS setup. My issue is when I try to access the Internet I get nothing, but if I ping Firewall(2) it'll show a connection and then I can get on the Internet. After a while I no longer have the net so I ping and get it back, and so on and so forth on and on (in fact I just had to do it to preview the post). I imagine there is some service that is supposed to be running but isn't. But that's where I'm lost. Any ideas?
 
Old 12-20-2004, 12:31 AM   #2
jarib
Member
 
Registered: Jun 2003
Location: British Columbia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
in a terminal type
man route

ipcop has pretty good forum support as well
 
Old 12-20-2004, 08:11 PM   #3
RaptorSqueak
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
route comes up with the following:

Destination_____Gateway_____Genmask________Flags___Metri___Ref__Use_Iface
192.168.0.0____*_____________255.255.255.0___U_______0_______0____0____eth1
192.168.24.0___*_____________255.255.255.0___U_______0_______0____0____eth0
default_________192.168.0.1___0.0.0.0_________UG______0_______0____0____eth1

So it appears that there is a route to the 192.168.24.xxx network (right?). Good advise for checking an IPCop forum, I do that as well. Man that table looks terrible...sorry bout that.
 
Old 12-20-2004, 08:52 PM   #4
jarib
Member
 
Registered: Jun 2003
Location: British Columbia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
I'm also using ipcop but it's a little simpler setup
Modem->IPCop->hub->computers
My route
Destination..........Gateway...............Genmask............Iface
192.168.0.0.......*..........................255.255.255.0.....eth0
loopback............*..........................255.0.0.0.............lo
default................ipcop.localdoma....0.0.0.0................eth0

Last edited by jarib; 12-20-2004 at 08:57 PM.
 
Old 12-31-2004, 11:37 PM   #5
RaptorSqueak
LQ Newbie
 
Registered: Dec 2004
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
Ok to close this one up I figured I'd let everyone know what I did.

First I talked to some Linux people at my work and finally found one person that had the same problem as me. What he did to fix the problem was to set up a cron job that ran every 5 minutes to let the router know that the computer exists. He explained the reason it was probably working on Windows was that XP was hitting the router with out me knowing (sure enough it was going out on port 138? one of them). So I suppose this would have worked.

Instead what I did was made my firewall 2 the gateway for my entire network and firewall 1 as the gateway for firewall 2 with an orange nic for my DMZ in firewall 2. Started up DHCP and the rest is history, it works, good times. Now I have to go and figure out my next problem. You'll probably see it soon

-RaPtOrSqUeAk-
 
  


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
losing connection with static ip redss Linux - Networking 1 01-29-2005 05:17 AM
WinXP losing gateway configuration to SME 5.6 after IP Config Change edward57 Linux - Networking 0 05-27-2004 07:11 AM
Losing network connection drburgh66 Debian 10 04-27-2004 03:12 PM
Keep Losing Network Connection pojokunam Linux - Networking 4 04-23-2003 04:28 PM
Losing Connection syxxpac023 Linux - Networking 0 10-11-2001 07:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:59 PM.

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