NetBSD-Users archive

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

Re: need to disable IPv6

On Tue, Jun 26, 2012 at 09:45:58PM -0400, Anne Bennett wrote:
> Since my machine is behind an IPv4 NAT gateway, I can't speak IPv6 to
> the outside world.  How, how, how do I turn it off, at least for the
> external interface?  At the moment, ifconfig reports:
>   fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>           address: 00:11:d8:00:00:f3:a9:66
>   fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>           address: 00:18:f3:ad:85:bd
>           media: Ethernet autoselect (10baseT)
>           status: active
>           inet netmask 0xffffff00 broadcast
>           inet6 fe80::218:f3ff:fead:85bd%fxp0 prefixlen 64 scopeid 0x2
>   lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
>           inet netmask 0xff000000
>           inet6 ::1 prefixlen 128
>           inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3

  Does deleting your inet6 address(es), e.g.,

    ifconfig fxp0 inet6 delete 'fe80::218:f3ff:fead:85bd'

and restarting relevant rc.d services make things work (or at least
fail quickly and move on) and hence, tide you over until an actual,
correct answer to this is posted?

Home | Main Index | Thread Index | Old Index