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 11-13-2004, 05:09 PM   #1
Homer Glemkin
Member
 
Registered: Nov 2004
Distribution: Ubuntu, CentOS
Posts: 50

Rep: Reputation: 15
Question Problems routing through a Lynksys firewall router


I'm running SuSe on one end and Win Xp on the other Both can Ping the router but not each other. I tried a few settings but nothing has worked. Does anyone know what I might need to do. The Lynksys router is also the DHCP server, so Win XP gets it's ip from there. The internal IP of the SUSe NIC is 192.168.5.2. The router is 192.168.1.1. I disabled the firewall from the router also.
Thanks,
Homer
 
Old 11-13-2004, 07:34 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Quote:
SuSE
192.168.5.2
Router
192.168.1.1
Are you positive or is this a typo?
Are you pinging by IP address or hostname?
 
Old 11-13-2004, 08:00 PM   #3
Homer Glemkin
Member
 
Registered: Nov 2004
Distribution: Ubuntu, CentOS
Posts: 50

Original Poster
Rep: Reputation: 15
typo SUSe is 192.168.1.2, I can ping the router by IP address from both sides of the router, but not through it.
 
Old 11-14-2004, 11:53 AM   #4
scottman
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware, FreeBSD, LFS
Posts: 72

Rep: Reputation: 15
You could always try traceroute or nmap -P0 to see if any other protocols get through. You may not have these installed though. Traceroute users high udp ports unless specified, nmap you would have to do some reading on the syntax, but you can test all the TCP suites, TCP/UDP/ICMP. Ping is just one part of ICMP protocol. Also try using different ports or the router to make isnt an internal hardware issue. Example commands would be:

# traceroute <YOUR XP BOX IP>

# nmap -P0 <YOUR XP BOX IP>

Also, firewalls on both operating systems can be configured to allow outgoing pings, but block incoming ping requests, as these are two seperate ICMP types. Double check iptables, and the other firewall to make sure you allow replys from that computer.
 
Old 11-14-2004, 03:45 PM   #5
Homer Glemkin
Member
 
Registered: Nov 2004
Distribution: Ubuntu, CentOS
Posts: 50

Original Poster
Rep: Reputation: 15
Nothing seems to be getting through the router, I'm thinking its an internal setting or option needed to be set on the router.
 
Old 11-14-2004, 03:55 PM   #6
pav
LQ Newbie
 
Registered: Nov 2004
Location: UK
Distribution: Suse 10
Posts: 11

Rep: Reputation: 0
I seem to remember reading somewhere that the Linksys can only be configured using Internet Explorer. I tried to alter the settings on my Linksys WAG54G recently from an iMac, and although it seemed to accept my changes, they didn't 'stick' when I checked later from the XP machine.
So it could be that you think you set it up, but really you haven't, if you see what I mean.

pav
 
Old 11-14-2004, 04:18 PM   #7
crep
Member
 
Registered: Aug 2004
Location: US
Distribution: Fedora, FBSD, Solaris
Posts: 46

Rep: Reputation: 15
The problem is that the linksys sends out DHCP's with a subnet mask of 255.255.255.0. That means that the XP box can only talk to IPS in the 192.168.1.* range. Set static IP's for both with 255.255.0.0 netmasks, or make both boxes in the 192.168.1.* range.

Have fun,

-Jack C
http://www.crepinc.com
 
Old 11-15-2004, 08:23 AM   #8
Homer Glemkin
Member
 
Registered: Nov 2004
Distribution: Ubuntu, CentOS
Posts: 50

Original Poster
Rep: Reputation: 15
I do have all the IPs set at 192.168.1.* range. I had configured it using IE, also. I also tried advance routing it in the router settings with 192.168.1.2(SuSE box) as the destination and 192.168.1.1(LynkSYS router) as the gateway but that didn't work either.
 
Old 11-15-2004, 01:42 PM   #9
crep
Member
 
Registered: Aug 2004
Location: US
Distribution: Fedora, FBSD, Solaris
Posts: 46

Rep: Reputation: 15
Re: Problems routing through a Lynksys firewall router

So it's like this?
-XP: 192.168.1.3
-Linux: 192.168.1.2
-Linksys: 192.168.1.1

Is the netmask 255.255.255.0 on all? Is there a personnal firewall on the XP box? That could do it.

Last edited by crep; 11-15-2004 at 01:45 PM.
 
Old 11-15-2004, 02:03 PM   #10
Homer Glemkin
Member
 
Registered: Nov 2004
Distribution: Ubuntu, CentOS
Posts: 50

Original Poster
Rep: Reputation: 15
The XP Box does have Norton Internet Security but it has been disabled. Hopefully soon to be removed.

-XP: 192.168.1.5 - Dhcp from the router, gateway is 192.168.1.1(router ip)
-Linux: 192.168.1.2 -Static
-Linksys: 192.168.1.1 -Static Ip address, gateway is 192.168.1.2(Linux ip).
The netmask on all is 255.255.255.0.

