Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2009 00:47:48 +0000
From:      "b. f." <bf1783@googlemail.com>
To:        freebsd-questions@FreeBSD.org
Cc:        ml@infosec.pl
Subject:   Re: switching from one network interface to another without reboot
Message-ID:  <d873d5be0908201747u1c72264av63bcbb89900086a6@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Michal wrote:
>Mel Flynn wrote:
>> If these are on the same network (like most wireless routers), it can pay off
>> to use lagg(4) and then simply unplug the cable. Plug it back in and it will
>> use the cable again. You would need:

>In my case usually it's some testing environment so I needed more of a
>quick kludge. But thats very interesting idea for my home network, I'll
>definitely have to check it out, thanks!

And of course, you can also automate this via devd.conf(5), by
instructing the system to run the rc.d scripts or other
commands/scripts if one of your NICs is attached/detached, or upon
other conditions.  There are related examples in the devd.conf(5)
manpage and the default /etc/devd.conf

b.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d873d5be0908201747u1c72264av63bcbb89900086a6>