[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Please excuse, but I am not a router/firewall-guru...



Hello, 

I was using LRP 2.9.4 <http://www.linux-router.org/> with Kernel 2.0.38 
on a Floppy to route 5 NIC's (192.168.1-5.0) to an USR Courier I-modem 
with IP-Masq. 

I have setup ipfwadm and all is workig fine as desired. 

Now I will get in some month my E1 with a full C-Class network and I 
have reconfigured my network, so that I need to change only the firs 
three numbers of the IP's. 

I have changed my Network as follows:

eth0    inet-Access     curently unconfigured

eth1    publicnet       Network     192.168.1.0
         64 IP's        IP          192.168.1.1
                        Broadcast   192.168.1.63
                        Netmask     255.255.255.192

eth2    privatenet      Network     192.168.1.64
         32 IP's        IP          192.168.1.65
                        Broadcast   192.168.1.94
                        Netmask     255.255.255.224

eth3    securenet       Network     192.168.1.96
         16 IP's        IP          192.168.1.97
                        Broadcast   192.168.1.111
                        Netmask     255.255.255.240

eth4    cybernet        Network     192.168.1.112
          8 IP's        IP          192.168.1.113
                        Broadcast   192.168.1.119
                        Netmask     255.255.255.248

eth5    wavenet         Network     192.168.1.128
        128 IP's        IP          192.168.1.129
                        Broadcast   192.168.1.255
                        Netmask     255.255.255.128

I use ipfwadm and I can connect as desired between the Networks... 

                                        +-----------+
                                        | router    |
                +-----------+           |       eth1+--- publicnet
                |           |           |           |
                |  ppp-box  |           |       eth2+---privatenet
                |           |IP-Masq    |           |
Inet -----------+ppp0   eth1+-----------+eth0   eth3+--- securenet
By-Call-ISP     |           |           |           |
                |           |           |       eth4+--- cybernet
                |           |           |           |
                +-----------+           |       eth5+--- wavenet
                                        |           |
                                        +-----------+

Because I like to create I full working "RESCUE-ROUTER-DISK" for 
reserve and do not make IP-Masq on it, I like to simulate the 
Internet-Connection with a seperately ppp-box which do the IP-Masq 
and connect to a By-Call-Provider with my Courier I-modem. 

------------------------------------------------------------------------
Question: How must I do the routing between the PPP-Box and the router, 
          while on the ppp-box is the Masquerading stuff which run LRP 
          as well ??? 

          Must they have:   Network     192.168.1.120
                            IP          192.168.1.121       router
                            IP          192.168.1.121       ppp-box
                            Broadcast   192.168.1.127
                            Netmask     255.255.255.240
------------------------------------------------------------------------

If I have this running, I like to do the next step: 

On my Router I have a Harddisk in which I have installed WOODY. 

All suff not neede is removed like ppp, pppconf, pppoe, ipchains, 
dhcpd, dhcpcd, man-db, manpages... 

How can I make the same Router-Setup with WOODY and iptables... 

Firewall comes soon...

Thanks
Michelle Konzack

P.S.:   Curently I am in Hospital and cann not answer immediatly.




Reply to: