how to check whether ipv6 is enables or not in my system
Hi,
I'm using Linux Fedora core6, I want to check whether the my system is enable to ipv6 or not. Is there any commands to check this. |
You can run
Code:
ifconfig Code:
lsmod|grep ipv6 |
Quote:
Thanks for reply. Already I did the same. but my network manager is arguing reg in my system ipv6 is disabled but kernel is ready to support ipv6, if ipv6 service is enabled. Case1: [root@srinivas ~]# cat /etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=localhost.localdomain Case2: [root@srinivas ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Intel Corporation 82557/8/9 [Ethernet Pro 100] DEVICE=eth0 ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.0.119 GATEWAY=192.168.0.13 TYPE=Ethernet USERCTL=no IPV6INIT=no PEERDNS=yes BOOTPROTO=none HWADDR=00:a0:c9:db:90:81 [root@srinivas ~]# As per you mail these are the results for those commands, [root@srinivas ~]# lsmod|grep ipv6 ipv6 267745 14 [root@srinivas ~]# ifconfig eth0 Link encap:Ethernet HWaddr 00:A0:C9:DB:90:81 inet addr:192.168.0.119 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::2a0:c9ff:fedb:9081/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:72774 errors:3 dropped:0 overruns:0 frame:3 TX packets:53070 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:20612174 (19.6 MiB) TX bytes:6169872 (5.8 MiB) 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:1982 errors:0 dropped:0 overruns:0 frame:0 TX packets:1982 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6740142 (6.4 MiB) TX bytes:6740142 (6.4 MiB) [root@srinivas ~]# Let me know is really ipv6 is enabled in my system or not. Incase if it is enabled how can I disable it. |
Quote:
If you want to disable it completely, then make sure that the ipv6 module is not loaded at startup. I don't know about Fedora, but in general you can put the module in /etc/modprobe.d/blacklist to prevent it from loading on boot. Regards |
how can I set the disabling ipv6 environment to existing /etc/modprobe.d/blacklist file. Is there any problem with this update?
|
Add the following in /etc/modprobe.d/blacklist:
Code:
blacklist ipv6 Regards |
All times are GMT -5. The time now is 06:36 PM. |