Not routing IPv6 on Ubuntu 15.04
Shadow Hawkins on Wednesday, 30 September 2015 19:54:42
Hi there,
I followed this guide https://www.sixxs.net/wiki/Setting_Up_an_IPv6_home_network_with_Ubuntu but cannot connect on clients. Ubuntu has full IPv6 connectivity. Radvd is working fine, and all clients have IPv6.
IPv6 Address . . . . . . . . . . . . . . . : 2001:1291:200:88bc:8cf9:7ac9:d56:e8fd
Temporary IPv6 Address . . . . . . . . . . : 2001:1291:200:88bc:4ac:5c0c:c139:85ec
Link-local IPv6 Address . . . . . . . . : fe80::8cf9:7ac9:d56:e8fd%11
IPv4 Address. . . . . . . . . . . . . . . : 192.168.1.12
Sub-net mask . . . . . . . . . . . . : 255.255.255.0
Gateway. . . . . . . . . . . . . . . : fe80::16cc:20ff:fe03:69e9%11
192.168.1.250
On Ubuntu:
sysctl.conf
net.ipv4.conf.all.accept_redirects=0
net.ipv4.tcp_syncookies=1
net.ipv4.ip_forward=1
net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.all.rp_filter=1
net.ipv6.conf.all.accept_ra=2
net.ipv6.conf.all.forwarding=1
#net.ipv6.conf.eth2.forwarding=1
#net.ipv6.conf.eth1.forwarding=1
#net.ipv6.conf.eth1.accept_ra=2
#net.ipv6.conf.eth2.accept_ra=2
#net.ipv6.conf.eth4.forwarding=1
#net.ipv6.conf.eth4.accept_ra=2
#net.ipv6.conf.sixxs.forwarding=1
#net.ipv6.conf.sixxs.accept_ra=2
radvd.conf
interface eth1 {
AdvSendAdvert on;
MinRtrAdvInterval 3;
MaxRtrAdvInterval 10;
RDNSS 2001:4860:4860::8888 2001:4860:4860::8844 {};
prefix 2001:1291:200:88bc::/64 {
AdvOnLink on;
AdvAutonomous on;
AdvRouterAddr on;
};
route ::/0 {
};
};
ifconfig
eth1 Link encap:Ethernet HWaddr 14:cc:20:03:69:e9
inet addr:192.168.1.250 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::16cc:20ff:fe03:69e9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6956 errors:0 dropped:0 overruns:0 frame:0
TX packets:10747 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:707958 (707.9 KB) TX bytes:11738317 (11.7 MB)
sixxs Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: fe80::1091:200:8bc:2/64 Scope:Link
inet6 addr: 2001:1291:200:8bc::2/64 Scope:Global
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:258 errors:0 dropped:0 overruns:0 frame:0
TX packets:339 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:37109 (37.1 KB) TX bytes:62386 (62.3 KB)
Not routing IPv6 on Ubuntu 15.04
Shadow Hawkins on Wednesday, 30 September 2015 20:42:08
Done!
Just need to manually add a Global IPv6 address to my eth2(LAN).
ifconfig eth1 inet6 add 2001:1291:200:88bc::1/64
Not routing IPv6 on Ubuntu 15.04
Jeroen Massar on Wednesday, 30 September 2015 20:48:52 Just need to manually add a Global IPv6 address to my eth2(LAN). ifconfig eth1 inet6 add 2001:1291:200:88bc::1/64
As it is Ubuntu, you will want to look at interfaces(5), hat is /etc/network/interfaces, and configure it there.
Also 'ifconfig' is deprecated, use the 'ip' command instead.
Posting is only allowed when you are logged in. |