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

Re: Where to add static routes?



Debian is even easier ! 
 
an example of /etc/network/interfaces : 
 
 
 
auto lo 
iface lo inet loopback 
auto eth0 
iface eth0 inet static 
       address 192.168.0.44 
       netmask 255.255.255.0 
       network 192.168.0.0 
       gateway 192.168.0.254 
 
that's it ! 
 
JM 
 
 
Quoting Sonny Kupka <sonny@nothnbut.net>: 
 
> I'm switching from Slackware to Debian and I'm a little lost ;) 
>  
> In Slackware I loaded my routes to /etc/rc.d/rc.inet1 like: 
>  
> route add -net xxx.xxx.xxx.xxx gw xxx.xxx.xxx.xxx netmask 255.255.255.240 
>  
> I tried to put that line in my /etc/network/interfaces file just after it 
> started the eth0, but that didn't work right.. 
>  
> Another thing.. What the equivalent of an /etc/rc.d/rc.local 
>  
> Thanks for any pointers you may have ... 
>  
> --- 
> Sonny 
>  
>  
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org 
 
 
--  
Q: What is the difference between open-source and commercial software?  
A: If you have a problem with commercial software you can call a phone  
   number and they will tell you it might be solved in a future version.  
   For open-source sofware there isn't a phone number to call, but you  
   get the solution within a day.

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



Reply to: