Home General Computer Multimedia Business Lounge

Post Reply 
setting modem plus router debian
12-14-2009, 01:20 AM (This post was last modified: 07-16-2010 03:51 AM by wahyu_devilzc0de™.)
Post: #1
setting modem plus router debian
Assalamu'alaikum

ijin share aja mas.
mudah2an banyak manfaatnya!!!

yang mau tutor seting modem ada di sini maaf tidak langsung saya cantumkan, karena modem byk jenisnya,

kalau untuk routernya..
monggo di lihat di bawah.

Setting IP
Code:
#nano /etc/network/interfaces
    allow-hotplug eth0
    iface eth0 inet static
        address 192.168.11.200
        netmask 255.255.255.0
        network 192.168.11.0
        broadcast 192.168.11.255
        gateway 192.168.11.254

    allow-hotplug eth1
    iface eth1 inet static
        address 10.10.10.1
        netmask 255.255.255.0
        network 10.10.10.0
        broadcast 10.10.10.255

Setting DNS
Code:
#nano /etc/resolv.conf
    nameserver 202.134.0.155
    nameserver 203.130.196.5

Setting Masquerade
Code:
#nano /etc/rc.local
    iptables -t nat -A POSTROUTING -j MASQUERADE

Setting Forwarding
Code:
#nano /etc/sysctl.conf
    net.ipv4.ip_forward = 1

Jika sudah di reboot
# reboot atau crtl+alt+del

sudah jadi deh, semoga bermanfaat.
Wassalamu'alaikum.
Visit this user's website Find all posts by this user
Quote this message in a reply
12-14-2009, 11:24 AM
Post: #2
RE: setting modem plus router debian
oke om thnxs ne dah share ... cools om
Quote this message in a reply
01-03-2010, 06:35 PM
Post: #3
RE: setting modem plus router debian
Makasi gan Infonya..!!!!

Nice shared ;) ;)
Find all posts by this user
Quote this message in a reply
01-20-2010, 11:39 PM
Post: #4
RE: setting modem plus router debian
SETTING ROUTER

#nano /etc/network/interfaces
allow-hotplug eth0------->auto eth0 >fungsinya sama saja
iface eth0 inet static
address 192.168.11.200
netmask 255.255.255.0
network 192.168.11.0 } Klo pgen hemat waktu, gak perlu di tulis, karena Debian
broadcast 192.168.11.255 } otomatis mensettingnya dari netmask yang kita input.
gateway 192.168.11.254


allow-hotplug eth1
iface eth1 inet static
address 10.10.10.1
netmask 255.255.255.0
network 10.10.10.0
broadcast 10.10.10.255

Just share......
Visit this user's website Find all posts by this user
Quote this message in a reply
01-21-2010, 04:09 PM
Post: #5
RE: setting modem plus router debian
om linuxer emang pakar linux ne kayanya
Quote this message in a reply
02-12-2010, 10:39 PM
Post: #6
RE: setting modem plus router debian
nyoba' ahh,,,,!!! thank's ya om,,,
Find all posts by this user
Quote this message in a reply
03-02-2010, 02:05 AM
Post: #7
RE: setting modem plus router debian
Wakkk........... tak faham aku. Pake modem HP smart bsa kagak cuy..........
Visit this user's website Find all posts by this user
Quote this message in a reply
03-02-2010, 02:33 AM
Post: #8
RE: setting modem plus router debian
Assalamu'alaikum..

kalau hanya untuk 1 rumah terdiri dari 2 kompi 1 lapi bisa mas,
nanti 1 pc untuk router, nah routernya pakai mikrotik aja, karena cukup mudah untuk men-dialupnya...

gimana mas??/

Wassalamu'alaikum...
Visit this user's website Find all posts by this user
Quote this message in a reply
03-02-2010, 11:10 AM
Post: #9
RE: setting modem plus router debian
om linuxer numpang tanya...
kalo konfigure yang ga pake network sma broadcast tu bisa ga buat set yang laen kaya dns or webserver??
trus ada lagi ga cara yang lebih simple???
mkasih sebelumnya om..
:):rolleyes::rolleyes:
Find all posts by this user
Quote this message in a reply
03-02-2010, 01:22 PM
Post: #10
RE: setting modem plus router debian
(03-02-2010 11:10 AM)cah the_kill Wrote:  om linuxer numpang tanya...
kalo konfigure yang ga pake network sma broadcast tu bisa ga buat set yang laen kaya dns or webserver??
trus ada lagi ga cara yang lebih simple???
mkasih sebelumnya om..
:):rolleyes::rolleyes:

Bisa, sama saja, asal gak untuk connect ke internet, karena harus melalui gateway.

Nie>>

Code:
auto eth0
iface eth0 inet static
          address 192.168.1.2
          netmask 255.255.255.0

Pada /etc/resolv.conf, isikan
Code:
nameserver 192.168.1.2
Save, kemudian /etc/init.d/networking restart
Liat hasil konfig pake ifconfig, dah jadi deh......Skate
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Users Browsing
1 Guest(s)


Stop SOPA/PIPA | Discuss !