DHCP server with NAT

image_pdfimage_print

# DHCP Client

#1. DHCP sunucusuna giren adamin,  ping atabilmesi icin, asagidaki komutu yazmasi gerekir.  NAmeserver olarak dhcp sunucusunu vermesi gerekir. 

nameserver 172.20.0.1
# bunu yazdiktan sonra ping atiyor. ama Dosya indiremiyor.

DHCP SERVER

# If the client wants to connect  internet,  The DHCP server should enable  ip forwarding, after that

should   SET default GATeway  to   NAT router GW.

route add default gw 192.168.122.1

 route add default gw 192.168.122.1

Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.122.1 0.0.0.0 UG 0 0 0 eth2
0.0.0.0 172.20.0.1 0.0.0.0 UG 0 0 0 eth0
172.10.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1

 

 

 

 

 

 

 

 

Aspect-oriented programming

image_pdfimage_print

An aspect is a common feature that’s typically scattered across methods, classes, object hierarchies, or even entire object models.

Express this structure in code with traditional object-oriented techniques.

For example, let’s say you wanted to add code to an application to measure the amount of time it would take to invoke a particular method. In plain Java, the code would look something like the following.

Implementing metrics in a AOP Interceptor

10 ways to change keyboard layout in linux

image_pdfimage_print

Please write these commands.

kutayzorlu.com.layout.keyboard.change

 

Please  Download  this Document  for  more info

Keyboard – Debian Wiki_Public Document  —— > Click and Download

 

Example Return for result in controller

image_pdfimage_print

Inside of View page,