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

Re: Correct place for networking commands in Debian?

On Mon, Dec 15, 2003 at 03:34:27PM +0000, Anthony Campbell wrote:
> To set up my ADSL router I have to do:
>   ifconfig eth0 netmask up
>   route add default gw eth0
> Where is the correct Debian place to put these - /etc/network/interfaces
> perhaps, or should they go in rc.local?
> Anthony

I think the subnet mask should be at the least, more usually  See RFC 1597 - http://www.faqs.org/rfcs/rfc1597.html.

An IP address of 192.168.x.x with subnet mask implies that
192.anything is on your network.  But only 192.168.anything is actually
reserved for private use.


Reply to: