Anthony Campbell wrote:

To set up my ADSL router I have to do:

 ifconfig eth0  192.168.1.1 netmask 255.0.0.0 up
 route add default gw 192.168.1.2 eth0


Where is the correct Debian place to put these - /etc/network/interfaces perhaps, or should they go in rc.local?

Add this to /etc/network/interfaces:

auto eth0
iface eth0 inet static
       address 192.168.1.1
       netmask 255.0.0.0
       gateway 192.168.1.2

--
André Carezia
Eng. de Telecomunicações
Carezia Consultoria - www.carezia.eng.br




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to