[Click] newbie configuration jumpstart

Venky Rama venky2rama at yahoo.com
Thu Mar 2 00:41:27 EST 2006


hello beyers. i have simple setup - 1 computer
(192.168.20.20) connecting to (192.168.20.10 eth0)
router which has interface (192.168.10.10 eth1)
connecting to another computer (192.168.10.20).

i cannot ping from 20.20 to 10.20 when click is
running on router but can ping no problem when i have
ip forwarding enabled on kernel without click running.

here is config file below. any suggestion would be
appreciated!
------------------------------------------------------

// Generated by make-ip-conf.pl
// eth0 192.168.20.10 00:0E:2E:53:7F:2B
// eth1 192.168.10.10 00:0E:2E:58:31:EA
                                                      
                                                      
               
// Shared IP input path and routing table
ip :: Strip(14)
    -> CheckIPHeader(INTERFACES
192.168.20.10/255.255.255.0
192.168.10.10/255.255.255.0)
    -> rt :: StaticIPLookup(
        192.168.20.10/32 0,
        192.168.20.255/32 0,
        192.168.20.0/32 0,
        192.168.10.10/32 0,
        192.168.10.255/32 0,
        192.168.10.0/32 0,
        192.168.20.0/255.255.255.0 1,
        192.168.10.0/255.255.255.0 2,
        255.255.255.255/32 0.0.0.0 0,
        0.0.0.0/32 0,
        0.0.0.0/0.0.0.0 192.168.10.10 1,
        192.168.10.0/255.255.255.0 192.168.10.10 2,
        192.168.20.0/255.255.255.0 192.168.20.10 1);
 
// ARP responses are copied to each ARPQuerier and the
host.
arpt :: Tee(3);
 
// Input and output paths for eth0
c0 :: Classifier(12/0806 20/0001, 12/0806 20/0002,
12/0800, -);
FromDevice(eth0) -> c0;
out0 :: Queue(200) -> todevice0 :: ToDevice(eth0);
c0[0] -> ar0 :: ARPResponder(192.168.20.10
00:0E:2E:53:7F:2B) -> out0;
arpq0 :: ARPQuerier(192.168.20.10, 00:0E:2E:53:7F:2B)
-> out0;
c0[1] -> arpt;
arpt[0] -> [1]arpq0;
c0[2] -> Paint(1) -> ip;
c0[3] -> Print("eth0 non-IP") -> Discard;
 
// Input and output paths for eth1
c1 :: Classifier(12/0806 20/0001, 12/0806 20/0002,
12/0800, -);
FromDevice(eth1) -> c1;
out1 :: Queue(200) -> todevice1 :: ToDevice(eth1);
c1[0] -> ar1 :: ARPResponder(192.168.10.10
00:0E:2E:58:31:EA) -> out1;
arpq1 :: ARPQuerier(192.168.10.10, 00:0E:2E:58:31:EA)
-> out1;
c1[1] -> arpt;
arpt[1] -> [1]arpq1;
c1[2] -> Paint(2) -> ip;
c1[3] -> Print("eth1 non-IP") -> Discard;
 
// Local delivery
toh :: ToHost;
arpt[2] -> toh;
rt[0] -> EtherEncap(0x0800, 1:1:1:1:1:1, 2:2:2:2:2:2)
-> toh;
 
// Forwarding path for eth0
rt[1] -> DropBroadcasts
    -> cp0 :: PaintTee(1)
    -> gio0 :: IPGWOptions(192.168.20.10)
    -> FixIPSrc(192.168.20.10)
    -> dt0 :: DecIPTTL
    -> fr0 :: IPFragmenter(1500)
    -> [0]arpq0;
dt0[1] -> ICMPError(192.168.20.10, timeexceeded) ->
rt;
fr0[1] -> ICMPError(192.168.20.10, unreachable,
needfrag) -> rt;
gio0[1] -> ICMPError(192.168.20.10, parameterproblem)
-> rt;
cp0[1] -> ICMPError(192.168.20.10, redirect, host) ->
rt;
 
// Forwarding path for eth1
rt[2] -> DropBroadcasts
    -> cp1 :: PaintTee(2)
    -> gio1 :: IPGWOptions(192.168.10.10)
    -> FixIPSrc(192.168.10.10)
    -> dt1 :: DecIPTTL
    -> fr1 :: IPFragmenter(1500)
    -> [0]arpq1;
dt1[1] -> ICMPError(192.168.10.10, timeexceeded) ->
rt;
fr1[1] -> ICMPError(192.168.10.10, unreachable,
needfrag) -> rt;
gio1[1] -> ICMPError(192.168.10.10, parameterproblem)
-> rt;
cp1[1] -> ICMPError(192.168.10.10, redirect, host) ->
rt;




-------------------------------------------------------







--- Beyers Cronje <bcronje at gmail.com> wrote:

> Hi Venky,
> 
> What configuration problems are you getting?
> 
> Beyers
> 
> On 2/28/06, Venky Rama <venky2rama at yahoo.com> wrote:
> >
> > hello - does anyone have a router configuration
> file i can use for simple
> > router between 2 networks? i am using the included
> perl file to
> > make_ip_conf.pl and i am not able to get started
> due to configuration
> > problems.
> >
> >   i am trying to make 192.168.20.20 host talk to
> 192.168.10.20 host thru
> > router 192.168.20.10 (eth1) and 192.168.10.10
> (eth0).
> >
> >   thank you
> >   venkat
> >
> >
> > ---------------------------------
> > Brings words and photos together (easily) with
> > PhotoMail  - it's free and works with Yahoo! Mail.
> > _______________________________________________
> > click mailing list
> > click at amsterdam.lcs.mit.edu
> >
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the click mailing list