On the XP Box you should add Route add -p 192.168.51.0 MASK 255.255.255.0 192.168.50.1
the -p make the route permanent. and the next hop to 192.168.51.0 should be the eth0 on the bering box Huy ----- Original Message ----- From: "James Neave" <[EMAIL PROTECTED]> To: "Dave Hunt" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, October 09, 2003 10:51 AM Subject: RE: [leaf-user] 2xNIC Bering won't route? Help! Hi, Yes, here are the settings for all the hosts. The WAP IP: 192.168.51.2 MASK: 255.255.255.0 GATE: 192.168.51.1 DNS: 192.168.51.1 (redundant, no DNS yet) The XP Box IP: 192.168.50.30 MASK: 255.255.255.0 GATE: None DNS: None ON the XP Box: Route add 192.168.51.0 MASK 255.255.255.0 192.168.50.30 Interfaces file on the bering box: (may not be precise syntax, but the values are correct) Auto eth0 Eth0 static Address 192.168.50.1 Masklen 24 Broadcast 192.168.50.255 (no gateway tag) auto eth1 eth1 static address 192.168.51.1 masklen 24 broadcast 192.168.51.255 (no gateway tag) "ip route show" just has the two networks with their respective adaptors. Thanks, James. -----Original Message----- From: Dave Hunt [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 10:37 To: James Neave; [EMAIL PROTECTED] Subject: RE: [leaf-user] 2xNIC Bering won't route? Help! Does the D-Link have it's gateway set up to be 192.168.51.1? Cheers, Dave. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > James Neave > Sent: 09 October 2003 10:14 > To: [EMAIL PROTECTED] > Subject: [leaf-user] 2xNIC Bering won't route? Help! > > > Hi Everybody, > > This ones got my hair falling out. A very simple task, which > I've done before. > > 1 Bering box, 2 NICs (3c905C and rtl8139) > > This box has no external connection (yet, still no ADSL), > just needs to route between the two eth adaptors > > A D-Link WAP (192.168.51.2) is plugged straight into eth1 > (192.168.51.1) A WinXP (192.168.50.30) box is crossed over > into eth0 (192.168.50.1) > > Hosts.allow contains > ALL: 192.168.50.0/255.255.255.0 > ALL: 192.168.51.0/255.255.255.0 > > Two zones in shorewall, dave and alex (+fw). > Dave is bound to eth1, alex to eth0. > > Policy is: > > Dave alex ACCEPT > Alex dave ACCEPT > Fw all ACCEPT > All fw ACCEPT > > The routes are correctly set, all ping requests flash a light > on a NIC somewhere. > > Fw can ping it's interfaces, the WAP and the XP box. > The XP box can ping both interfaces of the FW box. > A wireless client can ping the WAP and the FW box. > > But that's it. The XP box cannot see the WAP or any wireless clients. > > I could've sworn this worked on Sunday... > I'm not doing any NAT, maybe I have to turn NAT off in > shorewall config? > > Somebody please help, this is driving me nuts... > > Thanks again, > > James. > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. See > the people who have HELPED US provide better services: Click > here: http://sourceforge.net/supporters.php > -------------------------------------------------------------- > ---------- > leaf-user mailing list: [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/l> eaf-user > SR > FAQ: > http://leaf-project.org/pub/doc/docmanager/docid_1891.html > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
