Jump to content
Sign in to follow this  
al-siput

Configure Static And Default Routing

Recommended Posts

lan1.jpg

Boleh ke wujudkan 25000 host bagi address space nih?

192.168.0.128/25

cemana nak buat?

Edited by al-siput

Share this post


Link to post
Share on other sites

Kalau ikutkan kiraan tu just ada 126 Ip live ... masalahnya bagi aku keterangan tu mcm x lengkap

Kalau LAN tu tiap2 area tu 192.168.0.128/25 nak cukupkan 5000 kurang2 ada 39@40 LAN router yg mampu di map ip nya dari Main Router yg subnet besar contohnya

10.0.0.0/8 atau 172.16.0.0/16 tapi LAN Ip user/site just guna 192.168.XX.XX /24 - 30

jadi dlm tu tadi ada 4 router... kira boleh la pecah lagi buat NAT dgn IP mapping ...1 Router amik la 10 SUb LAN lagi...

Itu ikut pemahaman aku la.. sbbnya aku penah buat ip map ni kat TNB ... penat aku nak buat firewall rules tu...

apa pun aku tggu gak la kut soalan ni tak logic atau ada kaedah lain yg aku masih tak tau...

Edited by prontoxp

Share this post


Link to post
Share on other sites

25000 hosts guna prefix/25? Impossible bro, mana ko dapat soalan ni... :blink:

err aku tak pandai sgt bab2 network ni, tapi kalu untuk class C, commonnya takpenah jumpa la /25.. kalu /24 tuh biasa la.. kalu nak lebih dari itu, pakai class B atau A..

sorry aku jahil bab2 ni tau sket2 je. tp itulah yg aku belajo pun..

haah soalan aku pun sama.. mana dpt soalan ni?

p/s: kalu dia tulis /8 ke /16 ke rasa mcm logikle sikit...

Share this post


Link to post
Share on other sites

Tu la aku tgh pikir mana dtg soalan mcm ni... info pun tak lengkap.. S0/0/0 , Fa 0/1 Fa 1/0 dll tu ape dia... B3 tu ape dia plak...

Share this post


Link to post
Share on other sites

Tu la aku tgh pikir mana dtg soalan mcm ni... info pun tak lengkap.. S0/0/0 , Fa 0/1 Fa 1/0 dll tu ape dia... B3 tu ape dia plak...

Serial interface 0, fast ethernet

yang B3 tu aku tak tau :D

err aku tak pandai sgt bab2 network ni, tapi kalu untuk class C, commonnya takpenah jumpa la /25.. kalu /24 tuh biasa la.. kalu nak lebih dari itu, pakai class B atau A..

/25 ada, belajo kat sini: :lol:

http://forum.putera.com/tanya/index.php?showtopic=37474

kalau soalan tu mintak guna CIDR, then no problem

192.168.0.0/19

ni sumbat masuk dalam 192.168.0.128/25, tak boleh bro.. :wub:

Share this post


Link to post
Share on other sites

Aku rasa kalo diagram tu guna IP VPN/Direct may be la dia buat ada 5000 host setiap satu SUB link guna NAT / Firewall .. Lagipun B3 space tu tidak dinyatakan dgn jelas ape dia device nya dan apa guna 192.168.0.1/25

sbbnya aku kat N9 ni ada buat link semacam tu ... Kalau switch dgn IP layer tu saja mmg imposibble...

contoh IP Direct tu 192.168.0.120 / 25 (ini link dari TM ke remote End Point sahaja ) lepas tu dlm NAT/firewall ni ada plak 4 Port , each port boleh buat lain2 segmen dan IP design...

bayangkan port 1 gunakan IP design (192.168.0.1) 172.16.1.0 - 172.16.20.255 , Port 2 IP (192.168.0.2) 172.16.21.0 - 172.16.40.255 dan seterus nya la sampai abis port 4

Share this post


Link to post
Share on other sites

Mintak maaf semua. Lambat skit reply... kemarin ujan dari pagi sampai petang. Tak leh kuar.. huhuhu

Aku tunjuk kat cikgu aku tadik (sebelum baca reply topik nih) dia kata soalan tu ada kesalahan..

Ini diagram penuh dia (yang salah tersebut)

lanall.jpg

diagram dan ip semua dah setel..

Skarang tengah buat routing dia saja..

masih terkial² lagi...

p/s crypto.. aku tunggu tutorial VLSM, CIDR dan lain² ... banyak lagi aku nak kena ligan nih...

Share this post


Link to post
Share on other sites

Assalamulaikum...........

Rasenyer soalan tu x salah...........masih boleh kira lagi network tu guna VLSM method ......... iaitu pecahkan IP yang diberi kepada sub IP and akan dapat subnet baru

Share this post


Link to post
Share on other sites

Assalamulaikum...........

Rasenyer soalan tu x salah...........masih boleh kira lagi network tu guna VLSM method ......... iaitu pecahkan IP yang diberi kepada sub IP and akan dapat subnet baru

Soalan dikatakan salah sebab bab VLSM tolak tepi (dalam proses belajar)