-Can't connect from Xp and Linux either way, but I can reach the Router from both sides
-Firewall has been disabled on the Lynksys router.
I appreciate your help.
Thanks,
Homer
 
Old 11-15-2004, 03:20 PM   #11
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
Quote:
Originally posted by Homer Glemkin
The XP Box does have Norton Internet Security but it has been disabled. Hopefully soon to be removed.

-XP: 192.168.1.5 - Dhcp from the router, gateway is 192.168.1.1(router ip)
-Linux: 192.168.1.2 -Static
-Linksys: 192.168.1.1 -Static Ip address, gateway is 192.168.1.2(Linux ip).
The netmask on all is 255.255.255.0.

-Can't connect from Xp and Linux either way, but I can reach the Router from both sides
-Firewall has been disabled on the Lynksys router.
I appreciate your help.
Thanks,
Homer
I hope that this is a typo

"-Linksys: 192.168.1.1 -Static Ip address, gateway is 192.168.1.2(Linux ip)."

You have made a big loop and that will not work.

Linksys 192.1.1.1
XP what ever dhcp gives it
Linux static ip 192.168.1.2 gateway 192.168.1.1

Do you have DSL or dial up? Your linksys is connected to you DSL or Cable modem right?

Last edited by phatboyz; 11-15-2004 at 03:21 PM.
 
Old 11-15-2004, 07:10 PM   #12
NetAX
Member
 
Registered: Mar 2004
Location: Boston, MA
Distribution: SuSE Linux Open/Enterprise, Red Hat, Ubuntu
Posts: 147

Rep: Reputation: 17
Its pretty obvious that one or both of the computers have a firewall running somewhere.

Are you using XP Service Pack 2?(Microsoft's firewall doesn't allow other computers to ping it. I know that for a fact because other computers in my network cant access it unless i disable the firewall. I was able to ping it before the upgrade.)

How did you setup the firewall in SuSE? Did you set the interface connecting to the router as the external interface in the configuration wizard?

Last edited by NetAX; 11-15-2004 at 07:11 PM.
 
Old 11-15-2004, 07:23 PM   #13
crep
Member
 
Registered: Aug 2004
Location: US
Distribution: Fedora, FBSD, Solaris
Posts: 46

Rep: Reputation: 15
OK lets get this straight: the gateway for the router should be some address of your ISP: and the firewall should not be disabled. The packets are using the switching function, not the routing.

It's definatly something up with your boxes.
 
Old 11-17-2004, 07:45 AM   #14
Homer Glemkin
Member
 
Registered: Nov 2004
Distribution: Ubuntu, CentOS
Posts: 50

Original Poster
Rep: Reputation: 15
I got cable access. setup is as follows:

Cable modem -------SUse eth1 -----Suse eth0--------Lynksys router --------xp box sp1
dhcp 192.168.1.2 192.168.1.1 dhcp from router
gateway: 192.168.1.2 192.168.1.1
subnet mask 255.255.255.0 255.255.255.0 255.255.255.0

--Maybe I can't set it up this way??

-made a static route to router from the Suse box (In Suse routing)
destination 192.168.1.1 gateway 192.168.1.2. subnet 255.255.255.0 device eth0

-I haven't installed sp2 or ever will

-Suse's firewall is setup using the default gui, which I modified to allow eth0 as trusted.
-Lynksys router firewall has been disabled.
-Norton disabled on xp box.

-I can the ping outside address and connect on the internet with the SuSe box.
-I can ping the router from both sides, but not each other (pinging from either machine)

I really appreciate all your help,
Thanks,
Homer
 
Old 11-17-2004, 08:01 AM   #15
crep
Member
 
Registered: Aug 2004
Location: US
Distribution: Fedora, FBSD, Solaris
Posts: 46

Rep: Reputation: 15
Assuming you set up iptabes and such as well as NAT and forwarding, the linksys also expects all sorts of crap in it's DHCP assignment: it wants to know the gate way, net mask, etc, all through DHCP as I recal.

I've never acutally done this and don't know if it works, but that's what a friend told me.
 
  


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
Lynksys router, no DHCP. Have to use IP manualy, some one give me low down. RHLinuxGUY Linux - Networking 1 07-08-2004 02:16 AM
Problems setting up Mandrake Firewall/Router.... EDarkness Mandriva 5 10-29-2003 08:57 PM
LAN over Lynksys router between RH9 and two Win2KPro machines GTBlackwell Linux - Networking 4 08-28-2003 12:12 AM
lynksys router.... secure? adam_boz Linux - Security 10 10-25-2002 10:16 PM
lynksys router.... static ip? adam_boz Linux - Networking 7 09-25-2002 03:47 AM

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

All times are GMT -5. The time now is 03:28 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