exam questions

Exam 201-450 All Questions

View all questions & answers for the 201-450 exam

Exam 201-450 topic 1 question 55 discussion

Actual exam question from LPI's 201-450
Question #: 55
Topic #: 1
[All 201-450 Questions]

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

  • A. ip add addr 2001:db8::1337/64 dev eth0
  • B. ip -6 add addr 2001:db8::1337/64 dev eth0
  • C. ip addr add 2001:db8::1337/64 dev eth0
  • D. ip -6 addr add new 2001:db8::1337/64 dev eth0
  • E. ip addr add -6 2001:db8::1337/64 dev eth0
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
glorofarz
Highly Voted 3 years, 1 month ago
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)
upvoted 6 times
xxz
7 months, 2 weeks ago
basically, B and C are correct
upvoted 1 times
xxz
7 months, 2 weeks ago
oops sorry, yes it's C only. not B. B is syntax error.
upvoted 2 times
...
...
...
ppnghia
Most Recent 9 months, 2 weeks ago
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 -->
upvoted 1 times
...
serlan
10 months ago
С - OK
upvoted 1 times
...
TITI
11 months, 1 week ago
C is correct answer (ubuntu)
upvoted 1 times
...
KAYA2202
1 year ago
C and D are works on Archlinux
upvoted 1 times
...
Armina
1 year, 7 months ago
Selected Answer: C
C works on debian10 and centos7
upvoted 2 times
...
milan92stankovic
2 years, 7 months ago
C - 100%
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago