Помогите настроить локальную сеть в Fedora Core 3
Помогите настроить локальную сеть в Fedora Core 3
Перепробовал на мой взгляд все что знал, мне нужно соединить два компа между собой и подключить оба к итернету, на данный момент я могу подлючить их к итернету только поотдельности.... более подробно написано тут: http://fedoraforum.org/forum/showthread ... post267102 это ссылка с другого форума где я писАл..
Заранее благодарен.
Заранее благодарен.
po povodu marshrutizatzii kak eto sdelat? kakiye IP nado ispolzovat? + na pervom PC u mena dve seteviye karti odna dla modema drugaya dlaq soyedineniya so vtorim kompom... ya ispolzoval IP 192.168.0.0 i 192.168.0.1 4to kasaetsa "default gateway" na vtorom kompe ya stavil v etoy grafe IP pervogo... no vse eto bezrezultatno kogda ya pitayus proverit comandoy "ping" on govorit 4to "remote host unreachable" ili 4to to v etom rode.... tam na ssilke kotoruyu ya dal vse napisano.. prosto uje zadolbalo to 4to ne mogu ponat 4to ya delayu ne tak...
Аммюшек пчи имкчлдч "route" дйз PC аьдчTп ъйедяшее:
"[root@localhost bravo]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
ln-ta-212.199.2 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default ln-ta-212.199.2 0.0.0.0 UG 0 0 0 ppp0
[root@localhost bravo]#"
Лч Laptop з нмйябчв ъйедявшее:
"Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
Бпм дейчпщ дчйщэе з юец нмлзпуз аъе бпм неоеномюмачй лчнуъчлм а рмояке йули лч импмоьх з яичцчй аьэе, ъепщ импмояв з смбя лчъпомупщ аьжйздуп ъйедявшук мюочцмк:
Internet PC Laptop
<--------modem-ADSL(B-FOCus Router312+)<-----> eth0
eth1<-----------------> eth0
улпеолеп дмйтел юьпщ лч мюмус имкнщвпеочс..... лч дчлльх кмкелп лчъпомуй ъазцщ ъ улпеолепмк лч ичтдмк имкне нм мпдейщлмъпу.
"[root@localhost bravo]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
ln-ta-212.199.2 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default ln-ta-212.199.2 0.0.0.0 UG 0 0 0 ppp0
[root@localhost bravo]#"
Лч Laptop з нмйябчв ъйедявшее:
"Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
Бпм дейчпщ дчйщэе з юец нмлзпуз аъе бпм неоеномюмачй лчнуъчлм а рмояке йули лч импмоьх з яичцчй аьэе, ъепщ импмояв з смбя лчъпомупщ аьжйздуп ъйедявшук мюочцмк:
Internet PC Laptop
<--------modem-ADSL(B-FOCus Router312+)<-----> eth0
eth1<-----------------> eth0
улпеолеп дмйтел юьпщ лч мюмус имкнщвпеочс..... лч дчлльх кмкелп лчъпомуй ъазцщ ъ улпеолепмк лч ичтдмк имкне нм мпдейщлмъпу.
ok. ya nawel "Mini HOW TO" na home network i vklu4il "ip forward" no set vse ravno ne rabotaet.
eto to 4to ya polu4ayu na vihode ot komandi "ping":
[root@localhost bravo]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.0 icmp_seq=1 Destination Host Unreachable
From 192.168.1.0 icmp_seq=2 Destination Host Unreachable
From 192.168.1.0 icmp_seq=3 Destination Host Unreachable
From 192.168.1.0 icmp_seq=5 Destination Host Unreachable
From 192.168.1.0 icmp_seq=6 Destination Host Unreachable
From 192.168.1.0 icmp_seq=7 Destination Host Unreachable
--- 192.168.1.1 ping statistics ---
9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8000ms
, pipe 4
eto to 4to ya polu4ayu na vihode ot komandi "ping":
[root@localhost bravo]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.0 icmp_seq=1 Destination Host Unreachable
From 192.168.1.0 icmp_seq=2 Destination Host Unreachable
From 192.168.1.0 icmp_seq=3 Destination Host Unreachable
From 192.168.1.0 icmp_seq=5 Destination Host Unreachable
From 192.168.1.0 icmp_seq=6 Destination Host Unreachable
From 192.168.1.0 icmp_seq=7 Destination Host Unreachable
--- 192.168.1.1 ping statistics ---
9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8000ms
, pipe 4
route------>
info from PC:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
ln-ta-212.199.2 * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default ln-ta-212.199.2 0.0.0.0 UG 0 0 0 ppp0
[root@localhost bravo]#
info from Laptop:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default * 192.168.0.1 UG 0 0 0 eth0
[root@localhost bravo]#
ifconfig----->
info from PC:
[root@localhost bravo]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:FC:ED:A2:5A
inet addr:10.0.0.2 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::250:fcff:feed:a25a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17710 errors:0 dropped:0 overruns:0 frame:0
TX packets:16477 errors:0 dropped:0 overruns:0 carrier:0eth0 Link encap:Ethernet HWaddr 00:50:FC:ED:A2:5A
inet addr:10.0.0.2 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::250:fcff:feed:a25a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17710 errors:0 dropped:0 overruns:0 frame:0
TX packets:16477 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8814943 (8.4 MiB) TX bytes:1874206 (1.7 MiB)
Interrupt:11 Base address:0xec00
collisions:0 txqueuelen:1000
RX bytes:8814943 (8.4 MiB) TX bytes:1874206 (1.7 MiB)
Interrupt:11 Base address:0xec00
eth1 Link encap:Ethernet HWaddr 00:80:AD:07:1C:D7
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::280:adff:fe07:1cd7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:4644 (4.5 KiB)
Interrupt:10 Base address:0xe800
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:2869 errors:0 dropped:0 overruns:0 frame:0
TX packets:2869 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3862688 (3.6 MiB) TX bytes:3862688 (3.6 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:80.178.8.176 P-t-P:212.199.28.245 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:8590 errors:0 dropped:0 overruns:0 frame:0
TX packets:8044 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:6860849 (6.5 MiB) TX bytes:895432 (874.4 KiB)
info from Laptop:
eth0 Link encap:Ethernet HWaddr 00:C0:9F:88:6C:6A
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2c0:9fff:fe8b:6c6a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1971 (1.9 KiB)
Interrupt:10
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:1806errors:0 dropped:0 overruns:0 frame:0
TX packets:1806 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2144112 (2.0 MiB) TX bytes:214112 (2.0 MiB)
ya ne dumayu 4to problema kabele tak kak etot kabel rabotaet v WIN XP....
info from PC:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
ln-ta-212.199.2 * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
default ln-ta-212.199.2 0.0.0.0 UG 0 0 0 ppp0
[root@localhost bravo]#
info from Laptop:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default * 192.168.0.1 UG 0 0 0 eth0
[root@localhost bravo]#
ifconfig----->
info from PC:
[root@localhost bravo]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:FC:ED:A2:5A
inet addr:10.0.0.2 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::250:fcff:feed:a25a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17710 errors:0 dropped:0 overruns:0 frame:0
TX packets:16477 errors:0 dropped:0 overruns:0 carrier:0eth0 Link encap:Ethernet HWaddr 00:50:FC:ED:A2:5A
inet addr:10.0.0.2 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::250:fcff:feed:a25a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17710 errors:0 dropped:0 overruns:0 frame:0
TX packets:16477 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8814943 (8.4 MiB) TX bytes:1874206 (1.7 MiB)
Interrupt:11 Base address:0xec00
collisions:0 txqueuelen:1000
RX bytes:8814943 (8.4 MiB) TX bytes:1874206 (1.7 MiB)
Interrupt:11 Base address:0xec00
eth1 Link encap:Ethernet HWaddr 00:80:AD:07:1C:D7
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::280:adff:fe07:1cd7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:4644 (4.5 KiB)
Interrupt:10 Base address:0xe800
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:2869 errors:0 dropped:0 overruns:0 frame:0
TX packets:2869 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3862688 (3.6 MiB) TX bytes:3862688 (3.6 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:80.178.8.176 P-t-P:212.199.28.245 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:8590 errors:0 dropped:0 overruns:0 frame:0
TX packets:8044 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:6860849 (6.5 MiB) TX bytes:895432 (874.4 KiB)
info from Laptop:
eth0 Link encap:Ethernet HWaddr 00:C0:9F:88:6C:6A
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::2c0:9fff:fe8b:6c6a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1971 (1.9 KiB)
Interrupt:10
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:1806errors:0 dropped:0 overruns:0 frame:0
TX packets:1806 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2144112 (2.0 MiB) TX bytes:214112 (2.0 MiB)
ya ne dumayu 4to problema kabele tak kak etot kabel rabotaet v WIN XP....