Results 1 to 2 of 2

Thread: Router setup

  1. #1

    Router setup

    Hello,

    I am trying to setup a linux box to act as a router for two different networks. I have two NICs in the machine and have enabled IP forwarding for the purpose of routing.

    I have eth0 setup as 192.168.2.30/24 with a gateway of 192.168.2.1 to reach the Internet. On my second NIC (eth1), I have it configured as 192.168.10.1/24. I would like for the 192.168.10.0 network to be able to reach the Internet via the 192.168.2.0 network.

    What do I need to set the gateway to for eth1? Also here are the entries in my routing table:

    Dest. GW Netmask Iface
    192.168.2.0 * 255.255.255.0 eth0
    192.168.10.0 * 255.255.255.0 eth1
    192.168.2.0 192.168.2.30 255.255.255.0 eth0
    192.168.10.0 192.168.10.1 255.255.255.0 eth1
    default 192.168.2.1 0.0.0.0 eth0

    I have a laptop connected to eth1 and I have assigned it IP address of 192.168.10.10. I can ping 192.168.10.1 and 192.168.2.30 but nothing else. From the router I can ping 192.168.10.1 but not the laptop. Where are my problems?

    Thanks.

  2. #2
    I got it figured out. The XP SP2 firewall was the cause of the problem.

Similar Threads

  1. Unable to setup a NIS server setup on CentOS system
    By swatidas in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 01-19-2010, 02:42 PM
  2. Unorthodox Network Setup: Ubuntu Gateway, Wireless Router, PCs
    By MRod in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 12-20-2007, 09:08 AM
  3. New Router setup unable to web browse..
    By Nu-B in forum Linux - Hardware, Networking & Security
    Replies: 9
    Last Post: 03-05-2006, 04:49 PM
  4. Router Setup
    By GhostDawg in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 09-07-2003, 09:44 PM
  5. router
    By seamonkey in forum Linux - General Topics
    Replies: 5
    Last Post: 07-24-2001, 07:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •