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

Re: How do I set route at boot time ?



On Thu, May 10, 2001 at 12:13:49PM -0600, Stefan Srdic wrote:
> I'm interrested in the same thing, only I want to be able to edit my routing
> table upon startup to define the mss and window of my LAN and external gateway.
> Is there some sort of text stream I can run through to accomplish this?

here's my static setup -- see if what you need is revealed
herein...

	# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
	iface lo inet loopback

	iface eth0 inet static
		address 192.168.1.1
		netmask 255.255.0.0
		network 192.168.1.0
		broadcast 192.168.1.255

	iface eth1 inet static
		address 123.456.789.012
		netmask 255.255.255.0
		network 123.456.789.0
		broadcast 123.456.789.255
		gateway 123.456.789.987

-- 
DEBIAN NEWBIE TIP #13 from Will Trillich <will@serensoft.com> 
:
How can you generate RANDOM EMAIL SIGNATURES? Many email clients
have this feature -- for mutt, simply declare in your ~/.muttrc
file something like
	send-hook debian- "set signature='~/.signature-debian |'"
(note the quoted value ends with a 'pipe|' symbol) Then whenever
you send email to any debian-* address, it'll append the output
from your script, instead of appending a static file.

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: