201-450 Exam QuestionsBrowse all questions from this exam

201-450 Exam - Question 55


Which of the following commands adds a static IPv6 address to the network interface eth0?

Show Answer
Correct Answer: CD

To add a static IPv6 address to a network interface, the correct command syntax requires the use of 'ip addr add' followed by the IPv6 address, subnet, and the network interface. Thus, the command 'ip addr add 2001:db8::1337/64 dev eth0' follows the correct syntax for this task.

Discussion

7 comments
Sign in to comment
glorofarzOption: C
Jul 22, 2020

D is incorrect, ip -6 addr add new <---new is definetly a syntax error here C works on debian10 and centos7, assigns ipv6 addresses even without the -6 option (but can be added, optionally)

xxz
Jan 28, 2023

basically, B and C are correct

xxz
Jan 28, 2023

oops sorry, yes it's C only. not B. B is syntax error.

milan92stankovicOption: C
Jan 19, 2021

C - 100%

ArminaOption: C
Jan 30, 2022

C works on debian10 and centos7

KAYA2202
Sep 9, 2022

C and D are works on Archlinux

TITIOption: C
Oct 11, 2022

C is correct answer (ubuntu)

serlanOption: C
Nov 15, 2022

С - OK

ppnghiaOption: C
Dec 1, 2022

root@localhost system]# ip addr add 2001:db8::1337/64 dev ens192 [root@localhost system]# ifconfig ens192: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.147.40.170 netmask 255.255.255.0 broadcast 10.147.40.255 inet6 fe80::20c:29ff:fed4:e106 prefixlen 64 scopeid 0x20<link> inet6 2001:db8::1337 prefixlen 64 scopeid 0x0<global> ether 00:0c:29:d4:e1:06 txqueuelen 1000 (Ethernet) RX packets 418068 bytes 158052597 (150.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 108681 bytes 122370053 (116.7 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 C is correct. D is wrong, new -->