LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How would i disable ipv6 for eth0 ? (https://www.linuxquestions.org/questions/linux-networking-3/how-would-i-disable-ipv6-for-eth0-771853/)

cola 11-27-2009 02:26 AM

How would i disable ipv6 for eth0 ?
 
It's pppoe connection.
If i do ifconfig, eth0 ip is with this format
Code:

inet6 addr: fe80::................
But the ip for ppp0 is in ipv4 format.
I want to make it display the eth0 ip in ipv4 format.
How would i set this?


Slackware 13.

GlennsPref 11-27-2009 04:58 AM

Hi, Look in

/etc/sysconfig/network-scripts/ifcfg-eth0
Code:

DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.2
NETMASK=255.255.255.0
GATEWAY=10.64.64.64
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
USERCTL=yes
DNS1=203.2.193.67
DNS2=202.135.30.4
DOMAIN=vfinternet.au
RESOLV_MODS=no
LINK_DETECTION_DELAY=6
IPV6INIT=no
IPV6TO4INIT=no

that should help (mandriva)

regards Glenn


All times are GMT -5. The time now is 09:13 PM.