Hello sutarman,

Thursday, November 13, 2008, 6:55:31 PM, you wrote:




> Kalau cuma untuk belajar linux, kenapa nggak sekalian ganti topology
> nya seperti ini pak:

> Internet <--> PC Windows XP <--> |Linux FC 9 + Proxy| <--> Client

> Yang perlu diperhatikan FC9 skr menggunakan 2 eth, eth0 ke nyambung
> windows XP, eth1 nyambung ke Client, Client Gw nya ke IP di FC 9, FC 9
> Gatewaynya ke Windows XP

> Dijamin bisa belajar banyak, di FC 9 bisa menerapkan routing static,
> bisa juga NAT. Kalau client banyak, keluaran eth1 dari FC masuk ke
> switch.


> Nyoman.             



> Saran mas nyoman udah saya lakukan rekan rekan master sekalian
> tapi kok PC linux Proxy gateway saya belum bisa ping google ya
> Di windows xp sebagai gateway sudah saya share internetnya 
> Ip address windows xp yang di arahkan ke pc linux proxy adalah 10.17.8.1/24
> Ip address pc linux proxy dari windows xp adalah 10.17.8.2/24
> Ip address pc linux proxy yang ke client adalah 10.17.8.3/24
> Gambarnya :

> Internet <--> PC Windows XP (10.17.8.1/24) <--> | (10.17.8.2/24) Linux FC 9
> + Proxy (10.17.8.3/24)| <--> (10.17.8.2/24) Client 

> Saya juga menerapkan dhcp server di pc linuxnya
> Configurasi dhcpd.conf seperti ini :


> ddns-update-style interim;
> ignore client-updates;

> subnet 10.17.8.0 netmask 255.255.255.0 {

> # --- default gateway
>         option routers                  10.17.8.2;
>         option subnet-mask              255.255.255.0;

>         option nis-domain               "www.it-moslemzone.com";
>         option domain-name              "www.it-moslemzone.com";
>         option domain-name-servers      10.17.8.2;

>         option time-offset              -18000; # Eastern Standard Time
> #       option ntp-servers              192.168.1.1;
> #       option netbios-name-servers     192.168.1.1;
> # --- Selects point-to-point node (default is hybrid). Don't change this
> unless
> # -- you understand Netbios very well
> #       option netbios-node-type 2;

>         range dynamic-bootp 10.17.8.1 10.17.8.10;
>         default-lease-time 21600;
>         max-lease-time 43200;

>         # we want the nameserver to appear at a fixed address
>         host ns {
>                 next-server marvin.redhat.com;
>                 hardware ethernet 12:34:56:78:AB:CD;
>                 fixed-address 207.175.42.254;
>         }
> }

> Terus isi Dari file /etc/sysconfig/iptables adalah :


> # Generated by iptables-save v1.4.0 on Thu Nov 13 09:25:31 2008
> *nat
> :PREROUTING ACCEPT [0:0]
> :POSTROUTING ACCEPT [0:0]
> :OUTPUT ACCEPT [0:0]
> -A POSTROUTING -s 10.17.8.0/24 -j MASQUERADE
> COMMIT
> # Completed on Thu Nov 13 09:25:31 2008

> Ada yang salah ?
> Sehingga saya di pc linux ngak bisa ping ke google.com
> Mohon pencerahannya dari master2

> Trims
> sutarman

>         

Bagaimana kalau ping ip address ? apa bisa ?
Dasarnya network saya sih begini:
Kalau ping IP bisa, ping hostname/domain nggak bisa, check DNS
Kalau ping ip juga tidak bisa check gateway.

Coba check isi file /etc/resolv.conf
harusnya ada isian DNS nya di sana, bisa pakai DNS ISP, bisa juga di
isi IP PC Windows yanag menjalankan Internet Sharing, formatnya:
nameserver IP.ADD.RESS.DNS

Kalau ini beres, silahkan ke tahap selanjutnya (Client)

Nyoman.                     

Attachment: pgpCJfzLip0gp.pgp
Description: PGP signature

Kirim email ke