Thursday, September 29, 2011

Membuat DHCP server menggunakan Router di Packet Tracer

kali ini saya akan memberitahukan tutorial membuat dhcp server dengan router.


networknya seperti digambar dibawah ini :


 dengan network 192.168.1.0/24 berada di FastEthernet 0/0 dan network 192.168.2.0/24 di FastEthernet 1/0.


ip pada FastEthernet0/0 = 192.168.1.1
ip pada FastEthernet1/0 = 192.168.2.1

kemudian klik di router dan msuk ke CLI nya. lalu ketik seperti dibawah ini.

ini untuk network 192.168.1.0/24

Router>enable
Router#config t
Router(config)#host R1
R1(config)#ip dhcp pool tkj
R1(dhcp-config)#net 192.168.1.0 255.255.255.0
R1(dhcp-config)#default 192.168.1.1
R1(dhcp-config)#exit
R1(config)#ip dhcp exc 192.168.1.1 192.168.1.10 ?
 
R1(config)#ip dhcp exc 192.168.1.1 192.168.1.10
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
R1#sh run
Building configuration...

Current configuration : 759 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
!
ip dhcp excluded-address 192.168.1.1 192.168.1.10
!
ip dhcp pool tkj
 network 192.168.1.0 255.255.255.0
 default-router 192.168.1.1
!
!
!
--more--

(tekan enter hingga)
R1#

ini untuk network 192.168.2.0/24

R1#config t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#ip dhcp pool tkj2
R1(dhcp-config)#net 192.168.2.0 255.255.255.0
R1(dhcp-config)#default 192.168.2.1
R1(dhcp-config)#exit
R1(config)#ip dhcp exc 192.168.2.1 192.168.2.10 ?
   
R1(config)#ip dhcp exc 192.168.2.1 192.168.2.10
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console

R1#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
R1#sh run
Building configuration...

Current configuration : 889 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R1
!
!
!
!
ip dhcp excluded-address 192.168.1.1 192.168.1.10
ip dhcp excluded-address 192.168.2.1 192.16.2.10
!
ip dhcp pool tkj
 network 192.168.1.0 255.255.255.0
 default-router 192.168.1.1
ip dhcp pool tkj2
 network 192.168.2.0 255.255.255.0
 default-router 192.168.2.1
!
!
!
--more--

(tekan enter hingga)
R1#
kemudian buat PC dan server mendapatkan DHCP

selesai dan silahkan mencoba

Membuat DHCP Server dengan network berbeda di Packet Tracer

dalam post kali ini saya akan memberikan cara-cara membuat dhcp server dengan network berbeda dalam satu router pada packet tracer.


buatlah packet tracer anda seperti gambar dibawah
network 192.168.1.0/24 berada pada port FastEthernet 1/0 dan network 192.168.2.0/24 berada pada port FastEthernet 2/0.

lalu setting pada dhcp server anda buat 2 buah pool yang satu untuk network 192.168.1.0/24 dan 192.168.2.0/24



msuk ke router dan pilih CLI. masukan command seperti dibawah ini.



setelah selesai check dengan membuat DHCP ip configuration pada masing2 PC.




selesai dan selamat mencoba

Thursday, May 5, 2011

Link Lokal Download Ubuntu 11.04 Natty Narwhal

Saturday, April 23, 2011

Recovering Ubuntu After Installing Windows v2

this is tutorial to recover GRUB type GRUB2 after installing windows. if you want to check which GRUB had installed in your PC just open terminal and type grub-install -v. GRUB 2 should display a version number of 1.96 or later. GRUB Legacy is version 0.97.

okay this is some steps to recover your GRUB

1. Prepare Ubuntu live CD

2. Reboot your computer and boot into a live session.

3. Mount your Ubuntu partition from Places menu. If you have multiple Ubuntu partitions (e.g., /boot, /home, /), you need to mount the /boot partition.

4. Your Ubuntu partition is now mounted. You will need to continue Using the Terminal.
Verify if your partition is correct.
mount | tail -1 

5. You should see output similar to this:
/dev/sda2 on /media/0d104aff-ec8c-44c8-b811-92b993823444 type ext4 (rw,nosuid,nodev,uhelper=devkit)
Note the designation for the disk /dev/sda which you will be using later, and the directory in /media.

6. To make sure this is indeed the Ubuntu boot partition, run
ls /media/0d104aff-ec8c-44c8-b811-92b993823444/boot
But substitute the example's UUID, 0d104aff-ec8c-44c8-b811-92b993823444, with your volume's UUID which you found earlier. If your boot partition was a separate partition which you mounted in a previous step, use this instead
ls /media/0d104aff-ec8c-44c8-b811-92b993823444
In either case, the output should be something like this:
config-2.6.18-3-686      initrd.img-2.6.18-3-686.bak  System.map-2.6.18-3-686
grub                     lost+found                   vmlinuz-2.6.18-3-686
initrd.img-2.6.18-3-686  memtest86+.bin
If what you have is not similar, unmount it and try another partition.

7. Now that everything is mounted, we just need to reinstall GRUB by specifying the correct directory and the correct drive name:
sudo grub-install --root-directory=/media/0d104aff-ec8c-44c8-b811-92b993823444 /dev/sda

8. If you get BIOS warnings try:
sudo grub-install --root-directory=/media/0d104aff-ec8c-44c8-b811-92b993823444 /dev/sda --recheck
Replace /dev/sda with the location you want to install GRUB on.

9. If all went well, you should see something like this:
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0)   /dev/sda

Reboot, making sure to boot to your hard drive and not to the live CD. Grub should be installed and both Ubuntu and Windows should have been automatically detected and listed in the menu.

The Master Boot Record will execute Grub as the initial boot-loader. The Windows boot-loader is contained within the Windows partition and will then be chainloaded by the Grub boot-loader.

Recovering Ubuntu After Installing Windows v1

this is tutorial to recover GRUB type GRUB Legacy after installing windows. if you want to check which GRUB had installed in your PC just open terminal and type grub-install -v. GRUB 2 should display a version number of 1.96 or later. GRUB Legacy is version 0.97.

okay this is some steps to recover your GRUB


1. Boot from a Live CD, like Ubuntu Desktop, or similar. It is recommended to use Ubuntu 9.04 or newer as this has NTFS write support.

2. Open a Terminal. Open a root terminal (For non-Ubuntu live CDs type su the terminal. For Ubuntu based distros run
sudo -i
Enter root passwords as necessary.

3. Type
grub
which makes a GRUB prompt appear.

4. Type
find /boot/grub/stage1
You'll get a response like "(hd0)" or in my case "(hd0,3)". Use the output from this command for the following commands.
Note:
You should have mounted the partition which has your Linux system before typing this command. (e.g. In Knoppix Live CD partitions are shown on the desktop but they're not mounted until you double-click on them or mount them manually)

5. Type
root (hd0,3)
note the space between root and (hd0,3).

6. Type
setup (hd0,3)
into the prompt. This is key. Other instructions say to use "(hd0)", and that's fine if you want to write GRUB to the MBR. If you want to write it to your Linux root partition, then you want the number after the comma, such as "(hd0,3)".

7. Type
quit

8. At this stage you can either restart the system and install your own boot-loader, or you can continue and tell the Windows boot-loader where to find GRUB which will handle booting Linux.

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Blogger Templates