tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Changing the default subnet route.



On Tue, Dec 30, 2008 at 05:35:28PM +0000, Roy Marples wrote:
> On Tue, 2008-12-30 at 11:01 -0600, David Young wrote:
> > On Sun, Dec 28, 2008 at 11:33:33AM +0000, Roy Marples wrote:
> > > On Wed, 2008-12-24 at 12:58 -0600, David Young wrote:
> > > > On Tue, Dec 23, 2008 at 09:37:07AM +0000, Roy Marples wrote:
> > > > > However the 
> > > > > fee1:: MACADDR UHL
> > > > > route is not changed which could be a bug.
> > > > 
> > > > Does the corresponding IPv4 route change?
> > > 
> > > Why should it? All the above commands referenced -inet6 and should not
> > > affect IPv4 in any way or form.
> > 
> > What I meant was, when you run the corresponding IPv4 script, does
> > a IPv4 route corresponding to that IPv6 route change, or not?
> > 
> > IPv4 and IPv6 should work quite a lot alike in order to avoid
> > surprises.
> 
> Why would you expect changing an IPv4 route to affect an IPv6 route or
> vice versa?

I don't.  I do expect for these two scripts to behave similarly in
their own domains, however:

ifconfig bge0 inet6 fee1:: alias
ifconfig iwi0 inet6 fee1:: alias
route change -net -inet6 fee1::/64 -ifp iwi0
ifconfig bge0 inet6 fee1:: -alias
ifconfig bge0 inet6 fee1:: alias

*** *** ***

ifconfig re0 alias 192.168.1.10/24                                            
ifconfig ral0 alias 192.168.1.20/24                                           
route change 192.168.1.0/24 -ifp ral0                                         
ifconfig re0 -alias 192.168.1.10/24                                           
ifconfig re0 alias 192.168.1.10/24                                            

Dave

-- 
David Young             OJC Technologies
dyoung%ojctech.com@localhost      Urbana, IL * (217) 278-3933


Home | Main Index | Thread Index | Old Index