LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-07-2003, 10:00 PM   #1
eclipsetech
LQ Newbie
 
Registered: Mar 2003
Location: Clinton
Posts: 1

Rep: Reputation: 0
routing help


I just installed a DSL mode and also a NetGear Cable/DSL VPN Firewall unit that sits between the cable/dsl mode and my home computers.

I plugged the unit in and it work with my Windows based machines. They all have private network addresses of 192.168.0.x I can surf the net no problem.

Where i am having an issue is with a Linux box that I plan to run a web server on. My ISP provided me with one static IP address e.g 68.16.140.145 to use. The ip of my NetGear unit is 192.168.0.1. I set the ip of the eth0 device on the Linux box to the static IP that my provider gave me (68.16.140.145). I have tried to create a variety of routes trying to get the linux box and the NetGear unit to talk. I want the Linux boxes default route to go to the NetGear firewall unit. No matter what routes I have tried, I cannot ping the NetGear unit from the Linux box even though I have tried to create a static route from the Linux box to the 192.168.0.1 address using eth0. I have also tried adding a route add -net 192.168.0.0 default gw 68.16.140.145 (not sure if i need this or if just a static route will do). When the web site is hit from externally, I will want all traffic routed by default back through the eth0 device.

Can someone tell me what route(s) I need to set up so that these two units can talk to each other? Also, will these routes stay permanent or is there some other file that I also need to modify? I have been using ifconfig to try and set this up, but I have not been successful at this point.


Any help greatly appreciated

Thanks

Dave
 
Old 03-08-2003, 01:08 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
From my understanding, if your issued a static IP, wouldn't your router be getting that or do you have actually two IP addresses being issued to you. Maybe one for DHCP and another for static ?

Also check with your router documentation if it can handle passing a static IP directly from an ISP to one of your machines.
 
  


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
routing jmono Linux - Networking 5 02-07-2006 06:20 AM
Routing gtkmike Linux - Networking 1 11-13-2003 09:21 AM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 03:11 PM
Routing in RH 8.0 Hybrid Blue Linux - Networking 2 10-12-2003 05:41 PM
Routing jimval7 Linux - Networking 3 02-08-2002 04:06 PM

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

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