Friday, December 21, 2012

IPv6

A dual stack (IPv4+IPv6) PPPoE service is provided by eircom on a trial basis.  It is activated in the same way as standard IPv4 PPPoE.
root@voyage:/etc/ppp/peers# ls
MPN-UK eircom eircom-ipv6
Add ipv6 to the end of the PPP peer config file.
root@voyage:/etc/ppp/peers# cat eircom-ipv6
user test1@ipv6.eircom.net
pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452"
noipdefault
usepeerdns
defaultroute
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
connect /bin/true
noauth
persist
mtu 1492
noaccomp
default-asyncmap
plugin rp-pppoe.so eth0
user “test1"
ipparam eircom-ipv6
+ipv6
Start the PPP session
root@voyage:~# pon eircom-ipv6
View the interface status
root@voyage:/etc/ppp/peers# ifconfig ppp2
ppp2      Link encap:Point-to-Point Protocol
          inet addr:xx.xx.xx.xx  P-t-P:159.134.191.151  Mask:255.255.255.255
          inet6 addr: 2001:bb0:dd0:xxx:xxx:xxx:xxx:xxx:xxx/64 Scope:Global
          inet6 addr: fe80::2482:3cac:a65d:c664/10 Scope:Link
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1082 (1.0 KiB)  TX bytes:130 (130.0 B)

No comments:

Post a Comment