[GLLUG] Adding multiple addresses to multiple interfaces

Chris Bell chrisbell at chrisbell.org.uk
Tue Jan 2 18:36:30 UTC 2018


On Tuesday, 2 January 2018 18:08:34 GMT Chris Bell via GLLUG wrote:
> On Tuesday, 2 January 2018 17:26:25 GMT Andy Smith via GLLUG wrote:
> > Hi Chris,
> 
> Thanks for the replies
> 
After another reboot:
ifconfig
enp2s1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.101  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 2002:51ae:faaf:20:2e0:29ff:fe19:9a9e  prefixlen 64  scopeid 
0x0<global>
        inet6 fe80::2e0:29ff:fe19:9a9e  prefixlen 64  scopeid 0x20<link>
        ether 00:e0:29:19:9a:9e  txqueuelen 1000  (Ethernet)
        RX packets 258  bytes 35639 (34.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 290  bytes 32222 (31.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp2s2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.21.1.22  netmask 255.255.255.0  broadcast 172.21.1.255
        inet6 fe80::280:c8ff:fef7:86b3  prefixlen 64  scopeid 0x20<link>
        ether 00:80:c8:f7:86:b3  txqueuelen 1000  (Ethernet)
        RX packets 9  bytes 964 (964.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 54  bytes 8768 (8.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp2s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.21.2.22  netmask 255.255.255.0  broadcast 172.21.2.255
        inet6 fe80::280:c8ff:fe3d:fd4f  prefixlen 64  scopeid 0x20<link>
        ether 00:80:c8:3d:fd:4f  txqueuelen 1000  (Ethernet)
        RX packets 3  bytes 385 (385.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 41  bytes 7243 (7.0 KiB)
        TX errors 8  dropped 0 overruns 0  carrier 22  collisions 0

enp2s4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.21.3.22  netmask 255.255.255.0  broadcast 172.21.3.255
        inet6 fe80::2a0:c9ff:fee6:a70e  prefixlen 64  scopeid 0x20<link>
        inet6 fd39:7761:9509:7c:2a0:c9ff:fee6:a70e  prefixlen 64  scopeid 
0x0<global>
        inet6 2002:51ae:faaf:20:2a0:c9ff:fee6:a70e  prefixlen 64  scopeid 
0x0<global>
        ether 00:a0:c9:e6:a7:0e  txqueuelen 1000  (Ethernet)
        RX packets 120  bytes 14435 (14.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 216  bytes 28135 (27.4 KiB)
        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 1  (Local Loopback)
        RX packets 97  bytes 13749 (13.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 97  bytes 13749 (13.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


-- 
Chris Bell
Website http://chrisbell.org.uk



More information about the GLLUG mailing list