F10 - dIsabling IPv4 addressing
Wolfgang S. Rupprecht
wolfgang.rupprecht+gnus200812 at gmail.com
Thu Dec 11 19:10:43 UTC 2008
Robert Moskowitz <rgm at htt-consult.com> writes:
> When I save ifcfg-eth0, NetworkManager reports the network is down.
> If I start eth0 in NetworkManager, I get IPv4 addresses. If I use
> ifdown to bring eth0 back down, then ifup, I don't get IPv4 addresses,
> only my IPv6 global assignment.
>
> What do I have to do to get the desired behaviour?
You'll be doing yourself a favor if you ditch NetworkMangler and use
the traditional network infrastructure.
chkconfig network on
chkconfig NetworkManager off
(Then run system-config-network and make sure your interfaces are
configured the way you want then. Save and reboot.)
root at poblano # service network restart
Shutting down interface eth1: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth1: [ OK ]
root at poblano #
root at poblano # ifconfig
eth1 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet6 addr: 2001:5a8:4:7d0:2e0:XXff:feXX:8dXX/64 Scope:Global
inet6 addr: fe80::2e0:XXff:feXX:8dXX/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2514 (2.4 KiB) TX bytes:3164 (3.0 KiB)
Interrupt:19
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4273 errors:0 dropped:0 overruns:0 frame:0
TX packets:4273 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2326924 (2.2 MiB) TX bytes:2326924 (2.2 MiB)
First off, you'll want to make sure your /etc/resolv.conf has some
ipv6 nameservers listed.
Now I doubt the system is capable of running as a pure ipv6 host
unless someone put in the effort to flush out the last few ipv4
dependencies. We do have ~3 decades of ipv4 dependencies wired into
the code. There are no doubt lots of programs that were never updated
to use ipv6 sockets.
> Oh, I am logged in as root, so I don't have to futz with permissions
> to fiddle with the interface.
Sigh.
-wolfgang
--
Wolfgang S. Rupprecht http://www.full-steam.org/ (ipv6-only)
You may need to config 6to4 to see the above pages.
More information about the fedora-list
mailing list