Prihlásiť sa Odoslať Novinky :: FAQ :: Rozšírené vyhľadávanie :: Napísali o nás :: Ankety
Main Menu
· Home
· 
· FAQ
· 
· Diskusia
· 











Main Menu
· Domov

Moduly
· AvantGo
· Downloads
· FAQ
· News
· Recommend Us
· Reviews
· Search
· Sections
· Stats
· Topics
· Top List
· Web Links
· Forum

Jazyk
Výber jazykovej mutácie:



The time now is 28.04.2024 - 19:36


Routing von z lokalnej siete nefunguje uplne

Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
 
Author Message
mienkofax
Post subject: Routing von z lokalnej siete nefunguje uplne  PostPosted: 01.04.2012 - 09:53 #97812
Basic


Joined: Apr 01, 2012
Posts: 4

Ahojte, mam taky problem,

schema zapojenia
http://www.upnito.sk/imggal.php?viewGallery=5d9e09059ea7647c94db2b222b652307

no a v problem spociva v tom ze z R2 sa dostanem do internetu ale napr z R1 alebo z pc sa uz nedostanem vonku zo siete a nemam sajnu preco, ale vnutorna siet mi ide riadne, treba tam este nieco nastavit ?

R1
Code: › R1>enable
R1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#interface e1/0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#
R1(config)#interface s0/0
R1(config-if)#ip address 192.168.10.1 255.255.255.252
R1(config-if)#clock rate 128000
R1(config-if)#no shutdown
R1(config-if)#do show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     192.168.10.0/30 is subnetted, 1 subnets
C       192.168.10.0 is directly connected, Serial0/0
C    192.168.1.0/24 is directly connected, Ethernet1/0
R1(config-if)#router eigrp 100
R1(config-router)#network 192.168.10.0
R1(config-router)#network 192.168.1.0
R1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.10.2 to network 0.0.0.0

     192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.10.0/30 is directly connected, Serial0/0
D       192.168.10.0/24 is a summary, 00:04:11, Null0
D    192.168.137.0/24 [90/2172416] via 192.168.10.2, 00:06:41, Serial0/0
C    192.168.1.0/24 is directly connected, Ethernet1/0
D*EX 0.0.0.0/0 [170/2172416] via 192.168.10.2, 00:02:53, Serial0/0
R1#
R1#ping 8.8.8.8

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)


R2
Code: ›
R2>enable
R2#configure terminal
R2(config)#interface s1/0
R2(config-if)#ip address 192.168.10.2 255.255.255.252
R2(config-if)#clock rate 128000
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface f0/0
R2(config-if)#ip address 192.168.137.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#do show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     192.168.10.0/30 is subnetted, 1 subnets
C       192.168.10.0 is directly connected, Serial1/0
C    192.168.137.0/24 is directly connected, FastEthernet0/0
R2(config)#router eigrp 100
R2(config-router)#network 192.168.10.0
R2(config-router)#network 192.168.137.0
R2(config-router)#exit
R2(config)#ip route 0.0.0.0 0.0.0.0 137.168.137.1
R2(config)#router eigrp 100
R2(config-router)#redistribute static
R2(config)#do show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.137.1 to network 0.0.0.0

     192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C       192.168.10.0/30 is directly connected, Serial1/0
D       192.168.10.0/24 is a summary, 00:01:25, Null0
C    192.168.137.0/24 is directly connected, FastEthernet0/0
D    192.168.1.0/24 [90/2195456] via 192.168.10.1, 00:03:59, Serial1/0
S*   0.0.0.0/0 [1/0] via 192.168.137.1
R2#ping 8.8.8.8

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (5/5), round-trip min/avg/max = 24/51/68 ms
R2#

siet medzi R1 a C1 je 192.168.137.0/24 na C1 je nastavena 192.168.137.1
 
 View user's profile Send private message  
Reply with quote Back to top
zelmar
Post subject: RE: Routing von z lokalnej siete nefunguje uplne  PostPosted: 01.04.2012 - 16:13 #97814
Guru


Joined: Okt 23, 2005
Posts: 1031
Location: /etc/bin/ladin
R2 asi nema spätne routy tym padom nic co vide z routrov za nim do netu on naspat nevrati lebo neviem kam...

