Here's a complete example of how to set up LEAF/Bering for use as a firewall/NAT box
with RoadRunner in Central Ohio.
First we discuss what LEAF/Bering firewall/NAT box needs to do and what configuration we will end up with.
Whatver is plugged into a RoadRunner cable modem must be configured as
a DHCP client, so that's how the internet (RoadRunner) side of the firewall
will be configured.
The local (private) side of the firewall will be set up as:
IP Address:192.168.1.254 (gateway address for other computers on local network)
Network: 192.168.1.0
Netmask: 255.255.255.0
The local side of the firewall will also be a DHCP server, assigning addresses
from 192.168.1.1 to 192.168.1.199 inclusive. The addresses from 192.168.1.200
to 192.168.1.253 inclusive are available for use as static IP addresses.
The hardware was an old Compaq desktop computer with:
For the internet (RoadRunner cable modem) side of the firewall:
SMC LAN Adapter Setup Program -- Version 1.22 (960731)For the local (private) side of the firewall:
Board Type: 8216C
Node Address: 0000C0123456
Current Setup
I/O Base Address 320
IRQ 10
RAM Size 16 K
WIN Size 16 K
RAM Base Address 0CC000
Add Wait States No
Network Connection AutoDetect
Link Integrity Enabled
ROM Size Disabled
ROM Base Address Disabled
SMC LAN Adapter Setup Program -- Version 1.22 (960731)
Board Type: 8216C
Node Address: 0000C0123457
Current Setup
I/O Base Address 280
IRQ 11
RAM Size 16 K
WIN Size 16 K
RAM Base Address 0D0000
Add Wait States No
Network Connection AutoDetect
Link Integrity Enabled
ROM Size Disabled
ROM Base Address Disabled
cd ~ mkdir leaf cd leaf wget http://unc.dl.sourceforge.net/sourceforge/leaf/Bering_1.2_img_bering-1680.bin fdformat /dev/fd0u1680 dd if=Bering_1.2_img_bering-1680.bin of=/dev/fd0u1680
wget http://unc.dl.sourceforge.net/sourceforge/leaf/Bering_1.2_modules_2.4.20.tar.gz tar xvzf Bering_1.2_modules_2.4.20.tar.gz cp -p 2.4.20/kernel/drivers/net/8390.o . cp -p 2.4.20/kernel/drivers/net/smc-ultra.o . tar cvzf drivers.tgz 8390.o smc-ultra.o echo "8390" >modules echo "smc-ultra io=0x320,0x280 irq=10,11" >>modules wget http://firewall.colug.net/syslinux.cfg echo "b" >lrcfg.in echo "5" >>lrcfg.in # echo the character five echo "y" >>lrcfg.in echo "q" >>lrcfg.in echo "q" >>lrcfg.in fdformat /dev/fd0u1680 mkfs.vfat /dev/fd0u1680 mount -t vfat /dev/fd0u1680 /mnt/floppy cp -p drivers.tgz modules syslinux.cfg lrcfg.in /mnt/floppy umount /dev/fd0u1680
q mount -t msdos /dev/fd0u1680 /mnt cd /lib/modules rm ppp*.o slhc.o n_hdlc.o rm 8390.o eepro100.o ne*.o tar xvzf /mnt/drivers.tgz cat /mnt/modules >>/etc/modules cp -p /mnt/syslinux.cfg /mnt/lrcfg.in /tmp umount /dev/fd0u1680
mount -t msdos /dev/fd0u1680 /mnt cd /mnt rm bridge.lrp keyboard.lrp ppp*.lrp weblet.lrp cat /tmp/syslinux.cfg >/mnt/syslinux.cfg cd umount /dev/fd0u1680 lrcfg </tmp/lrcfg.in
reboot
0bfe741097383c1185b639a466954184 leafbering_rr_example.bin
Last modified 2003-05-23