Results 1 to 2 of 2

Thread: direct route problem

  1. #1

    direct route problem

    I tried using my pc as a router by creating a routing table on my pc
    using "route" command, but it doesn't seems to work my eth1 has an ip of
    192.168.1.139 this is connected to the 192.168.1.0 and to the linksys router , then my second eth0 has an ip of 192.168.2.1 this one is connected to a hub/switch
    where my l192.168.2.0 network is connected.

    The problem is the network 192.168.2.0 network could not ping any of the 192.168.1.0 network pc except for 192.168.1.139, btw i think i have enables ip forwarding in the /proc/sys/net/ipforward in /etc/sysconfig/network and also in /etc/sysctl.confm, I'm using Fedora core 1, kerne; 2.4.22-1.

    btw 192.168.1.1 is my linksys router connected to the internet.

    This is my routing table;
    ================================================== ===========

    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use
    Iface
    192.168.2.1 * 255.255.255.255 UH 0 0 0 eth0
    jonathan.proacc * 255.255.255.255 UH 0 0 0 eth1
    192.168.2.0 192.168.2.1 255.255.255.0 UG 0 0 0 eth0
    192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
    192.168.1.0 192.168.1.139 255.255.255.0 UG 0 0 0 eth1
    192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
    127.0.0.0 * 255.0.0.0 U 0 0 0 lo
    default 192.168.1.1 0.0.0.0 UG 0 0 0 eth1

    plz reply me as soon as possible
    thanks

  2. #2
    Administrator Moderator
    Member
    starfish's Avatar
    Join Date
    Apr 2004
    Posts
    141
    John,

    The problem probably isn't your Linux router. You need to make sure the servers / PCs on our 192.168.1.0 network need to have a route to the 192.168.2.0 network via the linux router 192.168.1.139

    Also, the servers / PCs on our 192.168.2.0 network need to have a route to the 192.168.1.0 network via the linux router 192.168.2.1.

    If the linux router is the default gateway for the server / PC, then this probably won't be required.

    Hope this helps.

Similar Threads

  1. ipv6 route problem......
    By dashang in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 11-16-2011, 06:47 AM
  2. Direct printing using PRINTSCREEN
    By Arun_adm in forum Redhat / Fedora
    Replies: 1
    Last Post: 02-27-2008, 09:47 AM
  3. Status of Direct Rendering Change to NO
    By topik99 in forum Redhat / Fedora
    Replies: 1
    Last Post: 01-13-2008, 02:45 AM
  4. Direct from Bubba Land
    By Fatal Error in forum General Chat
    Replies: 4
    Last Post: 03-18-2005, 09:22 PM
  5. Wine and Direct Connect
    By xin in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 06-06-2002, 08:20 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
  •