Source From Here
Preface
You need to update and configure following files for IPv6 configuration:
How-To
Open /etc/sysconfig/network file, enter:
Append following line:
Open
/etc/sysconfig/network-scripts/ifcfg-eth0 (1st network config file)
Append following config directives for IPv6:
Here is my sample file with mix of IPv4 and IPv6 assigned to eth0:
Where,
Save and close the file. Restart networking:
Verify your configuration by pinging ipv6 enabled site such as ipv6.google.com:
Sample output:
Traces path to a network host, enter:
Print default IPv6 routing table, enter:
Once IPv6 configured properly, you need to setup IPv6 firewall using ip6tables command under Linux.
Supplement
* How To Test Linux Operating System for IPv6 Networking Support
Preface
You need to update and configure following files for IPv6 configuration:
How-To
Open /etc/sysconfig/network file, enter:
Append following line:
- NETWORKING_IPV6=yes
Append following config directives for IPv6:
- IPV6INIT=yes
- IPV6ADDR=
- IPV6_DEFAULTGW=
- DEVICE=eth0
- BOOTPROTO=static
- ONBOOT=yes
- HWADDR=00:30:48:33:bc:33
- IPADDR=202.54.1.5
- GATEWAY=202.54.1.3
- NETMASK=255.255.255.248
- IPV6INIT=yes
- IPV6ADDR=2607:f0d0:1002:0011:0000:0000:0000:0002
- IPV6_DEFAULTGW=2607:f0d0:1002:0011:0000:0000:0000:0001
Save and close the file. Restart networking:
Verify your configuration by pinging ipv6 enabled site such as ipv6.google.com:
Sample output:
Traces path to a network host, enter:
Print default IPv6 routing table, enter:
Once IPv6 configured properly, you need to setup IPv6 firewall using ip6tables command under Linux.
Supplement
* How To Test Linux Operating System for IPv6 Networking Support
沒有留言:
張貼留言