On Tue, Jul 24, 2012 at 01:13, frantisek holop wrote:
> consider a notebook with two nic's: re0 (ethernet)
> and urtwn0 (usb wifi).  let's say, at boot time
> there is ethernet connection and /etc/hostname.re0
> contains "dhcp".  urtwn0 is not plugged in.
> 
> later, i want to switch to wifi.

The best answer is probably to use trunk.

Along the lines of what other people have said, your problem is two
interfaces on the same subnet in the same machine.  Another way to fix
that is to carve the wifi network off into 10.10.20.x and use
appropriate subnet masks.  Then your new default route will be
10.10.20.1 and it won't try using re0.  Something to consider if you
ever want different policies for wired and wireless, but probably too
much work just to make one laptop work.

Reply via email to