Networking Forums

Networking Forums > Computer Networking > Linux Networking > routing/gateway issue

Reply
Thread Tools Display Modes

routing/gateway issue

 
 
Rachel McPhail
Guest
Posts: n/a

 
      11-18-2003, 09:45 PM
I'm setting up a linux box with Red Hat 9. I have DSL so I want to
setup a firewall and run an internal network.

The external nic gets an ip from my router.

The internal nic has a static ip 192.168.1.1. From the Linux box I
can get to the internet without a problem.

On the internal nic I setup DHCP. I connected my laptop to the
internal nic with a crossover cables. It appears to be working. I
get all the necessary information that I need. From the laptop, I can
ping the Linux box, both nics. But I can not get to the internet. So
while my internal network is working great, I need to get to the
internet.

Is there somewhere in the network configuration that I need to
identify the gateway? I'm missing something, but I don't know what.
Any ideas/suggestions would be great.

Thanks,

Rachel
 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      11-19-2003, 01:38 AM
On 18 Nov 2003 14:45:58 -0800, Rachel McPhail <(E-Mail Removed)> wrote:
> I'm setting up a linux box with Red Hat 9. I have DSL so I want to
> setup a firewall and run an internal network.
>
> The external nic gets an ip from my router.


Is the external nic to a multiport router, or just a dsl modem? Is your
your external Linux nic a private IP (what range)?

> The internal nic has a static ip 192.168.1.1. From the Linux box I
> can get to the internet without a problem.
>
> On the internal nic I setup DHCP. I connected my laptop to the
> internal nic with a crossover cables. It appears to be working. I
> get all the necessary information that I need. From the laptop, I can
> ping the Linux box, both nics. But I can not get to the internet. So
> while my internal network is working great, I need to get to the
> internet.
>
> Is there somewhere in the network configuration that I need to
> identify the gateway? I'm missing something, but I don't know what.
> Any ideas/suggestions would be great.


The laptop needs a gateway to the internal nic of the Linux router, and
the Linux router needs ip_forward enabled. But the dsl router
probably knows nothing about your internal network behind the Linux box,
so you either need to enable masquerading on the Linux box, or something a
bit more difficult to explain using different netmasking and proxy_arp so
everything behind your dsl router ends up within the 255.255.255.0 network
it is expecting on its LAN.

--
David Efflandt - All spam ignored http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gateway routing problem villa.alberto@gmail.com Linux Networking 2 11-21-2008 09:46 PM
Is my Router/Gateway routing OK? Michael Badt Linux Networking 1 11-27-2005 07:02 PM
WAP55AGv2 Default Gateway routing issue Scott Nelson - Wash DC Wireless Internet 0 05-28-2005 04:08 PM
3 NIC IP routing issue & local dhp client issue Grimmo' Windows Networking 6 05-04-2005 10:19 AM
Simple gateway routing and VPN? Enta Linux Networking 0 11-24-2004 09:56 AM



1 2 3 4 5 6 7 8 9 10 11