RE: [PROPOSAL] New Network Startup Procedure
On 06-Jan-2000 Carlo Robazza wrote:
> Network Configuration File
> - ------------------------------
>
> [network.<1..n>]
> device = <name> # i.e. eth0, eth1, etc
> type = <type> # i.e. dynamic or static
> status = <net status> # i.e. up or down
> ipaddr = <xxx.yyy.zzz.nnn>
> netmask = <xxx.yyy.zzz.nnn>
> broadcast = <xxx.yyy.zzz.nnn>
> gateway = <xxx.yyy.zzz.nnn>
>
> Each network card will have its own [network.n] configuration block
What about single the above out into distinct files and make it
executed by a shell. Why? Currently to start ATM-CLIP I use the following:
# atm
atmarp -c atm0 2>&1 >/dev/null
IPADDR=193.170.39.251
NETMASK=255.255.255.0
sleep 1
ifconfig atm0 ${IPADDR} netmask ${NETMASK}
sleep 1
atmarp -s 193.170.39.0 <atm-addr> arpsrv
And belevie me, things have to happen in _execatly_ that order. I fail to
see where this is covered by your proposal? In other words, the needs of a
server and of a desktop host are quite different.
-Peter
-------------------------------
Email: Peter.Pregler@risc.uni-linz.ac.at
WWW: http://www.risc.uni-linz.ac.at/people/ppregler
Reply to: