hmm, on Mon, Jul 23, 2012 at 08:10:49PM -0400, Dan Harnett said that
> On Tue, Jul 24, 2012 at 01:13:29AM +0200, frantisek holop wrote:
> > what i do: insert the usb wifi (/etc/hostname.urtwn0
> > contains the correct network data), i disconnect the
> > ethernet cable, route -n flush, ifconfig re0 down,
> > sh /etc/netstart.
> 
> I would recommend 'ifconfig re0 down delete', and do that before
> flushing the routing table.  I would also make sure the dhclient
> process for that interface was dead.

could you explain the reason behind the order?
the routing table would contain a default route
on a non-existing nic, no?


> > $ sudo route -n flush
> > default              10.10.10.1           done
> > default              10.10.10.1           done
> 
> Why do you have two default routes?  I also do not see the deletion of
> 10.10.10.0/24 or any route containing that subnet.

i just paste what the system says :]
i am afraid i cannot answer this question.


> > question: why don't the re0 lines disappear from the inet6 lines
> > after ifconfig re0 down?
> 
> Most likely because you didn't delete the addresses from the re0
> interface.

ok, i thought ifconfig down is something like delete as well.


> 
> > $ sudo sh /etc/netstart
> > DHCPREQUEST on urtwn0 to 255.255.255.255 port 67
> > DHCPREQUEST on urtwn0 to 255.255.255.255 port 67
> > DHCPACK from 10.10.10.1 (00:22:bb:aa:aa:cc)
> > bound to 10.10.10.136 -- renewal in 604780 seconds.
> > 
> > $ route -n show
> > Routing tables
> > 
> > Internet:
> > Destination        Gateway            Flags   Refs      Use   Mtu  Prio 
> > Iface
> > default            10.10.10.1         GSP        4        6     -     8 re0 
> >  
> >                                                                         ^^^
> > default            10.10.10.1         GS         0        0     -     8 re0 
> >  
> >                                                                         ^^^
> 
> You shouldn't have two default routes with the network you're
> describing.  Make sure you don't have a /etc/mygate file laying around.

the file does not exist.
i am not sure what was going on, hence my email to the list :]


let's say if trunk did not exist, what would be the correct
way to do this?

-f
-- 
how much can i get away with and still go to heaven?

Reply via email to