I can't figure this out?  I want to reiterate my appreciation for your help.
It still isn't working.

I added:
network_interfaces="vr0 rl0 lo0"
and even rebooted to see if that would work (rather than using
/etc/netstart) nothing.

I guess let me ask this, if you were going to setup a firewall running natd,
configured with two nics and the oif connected to DHCP would you do this

Base install,
Kernel reconfig installing ipfw + natd
configuring in rc.conf oif card w/ DHCP and internal with generic ip's
config rc.firewall

what am i missing? again thank you...



-----Original Message-----
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Moran
Sent: Monday, January 27, 2003 11:57 PM
To: Asenchi
Cc: freebsd-questions@FreeBSD. ORG
Subject: Re: Firewall + DHCP (STILL)

Asenchi wrote:
>>What do you mean by "not able to _keep_ a connection"?  Are you saying
>>your DHCP addy expires and can't be renewed?  Or is there something more
>>the problem (i.e., the link layer connection fails?)
> It won't pick up an ip from my provider.  When I boot up, ifconfig in
> shows an ip, but nothing will connect.  If I do an 'ifconfig -a' it will
> show up

OK, that clears that up.

>>To clarify:
>>if you type:
>>killall dhclient
>>ifconfig vr0 inet netmaks
>>Does it display the address, or is there still no ip addy on
> Yes I can configure it for an address...I think it has something to do
> dhclient.

Ok, so it appears as though the NIC and the driver are working ...

>>${fwcmd} add 0200 allow all from any to any
>>If this is truely the firewall rules you are using, then every rule after
>>this one is redundant, as this constitutes an "open" firewall, which is
>>almost the same as no firewall at all (except for the divert rule).
> Yes I am aware of this.  I have it in there to try and get a connection.
> normally isn't in there.

Gotcha, so for now we're ruling out the firewall as a problem, good

> #vi /etc/rc.conf
> # -- sysinstall generated deltas -- # Thu Nov 14 10:01:53 2002
> # Created: Thu Nov 14 10:01:53 2002
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> #Network Stuff
> hostname="world.attbi.com"

Try adding a line at this point in the file (actually, I don't think it
really matters exactly _where_ you put it in the file)
network_interfaces="vr0 rl0 lo0"
And see if things start acting nicer.  This may solve the problem, let
me know either way.

> ifconfig_vr0="DHCP"
> ifconfig_rl0="inet netmask"
> ifconfig_lo0="inet netmask"
> gateway_enable="YES"

<Snip the remaining rc.conf and other sys info>

Bill Moran
Potential Technologies

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to