20.7.09

konfigurasi PC router linux fedora 10



setting IP PC router linux fedora 10 yang saya pakai adalah dengan memasukkan koding ke terminal;

OS yg digunakan linux fedora 10.

masuk ke terminal (dalam windows sama dengan cmd)
COntoh disini localhostnya :pompong


[pompong@localhost ~]$ su (1)
Password:

[root@localhost pompong]# setup (2)

[root@localhost pompong]# /etc/init.d/network restart(3)
Shutting down loopback interface: [ OK ]
Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0
[ OK ]
Bringing up loopback interface: [ OK ]
[root@localhost pompong]# vi /etc/sysctl.conf (4)

[root@localhost pompong]# echo 1>/proc/sys/net/ipv4/ ip_forward (5)
bash: /proc/sys/net/ipv4/: Is a directory
[root@localhost pompong]# ifup eth0
[root@localhost pompong]# ifup eth2
/sbin/ifup: configuration for eth2 not found.
Usage: ifup
[root@localhost pompong]# ifup eth1
Device eth1 does not seem to be present, delaying initialization.
[root@localhost pompong]# ifup eth0
RTNETLINK answers: File exists
[root@localhost pompong]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1E:EC:EC:EB:C9
inet addr:10.10.1.13 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:19

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:60 errors:0 dropped:0 overruns:0 frame:0
TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4912 (4.7 KiB) TX bytes:4912 (4.7 KiB)

[root@localhost pompong]# ifconfig (6)

3 komentar:

Pesan tidak boleh bersifat sara dan di harapkan sopan