ifdown/ifup under FreeBSD?
Sandra Kachelmann
s.kachelmann at googlemail.com
Thu Dec 17 14:09:20 UTC 2009
Under RedHat Linux I can configure an interface, routes and so on in
/etc/sysconfig/network-scripts/ifcfg-eth1,
/etc/sysconfig/network-scripts/routes-eth1 then simply run:
$ ifup eth1
and it will set all the routes/netconfig/aliases I just configured.
Is there something similar in FreeBSD?
I tried configuring aliases in /etc/rc.conf and running:
$ /etc/rc.d/netif restart
but that just ended in errors that the route was already configured
and so on. Sure I could do all the work manually with ifconfig and
route but that's not my question.
Sandra
More information about the freebsd-questions
mailing list