...
Advanced Tables - Table Plus |
---|
Date | | |
---|
2011-10-31 | Our primary file server runs Samba on IPv6 only After the last Mac was upgraded to Lion I silently removed IPv4, and nobody even noticed | Removed IPv4 address 192.87.30.132 Removed A record for samba.terena.org Hardcoded the IPv6 address in smb.conf : bind interfaces only = yes interfaces = 2001:610:148:beef::132/64 | 2011-03-09 | All linux servers run PostgreSQL on IPv6 only | Configure "listen_address = '::' " in postgresql.conf . This is not documented (yet). | 2011-03-08 | HP Printer IPv6 only | Upgraded Laserjet 4250 with new print server, removed A record for hp4250-1.terena.org | 2011-02-28 | Host ldap.terena.org IPv6 only | Removed IPv4 address and 192.87.30.30 Removed A record | <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="602b347e24443125-12b45631-4d034cc7-be1cad20-106208fa11c5fe11c1b59ab7"><ac:plain-text-body><![CDATA[ | 2011-02-07 | Nagios web interface only reachable on IPv6 | Configure Listen [2001:610:158:98d::42]:80 in /etc/apache/ports.conf | ]]></ac:plain-text-body></ac:structured-macro> | 2011-02-07 | Host svn.terena.org IPv6 only | Removed IPv4 address and A record | 2011-02-01 | All linux servers run Postfix on IPv6 only (except listed MXs) | Remove IPv4 addresses from $mynetworks , and set "inet_protocols = ipv6 " | 2011-01-31 | All linux servers managed by SSH via IPv6 only | Configure "ListenAddress :: " or "AddressFamily inet6 " in sshd_config | 2011-01-30 | All linux servers use only IPv6 resolvers | Only list IPv6 addresses in /etc/resolv.conf : No Format |
---|
nameserver 2001:610:148:dead::4
nameserver 2001:610:158:98d::42
domain terena.org |
| 2010-10-26 | VPN supports IPv6 | A new VPN setup: Cisco AnyConnect. Clients get an IPv4 and an IPv6 address from the office pools, so they can access all services via IPv6 |
|
Samba
Our servers run Ubuntu 10.04 LTS, which ships with Samba 3.4.7, and this has proper IPv6 support. There is no global switch to make it listen to a specific IP version, but is not difficult to make it listen to IPV6 only.
You need to tell it to only bind to a specific (hard coded) interface address in smb.conf
:
Code Block |
---|
bind interfaces only = yes
interfaces = 2001:610:148:beef::132/64
|
This machine is a server but sits in the Office network, so it was needed to disable autoconfiguration to prevent is from accumulating multiple IPv6 addresses (which is not good for a server).
Contrary to what you would expect, setting /proc/sys/net/ipv6/conf/eth0/autoconf
to 0 does not do the trick. You have to explicitly state the interface. So I ended up with this /etc/network/interfaces
:
Code Block |
---|
|
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet6 loopback
pre-up ip addr del 127.0.0.1/8 dev lo
# The primary network interface
auto eth0
iface eth0 inet6 static
address 2001:610:148:beef::132
netmask 64
gateway 2001:610:148:beef::1 dev eth0
pre-up echo 0 > /proc/sys/net/ipv6/conf/eth0/autoconf
|
MacOSX Lion & Cisco AnyConnect
...