Re: Disable ipv6 during installation

2018-03-06 Diskussionsfäden Anders Jackson
mån 2018-02-05 klockan 09:09 +0100 skrev Yann Bachy:
> The problem I have is the DNS replys to IPv6 requests, but the
> network not routing IPv6... To avoid getting into a time-out, I need
> to deactivate IPv6

This should not happen, as the IPv4 and IPv6 are resolved in parallell.

Do you have a global IPv6 address for the machine?  Do you have a IPv6
router for the network?  If not, then the machine doesn't use IPv6 at
all.  IF you have a router that doesn't forward packages, but id does
and if you get a global IPv6 address, then the problem is your network
configuration. It would be like not having IPv4 router but you have a
DHCP server that tell everyone that there are.

And yes, DNS resolve every name, doesn't care about which protocol you
use to resolve a name.  So yes, it is correct to get  resources
even if you use IPv4 to ask the DNS server.

> And problem solved thanks to Sven Schumacher...

So the problem is a badly configured network, not the IPv6 in your
machine. You should fix the network, not the Linux configuration.

That said, yes you can turn of IPv6 by not loading the IPv6 module
(rmmod ipv6), remove the error in IPv6 configuration or disable IPv6 in
/etc/sysctl.conf (net.ipv6.*).

> Yann
>
> On 04/02/2018 12:00, linux-fai-requ...@uni-koeln.de wrote:
> > Why do you want to disable IPv6 if there is no ipv6 available on
> > the
> > network?
>
> --
>
>Yann BACHY
> Ingénieur Chercheur
> Officier de la Sécurité du Système d’Information
> ISAE SUPAERO - Institut Supérieur de l'Aéronautique et de l'Espace
> 10 avenue Edouard Belin - BP 54032 - 31055 TOULOUSE CEDEX 4 FRANCE -
> http://www.isae-supaero.fr
> Tel +33 5 61 33 80 84 - Mobile +33 6 76 85 67 40   - Fax (+33) 5 61
> 33 83 30
> Plan d'accès/Access map
--
Anders Jackson, universitetsadjunkt i datavetenskap, Högskolan i Gävle
Tel: 026 648764 | Fax: 026 648758 | Webb: http://www.hig.se/
Rum: 99:533 | Högskolan i Gävle, ATM-akademin, SE-801 76 GÄVLE

[Högskolan i Gävle]

Högskolan i Gävle, 801 76 Gävle • 026 64 85 00 • www.hig.se

För en hållbar livsmiljö för människan

University of Gävle, SE-801 76 Gävle, Sweden • +46 (0) 26 64 85 00 • 
www.hig.se



Re: Disable ipv6 during installation

2018-02-05 Diskussionsfäden Yann Bachy
The problem I have is the DNS replys to IPv6 requests, but the network
not routing IPv6... To avoid getting into a time-out, I need to
deactivate IPv6


And problem solved thanks to Sven Schumacher...


Yann


On 04/02/2018 12:00, linux-fai-requ...@uni-koeln.de wrote:
> Why do you want to disable IPv6 if there is no ipv6 available on the
> network?

-- 
Signature Email ISAE-SUPAERO



Yann BACHY
Ingénieur Chercheur
Officier de la Sécurité du Système d’Information

ISAE SUPAERO - Institut Supérieur de l'Aéronautique et de l'Espace
10 avenue Edouard Belin - BP 54032 - 31055 TOULOUSE CEDEX 4
FRANCE - http://www.isae-supaero.fr
Tel +33 5 61 33 80 84 - Mobile +33 6 76 85 67 40   - Fax (+33) 5 61 33 83 30
Plan d'accès/Access map 



Re: Disable ipv6 during installation

2018-02-03 Diskussionsfäden Alex Kiousis
Why do you want to disable IPv6 if there is no ipv6 available on the
network?

On Fri, Feb 2, 2018 at 12:39 PM, Sven Schumacher <
schumac...@tfd.uni-hannover.de> wrote:

