restart bind/dhcpd/NAT

Frankus frankus at rulez.cz
Mon Sep 1 00:38:25 CEST 2003


Cizek Milan wrote:

>Ahoj,
>pokazde kdyz pozmenim nove sitove nastaveni (treba nove PC v siti),
>musim restartovat, protoze neumim toto nastaveni aplikovat jinak.
>
>Jde mi predevsim o nasledujici sluzby, k nekterym jsem uz nasel neco v
>handbooku, ale nevim, jestli je to spravne. Prosim o korekci a doplneni,
>diky!
>
>NAT: melo by stacit killall -9 natd, spusteni pak natd -interface
>{$iface}.
>DHCP (ISC): melo by stacit killall -9 dhcpd, spusteni pak pres skript v
>/usr/local/etc/rc.d/isc-dhcpd.sh start Bind (ISC)> ?
>IPFW: zvladam skriptikem zhotoveneho podle rc.firewall (prida jednotliva
>pravidla). Je nejak mozne vyvolat reload pravidel, aniz bych je musel po
>jednom pridavat, proste to same, co se provede v rc.conf, kde udavam
>zmineny pravidlovy soubor?
>
>S pozdravem Milan Cizek
>
>  
>
Pouzij skript /etc/netstart

>. /etc/rc.subr
>
>load_rc_config 'XXX'
>/etc/rc.d/pccard start
>/etc/rc.d/devd start
>/etc/rc.d/hostname start
>/etc/rc.d/ipmon start
>/etc/rc.d/ipfilter start
>/etc/rc.d/ipnat start
>/etc/rc.d/ipfs start
>/etc/rc.d/sppp start
># /etc/rc.d/atm1 start
># . /etc/rc.d/atm2.sh start
># . /etc/rc.d/atm3.sh start
>/etc/rc.d/netif start
>/etc/rc.d/ipsec start
>/etc/rc.d/dhclient start
>/etc/rc.d/isdnd start
>/etc/rc.d/ppp-user start
>/etc/rc.d/ipfw start
>/etc/rc.d/network2 start
>/etc/rc.d/ip6fw start
>/etc/rc.d/network_ipv6 start
>/etc/rc.d/mroute6d start
>/etc/rc.d/route6d start
>/etc/rc.d/mrouted start
>/etc/rc.d/routed start
>/etc/rc.d/nisdomain start
>
>exit 0
>
>  
>


-- 
**************************
/// fr at nku$ \\\
mailto: frankus at rulez.cz
http://frankus.rulez.cz
**************************





More information about the Users-l mailing list