LFCS Networking • Complete Question Bank
Complete LFCS Networking question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit. # ip route show 10.0.1.0/24 dev eth0 proto kernel scope link src 10.0.1.10 10.0.2.0/24 dev eth1 proto kernel scope link src 10.0.2.10 default via 10.0.1.1 dev eth0
Refer to the exhibit. [root@server ~]# ss -tln State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 0.0.0.0:22 0.0.0.0:* LISTEN 0 128 *:80 *:* LISTEN 0 128 *:443 *:* LISTEN 0 128 127.0.0.1:53 0.0.0.0:* LISTEN 0 128 0.0.0.0:8080 0.0.0.0:*
Refer to the exhibit.
# ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1a:2b:3c:4d:5e brd ff:ff:ff:ff:ff:ff
inet 192.168.10.15/24 brd 192.168.10.255 scope global dynamic eth0
valid_lft 86399sec preferred_lft 86399sec
inet6 fe80::21a:2bff:fe3c:4d5e/64 scope link
valid_lft forever preferred_lft forever
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.10.1 0.0.0.0 UG 0 0 0 eth0
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
# ping -c 1 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.10.15 icmp_seq=1 Destination Host UnreachableDrag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Search text using patterns
Stream editor for text manipulation
Pattern scanning and processing language
Search for files in a directory hierarchy
Build and execute command lines from input
Drag a concept onto its matching description — or click a concept then click the description.
Manages a daemon or service
Interprocess communication socket
Schedules and activates other units
Controls mount points
Groups units for synchronization
Refer to the exhibit. $ ip route show 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.10 metric 100 10.0.0.0/8 via 192.168.1.1 dev eth0 proto static metric 100 default via 192.168.1.1 dev eth0 proto static metric 100
Refer to the exhibit. # cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.1.10 NETMASK=255.255.255.0 GATEWAY=192.168.1.1
Refer to the exhibit. $ tcpdump -i eth0 -c 5 'port 80' tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes 11:11:11.111111 IP 10.0.0.1.12345 > 192.168.1.1.80: Flags [S], seq 123, win 29200, options [mss 1460], length 0 11:11:11.222222 IP 192.168.1.1.80 > 10.0.0.1.12345: Flags [S.], seq 456, ack 124, win 28960, options [mss 1460], length 0 11:11:11.333333 IP 10.0.0.1.12345 > 192.168.1.1.80: Flags [.], ack 457, win 29312, length 0
Refer to the exhibit. [root@server ~]# ip route show 10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.100 metric 100 10.0.1.0/24 dev eth1 proto kernel scope link src 10.0.1.100 metric 101 default via 10.0.0.1 dev eth0 proto static metric 100
Refer to the exhibit.
# /etc/network/interfaces on Debian:
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.11: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ffDEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes HWADDR=52:54:00:12:34:56
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- * * 10.0.0.0/8 0.0.0.0/0 tcp dpt:22
0 0 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22[user@server ~]$ ip route show default via 10.0.0.1 dev eth0 proto static metric 100 10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.5 metric 100 10.0.1.0/24 via 10.0.0.2 dev eth0 proto static metric 100 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.10 metric 101
[root@server ~]# nmcli connection show NAME UUID TYPE DEVICE eth0 a1b2c3d4-... ethernet eth0 eth1 e5f6g7h8-... ethernet -- br0 i9j0k1l2-... bridge br0
# iptables -L -n -v --line-numbers Chain INPUT (policy ACCEPT 0 packets, 0 bytes) num pkts bytes target prot opt in out source destination 1 0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0 2 0 0 ACCEPT all -- eth0 * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 3 0 0 DROP all -- eth0 * 0.0.0.0/0 0.0.0.0/0 Chain FORWARD (policy ACCEPT) Chain OUTPUT (policy ACCEPT)