Jump to content
Sign in to follow this  
brigedalaqsa

Modem->server->client

Recommended Posts

modem : 10.0.0.2

server :

nic1 : 192.168.1.1

nic2 : ?

client : auto ip (dhcp server)

soalan : macam mana nak setkan server supaya boleh connect ke modem dan boleh bagi ip kepada client?

sekian terima kasih...

Edited by brigedalaqsa

Share this post


Link to post
Share on other sites

server nak connect ke modem maybe tak ada masalah...

tapi client tu akan dpt ip dr dhcp mana, server @ modem...

server tu fungsi apa..gateway@proxy

Share this post


Link to post
Share on other sites

modem : 10.0.0.2

server :

nic1 : 192.168.1.1

nic2 : ?

client : auto ip (dhcp server)

soalan : macam mana nak setkan server supaya boleh connect ke modem dan boleh bagi ip kepada client?

sekian terima kasih...

ape yg ko try nak buat??

ICS ker??

ape yg aku fhm, ko jadikan modem sebagai pppoe mode(automatic dialing),

then router jadikan sebagai dhcp server,

dan dr router ko sambungkan kepada semua pc

Share this post


Link to post
Share on other sites

kalau tgk pada susunan tu..mcm yg aku buat kat ofis skarang...

modem streamyx (bridge mode) -> pc server (gateway;install wingate @ kalau linux=squid + ada fungsi dial-up ke modem) ---> switch ---> client

mcm modem semua, aku tukar default ip dia...kalau 10.0.0.1 aku tukar ip dia jadikan sama dgn range ip aku nak pakai -> cthnya 192.168.0.3 - modem

utk pc server tu, nic satu aku set ip 192.168.0.1 / dan nic 2 aku tak set ip = auto.

nic 1 sambung ke switch

nic 2 sambung ke modem

dan smua client trs ke switch...dan akn dpt ip dr pc server...

pc server tadi di install dgn prgram ICS...cthnya wingate (berbayar) kalau linux, squid (free)...

dlm ICS software tu complete ada semua, dialer, firewall, caching, dhcp...

tapi taktau plak dlm kes dia ni, server tu bertindak as router sahaja ke atau mcm mana...

utk modem, aku pernah guna modem streamyx yg ip dia 192.168.1.1, modem tu set as bridge, sambung ke nic2 on modem, pc server akan detect modem tu sbg WAN/brigde... tapi aku gunakan raspppoe as dialer...

Share this post


Link to post
Share on other sites

network ni kat makmal sekolah..

server pakai redhat.. (aku x pandai nak tukar ip dia).. jd default ip nya 192.168.1.1

modem yang di pasang pula ip 10.x.x.x..

secara teorinya boleh tak sambungan dibuat tanpa mengubah class ip pada server mahupun modem..

Share this post


Link to post
Share on other sites

network ni kat makmal sekolah..

server pakai redhat.. (aku x pandai nak tukar ip dia).. jd default ip nya 192.168.1.1

modem yang di pasang pula ip 10.x.x.x..

utk pengetahuan brigedalaqsa

GITN telah mengeluarkan modul utk conf makmal sekolah tu...

os nya ialah redhat AS, SuSE Enterprise Linux Server 9 dan Win 2000

dahulunya semua os tu menggunakan 2 nic...tapi sekrg telah diubah kepada 1 NIC

dari server hanya menggunakan 1 nic sahaja (boleh rujuk modul)

pada asalnya aku mmg tak percaya hanya guna 1 nic sahaja.....

tapi bila dah buat ikut modul jadi juga akhirnyaaa...

default yg asal

NIC 1 10.x.x.x ----- NIC 2 run dhcp (192.168.1.1)

setelah diubah suai menjadi

NIC 1 10.x.x.x ----- NIC 1 run dhcp 10.x.x.x <------- sehingga last ip yg dibekalkan oleh gitn.

tak silap aku hanya sekitar 60 - 62 ip lahhh...

cth nya dari router tuu 10.x.x.1 ----- so ip yg ko dapat hanyalah 10.x.x.62

Share this post


Link to post
Share on other sites

modem tu dah jadi router terus ke mcm tu? dulu aku penah test firewall kat salah sebuah sekolah kat trg... test firewall ip 192.168.1.1 dan seterusnya dia akan map ke 10.xxx.xxx.xxx dari gitn network.

Share this post


Link to post
Share on other sites

utk pengetahuan brigedalaqsa

GITN telah mengeluarkan modul utk conf makmal sekolah tu...

os nya ialah redhat AS, SuSE Enterprise Linux Server 9 dan Win 2000

dahulunya semua os tu menggunakan 2 nic...tapi sekrg telah diubah kepada 1 NIC

dari server hanya menggunakan 1 nic sahaja (boleh rujuk modul)

pada asalnya aku mmg tak percaya hanya guna 1 nic sahaja.....

tapi bila dah buat ikut modul jadi juga akhirnyaaa...

default yg asal

NIC 1 10.x.x.x ----- NIC 2 run dhcp (192.168.1.1)

setelah diubah suai menjadi

NIC 1 10.x.x.x ----- NIC 1 run dhcp 10.x.x.x <------- sehingga last ip yg dibekalkan oleh gitn.

tak silap aku hanya sekitar 60 - 62 ip lahhh...

cth nya dari router tuu 10.x.x.1 ----- so ip yg ko dapat hanyalah 10.x.x.62

aku nak kepastian bagi yang 2 nic dulu..

yang 2 nic tu maksudnya kena masukkan camnilah (contoh):

modem ip : 10.117.211.65

server nic1 ip :10.117.211.66

server nic1 gtway : 10.117.211.65

server nic2 ip : 192.168.1.1

srver nic gtway : ?

client ip : 192.168.1.xxx

betulke camni??

Edited by brigedalaqsa

Share this post


Link to post
Share on other sites

aku nak kepastian bagi yang 2 nic dulu..

yang 2 nic tu maksudnya kena masukkan camnilah (contoh):

modem ip : 10.117.211.65

server nic1 ip :10.117.211.66

server nic1 gtway : 10.117.211.65

server nic2 ip : 192.168.1.1

srver nic gtway : ?

client ip : 192.168.1.xxx

betulke camni??

lamalah jugak aku nengok2,baca2 korang punyer discussion nih,masih jugak aku x dpt follow.apa kebende nic tuh?camner nak set ip utk nic?maksudnya,server ada ip dier sendirik,dier punyer nic pun ader ip sendirik?

Share this post


Link to post
Share on other sites

lamalah jugak aku nengok2,baca2 korang punyer discussion nih,masih jugak aku x dpt follow.apa kebende nic tuh?camner nak set ip utk nic?maksudnya,server ada ip dier sendirik,dier punyer nic pun ader ip sendirik?

kokhokhokohk

nic pon tak tahu gak ker??

network interface card=nic

set ip utk nic??

masuk kat network connection ,

buka properties bagi nic(network adapter) ko tuu,

cari tcp/ip properties,

klu nak manual ko kena isikan ip nya

Share this post


Link to post
Share on other sites

kokhokhokohk

nic pon tak tahu gak ker??

network interface card=nic

set ip utk nic??

masuk kat network connection ,

buka properties bagi nic(network adapter) ko tuu,

cari tcp/ip properties,

klu nak manual ko kena isikan ip nya

oooo...retinyer klu server nic ip pkai 192.168.1.1, jd server tu ip add dier 192.168.1.1 lah?

confuse bukan apa, kejap ckap server nic ip , kejap server ip..ingatkan ada byk jenis ip..wokeh..faham..teruskan 'diskashen' korang...hehehe

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...