> Add to the pxe-boot-entry for the kernel append-line "ipv6.disable=1"
>
> label fai-generated
> kernel vmlinuz-4.9.0-2-amd64
> append initrd=initrd.img-4.9.0-2-amd64 ip=dhcp 
> root=nfs:SERVERIP:/srv/fai/nfsroot:vers=3
> rootovl  FAI_FLAGS=verbose,sshd,createvt 
> FAI_CONFIG_SRC=nfs://SERVERIP/srv/fai/config
> FAI_ACTION=install ipv6.disable=1 debug
>
>
>
>
> Am 02.02.2018 um 11:33 schrieb Yann Bachy:
>
> Hello,
>
> I'm setting up an FAI server behind a network I don't control, and no IPv6
> is available on this network.
>
> How can I disable IPv6 during the installation process using FAI ?
>
> I've tried changing the sysctl configuration of the nfsroot by adding the
> following lines to /srv/fai/nfsroot/etc/sysctl.d/99-sysctl.conf
> net.ipv6.conf.all.disable_ipv6=1
> net.ipv6.conf.all.autoconf=0
> net.ipv6.conf.default.disable_ipv6=1
> net.ipv6.conf.default.autoconf=0
>
> This doesn't help, I somehow get the feeling I need to change the
> basefiles ? How should I tackle this problem ?
>
> Thanks in advance for any help!
>
> Yann
> --
>
> Yann BACHY
> Ingénieur Chercheur
> Officier de la Sécurité du Système d’Information
>
> ISAE SUPAERO - Institut Supérieur de l'Aéronautique et de l'Espace
> 10 avenue Edouard Belin
>  -
> BP 54032 - 31055 TOULOUSE CEDEX 4 FRANCE - http://www.isae-supaero.fr
> Tel +33 5 61 33 80 84 - Mobile +33 6 76 85 67 40   - Fax (+33) 5 61 33 83
> 30
> Plan d'accès/Access map 
>
>
>
> --
> Sven Schumacher - Systemadministrator Tel: (0511)762-2753
> Leibniz Universitaet Hannover
> Institut für Turbomaschinen und Fluid-Dynamik   - TFDAppelstraße 9 - 
> 30167 Hannover 
> 
> Institut für Kraftwerkstechnik und Wärmeübertragung - IKWCallinstraße 36 - 
> 30167 Hannover 
> 
>
>


Re: Disable ipv6 during installation

2018-02-02 Diskussionsfäden Sven Schumacher
Add to the pxe-boot-entry for the kernel append-line "ipv6.disable=1"

label fai-generated
kernel vmlinuz-4.9.0-2-amd64
append initrd=initrd.img-4.9.0-2-amd64 ip=dhcp
root=nfs:SERVERIP:/srv/fai/nfsroot:vers=3 rootovl 
FAI_FLAGS=verbose,sshd,createvt
FAI_CONFIG_SRC=nfs://SERVERIP/srv/fai/config FAI_ACTION=install
ipv6.disable=1 debug




Am 02.02.2018 um 11:33 schrieb Yann Bachy:
>
> Hello,
>
> I'm setting up an FAI server behind a network I don't control, and no
> IPv6 is available on this network.
>
> How can I disable IPv6 during the installation process using FAI ?
>
> I've tried changing the sysctl configuration of the nfsroot by adding
> the following lines to /srv/fai/nfsroot/etc/sysctl.d/99-sysctl.conf
>
> net.ipv6.conf.all.disable_ipv6=1
> net.ipv6.conf.all.autoconf=0
> net.ipv6.conf.default.disable_ipv6=1
> net.ipv6.conf.default.autoconf=0
>
> This doesn't help, I somehow get the feeling I need to change the
> basefiles ? How should I tackle this problem ?
>
> Thanks in advance for any help!
>
> Yann
> -- 
> Signature Email ISAE-SUPAERO
>
>   
>
> Yann BACHY
> Ingénieur Chercheur
> Officier de la Sécurité du Système d’Information
>
> ISAE SUPAERO - Institut Supérieur de l'Aéronautique et de l'Espace
> 10 avenue Edouard Belin - BP 54032 - 31055 TOULOUSE CEDEX 4
> FRANCE - http://www.isae-supaero.fr
> Tel +33 5 61 33 80 84 - Mobile +33 6 76 85 67 40   - Fax (+33) 5 61 33
> 83 30
> Plan d'accès/Access map 
>


-- 
Sven Schumacher - Systemadministrator Tel: (0511)762-2753
Leibniz Universitaet Hannover
Institut für Turbomaschinen und Fluid-Dynamik   - TFD
Appelstraße 9 - 30167 Hannover
Institut für Kraftwerkstechnik und Wärmeübertragung - IKW
Callinstraße 36 - 30167 Hannover



smime.p7s
Description: S/MIME Cryptographic Signature