paulwong

          Disable ipv6 on ubuntu

          1. For disable IPv6 on Ubuntu Server, we need add these configuration lines in /etc/sysctl.conf
            # IPv6 configuration
            net.ipv6.conf.all.disable_ipv6 = 1
            net.ipv6.conf.default.disable_ipv6 = 1
            net.ipv6.conf.lo.disable_ipv6 = 1

          2. Reload configurationf or sysctl.conf
            sysctl -p
          3. Check IPv6 is disabled on Ubuntu Server
             root@ip-10-48-234-13:/# ip addr
            1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
            link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
            inet 127.0.0.1/8 scope host lo
            2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
            link/ether 12:31:3c:03:e9:fb brd ff:ff:ff:ff:ff:ff
            inet 10.48.234.13/23 brd 10.48.235.255 scope global eth0




          posted on 2013-10-08 21:19 paulwong 閱讀(334) 評論(0)  編輯  收藏 所屬分類: LINUX

          主站蜘蛛池模板: 昌江| 呈贡县| 黔江区| 丰城市| 建平县| 余姚市| 林口县| 鲁甸县| 原平市| 邳州市| 罗源县| 武陟县| 峡江县| 长沙市| 汝阳县| 大冶市| 贡嘎县| 陕西省| 清涧县| 荆门市| 姜堰市| 山西省| 城固县| 天长市| 张掖市| 从化市| 鸡西市| 什邡市| 乐安县| 香港 | 博湖县| 江西省| 托克逊县| 东乡族自治县| 峡江县| 湘阴县| 龙陵县| 湟中县| 漾濞| 临泽县| 堆龙德庆县|