Re: Stop ifconfig from adding an ipv6 address?



Philippe Weill wrote:
Brad wrote:

My question is - how can I stop ifconfig from setting up an ipv6
address *automatically*? I can't see any obvious 'do not set up ipv6
by default' option in its man page. I thought by specifying 'inet'

you could put in interface configuration

NETWORKING_IPV6= false

and you could put in /etc/modprobe.conf

ailas net-pf-10 off

I guess I could do that; cut it off at the source! Either disable
ipv6 when I compile the kernel, or ensure that the ipv6 module
isn't loaded.

It just seems to me that it would have been nice to have an option
to tell ifconfig to ignore ipv6 for a particular interface, rather
than wait for it to attach the ipv6 address and then have to delete it.

After posting this I did some more research and discovered that a
formal bug has been raised for the Java problem - bug ID 4792724,
since December 2002, still 'in progress'! So that's confirmed.


Brad
.



Relevant Pages

  • Re: Stop ifconfig from adding an ipv6 address?
    ... Brad wrote: ... I can't see any obvious 'do not set up ipv6 ... I thought by specifying 'inet' ...
    (comp.os.linux.networking)
  • Re: mm snapshot broken-out-2007-01-26-00-36.tar.gz uploaded
    ... My IPv6 configuration evaporated, totally, out of my .config. ... endif # if INET ... and DLM depend on instead of select SYSFS. ...
    (Linux-Kernel)
  • RFC4193 IPv6 addresses seem not to be completly supported : default gateway not set
    ... IPv6 addresses" and stated that "They are not expected to be routable on the global Internet" and "They are routable inside of a more limited area such a site". ... When using this kind of address as "static" (iface ... ... iface lo inet loopback ... iface eth0 inet6 static ...
    (Debian-User)
  • IPv6 Woes...
    ... I have a router that doesn't support IPv6 yet, so my ISP and I setup a gif tunnel, which is working great. ... My LAN cannot ping my IPv6 address on the firewall, or, of course, my ISP. ... inet xxx.xxx.xxx.xxx netmask 0xfffffff0 broadcast xxx.xxx.xxx.xxx ...
    (freebsd-net)
  • How to config ipv6 for this instance
    ... I have read the handbook and spent hours on the configuration of ipv6 ... The local network administrator only suggest the following steps to ... inet 172.16.120.226 netmask 0xfffffe00 broadcast 172.16.121.255 ...
    (freebsd-questions)