Malcolm Miles wrote:
Probably more a Linux question than a Bering one; after you change an
Ethernet device's IP address in network.conf, what command will
configure the device with the new address without having to reboot the
box?

On systems using network.conf (Dachstein, Eiger, etc), you want to use the 'net' command (same as 'svi network'):


# net
Usage: net start|stop|reload
       net ifup|ifdown|ifreset eth0|eth1|eth2|eth3|eth4|eth5|all
       net ipfilter load|flush|reload
       net ipfilter list [input|output|forward|autofw|mfw|portfw]
       net ipfilter list masq|masquerade

You can start and stop individual interfaces, reload the firewall rules, or restart all networking.

The following will configure your interface with the new IP:
  net ifreset <interface>

...although you might be better off with reloading everything, to make sure your firewall rules match your new settings:
net reload


--
Charles Steinkuehler
[EMAIL PROTECTED]




------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to