- at least 2 network card
- 2 cross cable
- install fedora 8 (for configuration)
2. What u need to do?
- set IP forwarding
- set IP
- routing (buat routing + gw)
* Linux router guna command line untuk configuration
1. nak upkan network card
service network restart
/etc/init.d/network restart
eth0 .................................[/]
eth1 ................................ [/]
2. set ip
/sbin/ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255
3. set gateway
/sbin/route add-net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.255 dev eth0
4. set ip_forwarding
echo 1 > proc/sys/net/ipv4/ip_forward
(0 untuk stop) dan (1 untuk up)
5. tengok routing table
/sbin/ip route show
6. tengok ada routing @ x
/sbin/route -v
7. delete routing dalam routing table
/sbin/route del -net ............./sm
8. up network card one by one
/sbin/if up eth0
/sbin/if up eth1
** if pc <-> x bole nak ping:
- firewall pc x off
- anti virus x off
- ip_forwarding tiap kali x up
- firewall linux->ip table
6.