In linux, the [...] command is used to bind destination IPs with the target network interfaces (e.g. eth0, lo, docker0, etc) so that the kernel knows what packets should be sent to what network interfaces (based on destination IP). This command can also just print out the currently configured bindings of destination IPs to target network devices.
Answer
route
^^^ you can use the -n option of route to only printout destination IPs, and no hostnames
Question
In linux, the [...] command is used to bind destination IPs with the target network interfaces (e.g. eth0, lo, docker0, etc) so that the kernel knows what packets should be sent to what network interfaces (based on destination IP). This command can also just print out the currently configured bindings of destination IPs to target network devices.
Answer
?
Question
In linux, the [...] command is used to bind destination IPs with the target network interfaces (e.g. eth0, lo, docker0, etc) so that the kernel knows what packets should be sent to what network interfaces (based on destination IP). This command can also just print out the currently configured bindings of destination IPs to target network devices.
Answer
route
^^^ you can use the -n option of route to only printout destination IPs, and no hostnames
If you want to change selection, open document below and click on "Move attachment"
25. Introduction to IP a convention). The command, /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo adds a route to the network 127.0.0.0 , albeit an imaginary one. The eth0 device can be routed as follows: /sbin/<span>route add -net 192.168.3.0 netmask 255.255.255.0 eth0 The command to display the current routes is /sbin/route -n ( -n causes route to not print IP addresses as host names) with the following
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.