Soalan diatas untuk buat latihan static and default route sahaja

Tapi ip kelas C boleh wujudkan sampai 20000 host ker? :unsure:

Share this post


Link to post
Share on other sites

Berdasarkan gambarajah penuh post aku di atas. Mohon dicek aku punya configuration. Tak dapat nak ping

Task 4 : Configure static and default routing

Configure static and default routing using the exit interface argument.

1. HQ should have 3 static routs and one default route

2. B1, B2, and B3 should have one default route

3. ISP should have 7 static routes. This will include the 3 WAN links between HQ and the branch routers B1, B2, and B3.

Configuration yang telah aku buat

ISP

Current configuration : 816 bytes
!
version 12.3
no service password-encryption
!
hostname ISP
!
!
!
!
interface FastEthernet0/0
 ip address 209.165.200.225 255.255.255.252
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 shutdown
!
interface Serial0/0/0
 ip address 209.165.201.1 255.255.255.252
 clock rate 64000
!
interface Serial0/0/1
 no ip address
 shutdown
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
ip route 192.168.0.0 255.255.255.192 Serial0/0/0 
ip route 192.168.1.0 255.255.255.224 Serial0/0/0 
ip route 172.23.0.0 255.255.252.0 Serial0/0/0 
ip route 172.26.0.0 255.255.224.0 Serial0/0/0 
ip route 10.0.0.0 255.255.255.252 Serial0/0/0 
ip route 10.0.0.4 255.255.255.252 Serial0/0/0 
ip route 10.0.0.8 255.255.255.252 Serial0/0/0 
!
!
!
!
line con 0
line vty 0 4
 login
!
!
end
HQ
Current configuration : 847 bytes
!
version 12.3
no service password-encryption
!
hostname HQ
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.1.129 255.255.255.224
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.168.1.161 255.255.255.224
 duplex auto
 speed auto
!
interface Serial0/0/0
 ip address 10.0.0.1 255.255.255.252
 clock rate 64000
!
interface Serial0/0/1
 ip address 10.0.0.5 255.255.255.252
 clock rate 64000
!
interface Serial0/1/0
 ip address 10.0.0.9 255.255.255.252
 clock rate 64000
!
interface Serial0/1/1
 ip address 209.165.201.2 255.255.255.252
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
ip route 192.168.0.0 255.255.255.192 Serial0/0/0 
ip route 172.23.0.0 255.255.252.0 Serial0/0/1 
ip route 172.26.0.0 255.255.224.0 Serial0/1/0 
ip route 0.0.0.0 0.0.0.0 Serial0/1/1 
!
!
!
!
line con 0
line vty 0 4
 login
!
!
end
B1
Current configuration : 764 bytes
!
version 12.3
no service password-encryption
!
hostname B1
!
!
no ip domain-lookup
!
!
interface FastEthernet0/0
 ip address 192.168.0.1 255.255.255.192
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 192.168.0.65 255.255.255.192
 duplex auto
 speed auto
!
interface Serial0/0/0
 ip address 10.0.0.2 255.255.255.252
!
interface Serial0/0/1
 no ip address
 shutdown
!
interface FastEthernet1/0
 ip address 192.168.0.129 255.255.255.192
 duplex auto
 speed auto
!
interface FastEthernet1/1
 ip address 192.168.0.193 255.255.255.192
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0/0 
ip route 10.0.0.0 255.255.255.252 Serial0/0/0 
!
!
!
!
line con 0
line vty 0 4
 login
!
!
end
B2
Current configuration : 681 bytes
!
version 12.3
no service password-encryption
!
hostname B2
!
!
!
!
interface FastEthernet0/0
 ip address 172.23.0.1 255.255.252.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 172.23.4.1 255.255.252.0
 duplex auto
 speed auto
!
interface Serial0/0/0
 ip address 10.0.0.6 255.255.255.252
!
interface Serial0/0/1
 no ip address
 shutdown
!
interface FastEthernet1/0
 ip address 172.23.8.1 255.255.252.0
 duplex auto
 speed auto
!
interface FastEthernet1/1
 ip address 172.23.12.1 255.255.252.0
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0/0 
!
!
!
!
line con 0
line vty 0 4
 login
!
!
end
B3
Current configuration : 684 bytes
!
version 12.3
no service password-encryption
!
hostname B3
!
!
!
!
interface FastEthernet0/0
 ip address 172.26.0.1 255.255.224.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 172.26.32.1 255.255.224.0
 duplex auto
 speed auto
!
interface Serial0/0/0
 ip address 10.0.0.10 255.255.255.252
!
interface Serial0/0/1
 no ip address
 shutdown
!
interface FastEthernet1/0
 ip address 172.26.64.1 255.255.224.0
 duplex auto
 speed auto
!
interface FastEthernet1/1
 ip address 172.26.96.1 255.255.224.0
 duplex auto
 speed auto
!
interface Vlan1
 no ip address
 shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/0/0 
!
!
!
!
line con 0
line vty 0 4
 login
