The answers are /var/lib/dhcpd/dhcpd.leases & /var/lib/dhcpd/dhcpd6.leases
In order to look up ipv4 and ipv6 dhcp leases, The two files that should be viewed are /var/lib/dhcpd/dhcpd.leases & /var/lib/dhcpd/dhcpd6.leases
Answer: a. RADIUS
Explanation:
RADIUS as developed with the idea of allowing its users or clients to be able to authenticate to a dial-in access server. So basically it is a client server protocol and he client here is the firebox and the server is the RADIUS server.
The authentication mechanism start by user who sends a message to the RADIUS server. Then the RADIUS server upon receiving the message accept or denies it. It accepts if the client is configured to the server.
A large amount of additional information can be sent by the RADIUS server in its Access-Accept messages with users so we can say that RADIUS is uitable for what are called "high-volume service control applications" such as dial-in access to a corporate network.
Answer: Bastion host
Explanation: Bastion host is type of computer which resist the attacks happening on a network particularly. It mostly works between the internet and interior network. It assures that the interior computer network remains undamaged due to any type of threat. It can also be considered that bastion host behave as the gateway between internal network and firewall as well.
Here you go. I added a constructor and a toString overload to make the object creation and printing as easy as possible.
public class student {
private String _id;
private String _name;
private String _address;
public student(String id, String name, String address) {
_id = id;
_name = name;
_address = address;
}
public String toString() {
return "Id: " + _id + "\nName: " + _name + "\nAddress: "+ _address;
}
public static void main(String[] args) {
student s1 = new student("S12345", "John Doe", "Some street");
System.out.println(s1);
}
}