RE: Help with routing


Subject: RE: Help with routing
From: Barry Sparenborg (sparenborgb@hadadycorp.com)
Date: Thu Apr 05 2001 - 07:00:57 MDT


Do you have forwarding turned on? For some reason I had to issue a command
in a startup script to set forwarding to on. Check
/proc/net/ipv4/ip_forward (I'm not sure of the exact path, not by my machine
today) but there should be a 1 in that file. This will turn forwarding on
It always resets back to 0 each time I shut the machine down so I had to put
this command in the startup script:
 echo "1" > /proc/net/ipv4/ip_forward (again not sure of exact path)

Barry

        -----Original Message-----
        From: John Duarte [SMTP:john@keylitho.com]
        Sent: Wednesday, April 04, 2001 5:23 PM
        To: yellowdog-general@lists.yellowdoglinux.com
        Subject: RE: Help with routing

        I don't mean to be such a newbie about this, but I haven't worked
with
        routing before.

        I added the ipchain provided. I can now ping the 128.129.110.253
from a
        workstation on the 192.168.1.0 side, but I can't ping any machines
on the
        actual 128.129.110.0 network.

        Is there something else I am missing?

        When I execute a 'route' or 'ipchains -L' command on the router box
it
        takes a long time to execute.

>ipchains -A forward -p any -b -s 192.168.1.0/24 -d 128.129.110.0/24
-j
>ACCEPT
>
>Which is the actual forwarding Rule for the Kernel!
>
>See ya
>
>PS Hope this is what you were looking for!
>
>> ----------
>> From: John Duarte
>> Reply To: yellowdog-general@lists.yellowdoglinux.com
>> Sent: Mittwoch, 4. April 2001 21:56 Uhr
>> To: yellowdog-general list
>> Subject: Help with routing
>>
>> I am trying to setup a router, using yellow dog, between two
networks at
>> our location.
>> The two network IPs are:
>> 192.168.1.0
>> 128.129.110.0
>>
>> I have two NICs in my yellow dog box.
>>
>> I have turned on IP forwarding.
>>
>> My routing table goes like this:
>>
>> Destination Gateway Genmask Flags Metric
Iface
>> 192.168.1.3 * 255.255.255.255 UH 0 eth0
>> 128.129.110.253 * 255.255.255.255 UH 0
eth1
>> 192.168.1.0 * 255.255.255.0 U 0 eth0
>> 128.129.110.0 * 255.255.255.0 U 0
eth1
>> 127.0.0.0 * 255.255.255.0 U 0
lo
>> default 192.168.1.1 0.0.0.0 UG 0
eth0
>>
>> From the Yellow Dog box I can ping both networks, but I can't
ping across
>> the networks from one workstation to another. I do have a route
to the
>> router on my workstation. Doing a traceroute shows packets going
to the
>> router but not crossing over.
>>
>> Anyone have any advise?
>>
>> ---------------------------
>> John Duarte
>> Key Lithograph
>> 2050 NW Vaughn St.
>> Portland, OR 97209
>> Ph: 503-222-9191
>> Fx: 503-248-9974
>> e-mail: john@keylitho.com
>> ---------------------------
>>
>>
>>

        ---------------------------
        John Duarte
        Key Lithograph
        2050 NW Vaughn St.
        Portland, OR 97209
        Ph: 503-222-9191
        Fx: 503-248-9974
        e-mail: john@keylitho.com
        ---------------------------
        



This archive was generated by hypermail 2a24 : Thu Apr 05 2001 - 07:11:54 MDT