QuestionQ4Verified/Networking ConfigurationCopy linkReport a problemAsk AstroTutorSave questionWhich of the following commands adds a static IPv6 address to the eth0 network interface?Aip add addr 2001:db8::1337/64 dev eth0Bip -6 add addr 2001:db8::1337/64 dev eth0Cip addr add 2001:db8::1337/64 dev eth0Dip -6 addr add new 2001:db8::1337/64 dev eth0Eip addr add -6 2001:db8::1337/64 dev eth0Show AnswerAnswerExplanationThe ip addr add command assigns an address to a network interface, and an IPv6 prefix such as 2001:db8::1337/64 is valid as its address argument. The valid form is ip addr add ADDRESS dev INTERFACE.Show comments4Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion