Hi Andrew,
I think I can help you with the additional IP addresses. I struggled with
trying to figure that out, but with some help from the group...I got mine
working. I had 5 static IP addresses assigned to me too, so in the
/etc/network/interfaces file (Option 1, and then 1 again from the main lrcfg
menu), I made the following entries (after commenting out the iface eth0
inet dhcp entry) :

auto eth0
iface eth0 inet static
        address 46.60.172.201
        netmask 255.255.255.0
        broadcast 46.60.172.255
        gateway 46.60.172.254
# Additional static IP addresses
        up ip addr add 46.60.172.202/24 brd 46.60.172.255 dev eth0 label
eth0:0
        up ip addr add 46.60.172.203/24 brd 46.60.172.255 dev eth0 label
eth0:1
        up ip addr add 46.60.172.204/24 brd 46.60.172.255 dev eth0 label
eth0:2

Just substitute your IP addresses for my entries and that should work. Then,
back up the "etc" package from the main menu and reboot. When Bering is back
up and running, issue the ip addr command from the command line, and you
should see your original IP address and the additional ones you've assigned
as well. Hopefully, this makes sense. If not just let me know.

Good luck,
Craig


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, July 01, 2004 2:51 PM
To: [EMAIL PROTECTED]
Subject: [leaf-user] Please be kind to the Newbie!!



Hi everyone,

I was trying to setup a very simple firewall and then build up from there. I
am using Bering uClibc 2.1.2

my setup is a cable modem with a static IP (I actually have 5 ip's but i'm
trying to keep it simple to start) going to the 
firewall in the first nic port, then from the firewall's second nic port to
a switch (because i don't own a crossover cable), 
then to a laptop.
I have been messing around with Network configurations: interfaces file.
>From step 1 I have tried to setup option 1.2 but i 
don't understand the settings completely since they look a little different
from my standard Linksys router.  
What do I fill in for address, broadcast, and gateway?  My Isp gave me a
subnet mask of 255.255.255.248 with my static ips.  I used to input dns1 and
dns2 in my Linksys Router, do i still have to do this?

Then for step 2 I left it alone (default settings looked ok to me) for eth
1.

I thought i would first try to get on the internet with the laptop but it
doesn't get to the internet.  Is there a 
simple setting I need to change to fix this?


I don't even know if the nics are talking to the LEAF?  How do I know which
is Eth1 and Eth0? Is there a way to determine if leaf has installed the nic
cards properly or at all?  I didn't load any special drivers because it
looked like maybe they will work if the nics are common enough.

I haven't messed with anything else in the system. do i need to change some
settings in shorewall in order 
for the laptop to access the internet?

Then of course there are the laptop settings, I am running Windows XP Pro.
I have given it the following fixed ip settings: ip address: 192.168.1.5 seb
net mask: 255.255.255.0 default gateway: 192.168.1.1 DNS1 and DNS2: the
supplied info from my ISP

btw, how do I change the login and password when LEAF boots up?

Please be kind to the noob, I really want to learn this and I really
appreciate all the detail and 
over-simplification you can stand to type.  I know a very little about
Routing, less about firewalls, and absolutely nothing about Linux.  I have
been sucking on the Microsoft tit forever.

Thank you in advance,
Andrew


________________________________________________________________
The best thing to hit the Internet in years - Juno SpeedBand! Surf the Web
up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up
today!


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black
Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
------------------------------------------------------------------------
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 sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
------------------------------------------------------------------------
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

Reply via email to