!
!
end

Share this post


Link to post
Share on other sites

Tapi ip kelas C boleh wujudkan sampai 20000 host ker? :unsure:

boleh sampai 32766 dengan mask bit /17

Share this post


Link to post
Share on other sites

Routing kat HQ ada masalah sikit

ip route 192.168.0.0 255.255.255.192 Serial0/0/0

ip route 172.23.0.0 255.255.252.0 Serial0/0/1

ip route 172.26.0.0 255.255.224.0 Serial0/1/0

ip route 0.0.0.0 0.0.0.0 Serial0/1/1

Subnet yang terdapat kat B1 Router:

192.168.0.0 255.255.255.0

Dipecahkan (VLSM) kepada:

192.168.0.0/26

192.168.0.64/26

192.168.0.128/26

192.168.0.192/26

Jadi, routing yang betul ialah

ip route 192.168.0.0 255.255.255.0 s0/0/0

Bagi contoh lagi kat router B3

172.26.0.0/19 255.255.0.0

Dipecahkan (VLSM) kepada

172.26.64.0/19

172.26.96.0/19

routing yang betul:

ip route 172.26.0.0 255.255.0.0 s0/0/0

Ini lah kebaikkan subnetting, all share one route, bebanan pun kurang, perfomance network lebih mantap dari router yang tak guna subnetting :D

p/s crypto.. aku tunggu tutorial VLSM, CIDR dan lain² ... banyak lagi aku nak kena ligan nih...

VLSM aku dah ajar kat sini:

http://forum.putera.com/tanya/index.php?showtopic=37474

baca sampai habis :lol:

Tapi ip kelas C boleh wujudkan sampai 20000 host ker?

Boleh, tapi ip ni tak disebut class C,B,A lagi, ianya dipanggil CLASSLESS

Kalau ko tengok kat cisco router, ada command berbunyi ip classless, tu lah dia..

boleh sampai 32766 dengan mask bit /17

yang Azuan bagi contoh classless IP. 192.168.0.0/17

fissil84:

Rasenyer soalan tu x salah...........masih boleh kira lagi network tu guna VLSM method ......... iaitu pecahkan IP yang diberi kepada sub IP and akan dapat subnet baru

Soalan tu tersangatlah salah fissil84, 192.168.0/25 nak VLSM kepada 5000 hosts? tengok prefix dia betul2, /25

:wub:

Share this post


Link to post
Share on other sites

crypto... kalo boleh permasalahan di atas selsesaikan tanpa menggunakan VLSM. Sebab soalan tu blom sampai VLSM. Soalan latihan VLSM akan menyusul dalam topik seterusnya.. :D

satu lagi boleh terangkan tak apa kesalahan yang aku buat? sebab bila hang betulkan saja tapi aku masih tak nampak apa² kat situ.

Share this post


Link to post
Share on other sites

crypto... kalo boleh permasalahan di atas selsesaikan tanpa menggunakan VLSM. Sebab soalan tu blom sampai VLSM. Soalan latihan VLSM akan menyusul dalam topik seterusnya.. biggrin.gif

satu lagi boleh terangkan tak apa kesalahan yang aku buat? sebab bila hang betulkan saja tapi aku masih tak nampak apa² kat situ.

Takpe...ni siaran ulangan :lol: VLSM tu ada disebalik tabir, aku bukan selesaikan dengan VLSM, tapi aku just terangkan bagaimana pemecahan subnet dibuat, aku fokus kepada routing ko, ko kena tau routing ip & strong knowledge in subnetting sebelum buat routing. tu sebab ccna, Subnetting ni lah yang diaorang terangkan dulu sebelum proceed with routing.

192.168.0.0/26

192.168.0.64/26

192.168.0.128/26

192.168.0.192/26

apa dia punya routing ip?

192.168.0.0/24 kan?

Dengan pembetulan yang dah aku buat, ko boleh nampak kesalahan ko kat router HQ

ip route 192.168.0.0 255.255.255.192 Serial0/0/0

ip route 172.23.0.0 255.255.252.0 Serial0/0/1

ip route 172.26.0.0 255.255.224.0 Serial0/1/0

Router HQ tak tahu network 172.26.32.0 wujud sebab ko cuma route 172.26.0.0 255.255.224.0, iaitu network 172.26.0.0/19 sahaja. Network yang selebihnya seperti 172.26.32.0/19, 172.26.64.0/19, 172.26.96.0/19 semua dia tak tahu. Missing route.

Adjust kat router HQ

ip route 192.168.0.0 255.255.255.0 s0/0/0
ip route 172.26.0.0 255.255.0.0 s0/1/0
ip route 172.23.0.0 255.255.0.0 s0/0/1

Then try ping dari router B1 ke router B3 f0/0 interface ip , confirm ada reply.

Amacam dik.. clear? :wub:

Edited by crypto.md5

Share this post


Link to post
Share on other sites

oh begitu...

jap lagi aku edjaskan..

harap bro crypto tak tensen ngajar aku nih.. huhuhu

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...