Why does my ubuntu-server have 4 ipv6 addresses?
by wh33t from LinuxQuestions.org on (#5QN3J)
It's especially strange to me because my netplan has a single ipv4 static set.
Code: ifconfig
ens18: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.252 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::a411:74ff:fe98:7eb9 prefixlen 64 scopeid 0x20<link>
inet6 2604:3d08:1a7f:d170::ade1 prefixlen 128 scopeid 0x0<global>
inet6 2604:3d08:1a7f:d170:6a82:8160:8551:75f3 prefixlen 64 scopeid 0x0<global>
inet6 2604:3d08:1a7f:d170:a411:74ff:fe98:7eb9 prefixlen 64 scopeid 0x0<global>
ether a6:11:74:98:7e:b9 txqueuelen 1000 (Ethernet)
RX packets 638998 bytes 232555550 (232.5 MB)
RX errors 0 dropped 11 overruns 0 frame 0
TX packets 49155 bytes 8624048 (8.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 24134 bytes 1625670 (1.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 24134 bytes 1625670 (1.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
And my netplan
Code:cat /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
ens18:
dhcp4: no
addresses: [192.168.0.252/24]
gateway4: 192.168.0.1
nameservers:
addresses: [192.168.0.1]
version: 2Any suggestions why this is happening?
I actually want to also set a static ipv6 in my netplan, but I'm not sure why this computer even has ipv6 addresses to begin with. My router which comes from my ISP doesn't even have any options it's web gui to setup ipv6 dhcp addresses.
What gives?
Code: ifconfig
ens18: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.252 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::a411:74ff:fe98:7eb9 prefixlen 64 scopeid 0x20<link>
inet6 2604:3d08:1a7f:d170::ade1 prefixlen 128 scopeid 0x0<global>
inet6 2604:3d08:1a7f:d170:6a82:8160:8551:75f3 prefixlen 64 scopeid 0x0<global>
inet6 2604:3d08:1a7f:d170:a411:74ff:fe98:7eb9 prefixlen 64 scopeid 0x0<global>
ether a6:11:74:98:7e:b9 txqueuelen 1000 (Ethernet)
RX packets 638998 bytes 232555550 (232.5 MB)
RX errors 0 dropped 11 overruns 0 frame 0
TX packets 49155 bytes 8624048 (8.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 24134 bytes 1625670 (1.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 24134 bytes 1625670 (1.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
And my netplan
Code:cat /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
ethernets:
ens18:
dhcp4: no
addresses: [192.168.0.252/24]
gateway4: 192.168.0.1
nameservers:
addresses: [192.168.0.1]
version: 2Any suggestions why this is happening?
I actually want to also set a static ipv6 in my netplan, but I'm not sure why this computer even has ipv6 addresses to begin with. My router which comes from my ISP doesn't even have any options it's web gui to setup ipv6 dhcp addresses.
What gives?