subject

I WILL GIVE BRAINLIEST IF THE CODE WORKS The execution of ip route command produces this output:
0.0.0.0/1 via 10.8.0.1 dev tun0
default via 192.168.2.254 dev enp6s0 proto static metric 100
10.8.0.0/24 dev tun0 proto kernel scope link src 10.8.0.2
128.0.0.0/1 via 10.8.0.1 dev tun1
139.59.1.155 via 192.168.2.254 dev enp6s0
169.254.0.0/16 dev virbr0 scope link metric 1000 linkdown
192.168.2.0/24 dev enp6s0 proto kernel scope link src 192.168.2.24 metric 100
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown
10.10.20.0/24 dev enp10s0 proto kernel scope link src 10.10.20.1 linkdown

Task 2 - Work To Do
Each entry represents the ip route associated with each network interface. For example, in line 1, the route 0.0.0.0/1 is associated with interface tun0

Write the Python code that displays the list of routes associated with each interface.

Example
Routes per Interface:
tun0 : 0.0.0.0/1, 10.8.0.0/24
enp6s0 : 139.59.1.155, 192.168.2.0/24

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 19:00, SoccerHalo
How is the number 110 written when expanded out to place values in the base 2 (binary) number system? options: 2 x 4 + 3 x 2 + 4 x 1 1 x 2 + 1 x 2 + 0 x 2 1 x 100 + 1 x 10 + 0 x 1 1 x 4 + 1 x 2 + 0 x 1
Answers: 1
image
Computers and Technology, 23.06.2019 20:30, kaylee2828
Column a of irma’s spreadsheet contains titles for each row, but her document is too big and will be printed three pages across. she wants to be sure that every page will be understood. what can irma do to with this problem?
Answers: 3
image
Computers and Technology, 24.06.2019 09:30, bhadd4385
What is the definition of digital literacy?
Answers: 1
image
Computers and Technology, 24.06.2019 10:20, silviamgarcia
Write a program that keeps asking the user for new values to be added to a list until the user enters 'exit' ('exit' should not be added to the list). these values entered by the user are added to a list we call 'initial_list'. then write a function that takes this initial_list as input and returns another list with 3 copies of every value in the initial_list. finally, inside print out all of the values in the new list. for example: input: enter value to be added to list: a enter value to be added to list: b enter value to be added to list: c enter value to be added to list: exit output: a b c a b c a b c note how 'exit' is not added to the list. also, your program needs to be able to handle any variation of 'exit' such as 'exit', 'exit' etc. and treat them all as 'exit'.
Answers: 2
You know the right answer?
I WILL GIVE BRAINLIEST IF THE CODE WORKS The execution of ip route command produces this output:

Questions in other subjects: