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

Re: /etc/init.d/network is too simple?



> ] lo inet
> ]   loopback
> ] eth0 inet
> ]   address 192.168.1.57/24
> ]   gateway 192.168.1.1

I like your style.
Also I have my proposition. It is /etc/fstab format:

] lo ip 127.0.0.1
] eth0 ip 192.168.1.57 gw=1
] # <iface> <proto ip,ip6,ipx...> <address> <other params>

This format is a kind of unix standard and it is quite easy for use 

And what about schemes?

Maybe:

] # <scheme> <interface> ...
] home eth0 10.0.0.2
] work eth0 212.160.70.9/28 gw=1

I don't know what about static routes..

-- 

Piotr "Dexter" Roszatycki
mailto:dexter@fnet.pl


Reply to: