IPv6 network configuration for Linux

/etc/sysconfig/network file

NETWORKING=yes
NETWORKING_IPV6=yes
IPV6_DEFAULTGW=2001:760:4004:218::1


/etc/sysconfig/network-scripts/ifcfg-eth0 file

DEVICE=eth0
BOOTPROTO=static
BROADCAST=193.206.98.242
HWADDR=00:50:56:00:00:0x
ONBOOT=yes
TYPE=Ethernet
IPV6INIT=yes
IPV6ADDR=2001:760:4004:218::36
IPADDR=193.206.98.36
GATEWAY=193.206.98.33


/etc/resolv.conf file

nameserver 193.206.158.1
nameserver 2001:760:ffff:ffff:.aa


Dynamically configure IPv6

/sbin/ifconfig eth0 inet6 add 2001:760:4004:218::36
route --inet6 add default gw 2001:760:4004:218::1

Dynamically configure IPv4

ifcfg eth0 add 193.206.98.36
route add default gw 193.206.98.33

-- MarioReale - 14 Jan 2008

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2008-01-14 - MarioReale
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EGEE All webs login

This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Ask a support question or Send feedback