a preco ludia ako ty kodia cisca to netusim....
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
sCARAB
Post subject: RE: Routing von z lokalnej siete nefunguje uplne  PostPosted: 01.04.2012 - 16:25 #97816
Basic


Joined: Okt 21, 2004
Posts: 165

zelmar wrote: ›
a preco ludia ako ty kodia cisca to netusim....


co ked sa to prave len uci a potrebuje poradit?
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
zelmar
Post subject: RE: Routing von z lokalnej siete nefunguje uplne  PostPosted: 01.04.2012 - 17:13 #97817
Guru


Joined: Okt 23, 2005
Posts: 1031
Location: /etc/bin/ladin
sCARAB wrote: ›
zelmar wrote: ›
a preco ludia ako ty kodia cisca to netusim....


co ked sa to prave len uci a potrebuje poradit?


Aj tak , lebo take trivialne zakladne veci sa ucia v leveli minus 5....
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
mienkofax
Post subject: RE: Routing von z lokalnej siete nefunguje uplne  PostPosted: 01.04.2012 - 17:22 #97818
Basic


Joined: Apr 01, 2012
Posts: 4

a mohol by som sa opytat ako to spojazdnim? Dakujem a zacinam sa to len ucit.
 
 View user's profile Send private message  
Reply with quote Back to top
zelmar
Post subject: RE: Routing von z lokalnej siete nefunguje uplne  PostPosted: 02.04.2012 - 10:27 #97833
Guru


Joined: Okt 23, 2005
Posts: 1031
Location: /etc/bin/ladin
Jednoducho R2 nevie kde sa siet 192.168.1.0/24 nachdza....
Smerom von paket vylezie cez dgw jednotlivych routrov ale naspat pride paket z source ip napr. 192.168.1.5 na R2 a ten ostane ymzteny lebo nijake take rozhranie neobsluhuje (vie iba o 192.168.10.0/24 a tam to nespada) tak to jednoducho zahodi.
Po pridani routy na R2 ip route 192.168.1.0 255.255.255.0 192.168.10.1 bude vediet ze siet 192.168.1.0/24 je niekde za routrom s ip 192.168.10.1 a preto mu ho preposle.

jaj boze
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
Thomas
Post subject: RE: Routing von z lokalnej siete nefunguje uplne  PostPosted: 02.04.2012 - 10:34 #97834
Majster


Joined: Okt 31, 2006
Posts: 2062
Location: TT
Zelmar , routu do toho subnetu na R2 má
Code: › D    192.168.1.0/24 [90/2195456] via 192.168.10.1, 00:03:59, Serial1/0
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
mienkofax
Post subject: RE: Routing von z lokalnej siete nefunguje uplne  PostPosted: 02.04.2012 - 12:32 #97838
Basic


Joined: Apr 01, 2012
Posts: 4

mate este nejaky napad?

zelmar, naschval som dal sem tie vypisy aby ste mi pomohli a nie typovali ze som nieco zle urobil i ked aj to je mozne
 
 View user's profile Send private message  
Reply with quote Back to top
zelmar
Post subject: RE: Routing von z lokalnej siete nefunguje uplne  PostPosted: 02.04.2012 - 13:05 #97839
Guru


Joined: Okt 23, 2005
Posts: 1031
Location: /etc/bin/ladin
Hodil si sem ciastkove info...
R4 je co?
Kde a ako sa robi natko?Robi sa pre vsetky subnety?
To ako emulujes ethernet na seriakom?
Mam pokracovat?

Proste debuguj ako by to urobil kazdy z nas...idem od gw smerom do siete a urcite neico najdes...
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
mienkofax
Post subject: RE: Routing von z lokalnej siete nefunguje uplne  PostPosted: 02.04.2012 - 16:35 #97840
Basic


Joined: Apr 01, 2012
Posts: 4

Ak myslis r4, ktory je v cloude, tak tam je len lo virtualny adapter so sietov 192.168.137.0/24 a na mojom wifi adaptere je zdielana tato lo, nat som neriesil vobec na tom som zabudol uplne

Mne nechce napriklad pingnut ani to rozhranie pri cloude(192.168.137.1)
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
All times are GMT
Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
 
Jump to:  

Powered by PNphpBB2 © 2003-2005 The PNphpBB Group
Credits

(C) SKFree 2002-2010: Powered by POSTNUKE. Môžete prebera? naše správy vo formáte XML(RSS)