Fedora 7 區網電腦共享頻寬設定問題 - Linux
By Charlie
at 2013-02-28T09:11
at 2013-02-28T09:11
Table of Contents
各位大大好,小弟是Linux超新手
照著手邊的書(Fedora 7 Linux應用實務)操作,
在讓"區域網路內的電腦共享頻寬上網"這邊卡住了
網路架構圖
http://ppt.cc/rTMK
目前的情形是 linux主機可以上網,win 7 可以ping 到linux的
eth0 (192.168.1.1),也可以用telnet 192.168.1.1 連到linux主機,
可是win 7就是無法上網..
目前有檢查 ntsysv iptables的服務有開啟
請問有什麼服務未開啟或是那邊我做錯了?請板上大大幫忙解答
/etc/rc.d/rc.local 檔內容如下
==============================================
echo "1" > /proc/sys/net/ipv4/ip_forward
modprobe ip_tables
modprobe ip_nat_ftp
modprobe ip_nat_irc
modprobe ip_conntrack
modprobe ip_conntrack_ftp
modprobe ip_conntrack_irc
ifconfig eth0 192.168.1.1 netmask 255.255.255.0
iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -j MASQUERADE
==================================================
ifconfig 後的內容如下
===================================================
eth0 Link encap:Ethernet HWaddr 00:50:BA:AD:10:20
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::250:baff:fead:1020/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:728 errors:0 dropped:0 overruns:0 frame:0
TX packets:688 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:51089 (49.8 KiB) TX bytes:70354 (68.7 KiB)
Interrupt:20 Base address:0x4000
eth1 Link encap:Ethernet HWaddr 00:1A:4D:98:17:8D
inet addr:121.254.72.96 Bcast:255.255.255.255 Mask:255.255.252.0
inet6 addr: fe80::21a:4dff:fe98:178d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2630 errors:0 dropped:0 overruns:0 frame:0
TX packets:1249 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1045820 (1021.3 KiB) TX bytes:368864 (360.2 KiB)
Interrupt:19 Base address:0xe000
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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
=====================================================================
--
Tags:
Linux
All Comments
By Oliver
at 2013-03-01T06:00
at 2013-03-01T06:00
By Kristin
at 2013-03-03T10:37
at 2013-03-03T10:37
By William
at 2013-03-04T17:02
at 2013-03-04T17:02
By Caroline
at 2013-03-06T06:28
at 2013-03-06T06:28
By Oliver
at 2013-03-08T01:48
at 2013-03-08T01:48
By Faithe
at 2013-03-08T04:57
at 2013-03-08T04:57
By Sierra Rose
at 2013-03-09T10:22
at 2013-03-09T10:22
By Oliver
at 2013-03-11T01:32
at 2013-03-11T01:32
Related Posts
請教一下 Grub loader 設定的問題
By Hardy
at 2013-02-27T00:55
at 2013-02-27T00:55
請問unix的find和rm指令搭配的用法???
By Bennie
at 2013-02-26T23:52
at 2013-02-26T23:52
redhat安裝在i7主機上
By Jessica
at 2013-02-26T21:32
at 2013-02-26T21:32
Canonical將推出搭載Ubuntu的平板?
By Andrew
at 2013-02-26T14:30
at 2013-02-26T14:30
關於路由 debian squeeze
By Ethan
at 2013-02-26T14:17
at 2013-02-26T14:17