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

Re: IP Chains fire up script



On Fri, Feb 02, 2001 at 12:18:34PM -0700, Yobb wrote:
> 
> Hi folks.  Can you help me out with this one?
> 
> I want to fire up my ipchains set up when my machine boots.  I am
> running IP Masq and I get my internet connection via DHCPCD.  My second
> ethernet card in my MASQ machine is set up using the
> /etc/network/interfaces as below
> 
> 	# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
> 	# /usr/share/doc/netbase/examples for more information.
> 	#
> 	iface eth1 inet static
> 	            address 192.168.0.1
>  	           netmask 255.255.255.0
> 	# iface lo inet loopback

<dhcp-ignoramus>from what i've seen posted hither and yon, you
can just add

	iface eth0 inet dhcp

and you're off to the races.</ignoramus>

would that do?

-- 
See, if you were allowed to keep the money, you wouldn't
create jobs with it. You'd throw it in the bushes or
something.  But the government will spend it, thereby
creating jobs.      -- Dave Barry

will@serensoft.com    ***    http://www.dontUthink.com/

http://groups.yahoo.com/group/newbieDoc -- next week's
newbie needs your brain: document your experience today!



Reply to: