Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@firewall ~]# ifconfig enp0s25
- enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
- inet6 fe80::221:86ff:fe9a:f968 prefixlen 64 scopeid 0x20<link>
- ether 00:21:86:9a:f9:68 txqueuelen 1000 (Ethernet)
- RX packets 2406612810 bytes 2065436189617 (1.8 TiB)
- RX errors 0 dropped 234628 overruns 0 frame 0
- TX packets 1711418567 bytes 912696889023 (850.0 GiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- device interrupt 20 memory 0xfe200000-fe220000
- [root@firewall ~]# firewall-cmd --zone=FedoraServer --list-all
- FedoraServer (default, active)
- interfaces: enp0s25
- sources:
- services: cockpit dhcp dhcpv6-client dns ssh
- ports:
- protocols:
- masquerade: no
- forward-ports:
- icmp-blocks:
- rich rules:
- rule family="ipv4" source address="192.168.1.106" reject
- rule family="ipv4" source address="192.168.1.106" service name="ntp" accept
- rule family="ipv4" source address="192.168.1.106" service name="dhcp" accept
- rule family="ipv4" source address="192.168.1.106" service name="dns" accept
- *********** Client - 192.168.1.106 ************
- [root@browser ~]# ifconfig enp0s25
- enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 192.168.1.106 netmask 255.255.255.0 broadcast 192.168.1.255
- inet6 fe80::21c:25ff:febe:7eda prefixlen 64 scopeid 0x20<link>
- ether 00:1c:25:be:7e:da txqueuelen 1000 (Ethernet)
- RX packets 48851 bytes 31614524 (30.1 MiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 16913 bytes 1421955 (1.3 MiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- device interrupt 20 memory 0xfe200000-fe220000
- [root@browser ~]# ping dell
- ping: unknown host dell
- [root@browser ~]# host dell
- ;; connection timed out; no servers could be reached
- [root@browser ~]# dig dell @192.168.1.1
- ; <<>> DiG 9.10.2-P4-RedHat-9.10.2-5.P4.fc22 <<>> dell @192.168.1.1
- ;; global options: +cmd
- ;; connection timed out; no servers could be reached
Advertisement
Add Comment
Please, Sign In to add comment