dhcpcd-discuss

Configuring a monitoring only interface with dhcpcd

roger

Sun Dec 03 18:28:41 2017

Hi,

I am struggling to configure a monitoring only interface using dhcpcd. I need to the interface not to have any addresses configured on it. ipv4 is easy but I cannot find a way to stop ipv6 addresses being configured.

This is what I have tried so far.

interface enx00e04c68a9f3
noipv4
noipv6
noipv6rs
ipv6ra_noautoconf

This results in.

enx00e04c68a9f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 2001:8b0:1418:4c2f:2e0:4cff:fe68:a9f3  prefixlen 64 scopeid 0x0<global>
        inet6 fe80::2e0:4cff:fe68:a9f3  prefixlen 64  scopeid 0x20<link>
        inet6 fda0:4d7f:afbb:0:2e0:4cff:fe68:a9f3  prefixlen 64 scopeid 0x0<global>
        ether 00:e0:4c:68:a9:f3  txqueuelen 1000  (Ethernet)
        RX packets 2228  bytes 238745 (233.1 KiB)
        RX errors 0  dropped 4  overruns 0  frame 0
        TX packets 32  bytes 4942 (4.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Has anyone got any suggestions on how I can get rid of those ipv6 addresses.

Thanks,


Roger


Follow-Ups:
Re: Configuring a monitoring only interface with dhcpcdRoy Marples
Archive administrator: postmaster@marples.name