LinuxQuestions.org
Visit Jeremy's Blog.
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 05-18-2006, 06:34 PM   #1
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 782
Blog Entries: 8

Rep: Reputation: 158Reputation: 158
Static route issue


I've a FVS114 that I have established as a border firewall. I also have a Linksys WRT54GX4 that is serving DHCP IPs to hardwired and wireless devices on another subnet.

The diagram is here (hope it resolves correctly in this forum):

Code:
Cable Modem
           |
        FVS114 - - - - - - - - -WRT54GX4 (WAP and CAT5)
           |                                |
           |                                |
      10.150.1.0/24                  192.168.1.0/24
           |                                |
           |                                |
        5 CAT5                     3-5 WAP and 1 CAT5

Currently, I have no static routes added to either switch. When on a laptop, I can get each switch's admin interface, which means the 192.168.1.0/24 subnet can access the 10.150.1.0/24 subnet fine. The problem is that anything on the 10.150.1.0/24 can't access the 192.168.1.0/24 subnet. I can't ping or telnet to any machine on the WRT54GX4 subnet from the FVS114 side.

A friend told me I needed to add a static route on the Netgear. This friend is a network architect and a superb sys admin, so I know he's probably right. I did this before, long ago, but I've forgotten how I got this to work. I should have picked his brain more. Anyways, I've added a static route on the Netgear:

destination: 192.168.1.0
gateway: 10.150.1.1
metric: 2
active: yes
private: yes

I've went as far as changing private to yes and no and it doesn't make a difference (I didn't expect it to but I'm trying everything out of frustration).

I've read the FVS114 docs and I know I have the route correct. I've turned off the WRT54GX4's firewall and enabled NAT and DHCP. The Netgear has its FW on and NAT and DHCP is enabled. Based on this, the static route on the Netgear should be working. I shouldn't need a static route on the Linksys since there's none now and I can ping both networks fine from that subnet.

What little but crucial thing am I missing here??

TIA
 
Old 05-19-2006, 03:56 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok, so if you wish to route to that network via the internal router then you would want to disable the NAT. when the NAT is enabled it will not pass data to the internal nodes, it will only respond to connections on that network.

I would ask if you actually do need a seperate subnet here though. you can use the wireless, DHCP and switching capabilities of that secondary router without using it as a NAT router. you can easily have a single network across all devices - just connect an internal port up to that router instead of the single external port, and don't set the internal router as the gateway.
 
  


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
persistent static route ANU Linux - Networking 5 04-01-2012 07:23 PM
static route dvong3 Linux - Networking 1 01-25-2006 04:42 PM
Help with static route noinfo Linux - Networking 1 10-05-2005 11:40 AM
static route cox Linux - Networking 3 09-30-2003 02:22 PM
Static route to a router? Milkman00 Linux - Networking 9 02-09-2003 11:11 AM

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

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