Nie dziala mi tunel GRE

Pytania dt. certyfikacji CCNA i CCDA
Wiadomość
Autor
Awatar użytkownika
nowyk123
wannabe
wannabe
Posty: 185
Rejestracja: 05 mar 2017, 21:46

Nie dziala mi tunel GRE

#1

#1 Post autor: nowyk123 »

Cześć.
Co miałbym poprawić?
Moja topologia:
https://ibb.co/qsLH4Ln

R1
Router(config-if)#do show ip int brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/0 10.0.0.1 YES manual up up
GigabitEthernet0/0/1 192.168.1.1 YES manual up up
Tunnel1 50.50.50.1 YES manual up down
Vlan1 unassigned YES unset administratively down down
tutaj dlaczego Tunnel 1 mam protocol DOWN? (pewnie przez to nie mam pinga z jednego kompa do drugiego)

r3
Router>show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/0 20.0.0.1 YES manual up up
GigabitEthernet0/0/1 192.168.2.1 YES manual up up
Tunnel1 50.50.50.2 YES manual up down
Vlan1 unassigned YES unset administratively down down

pc2
C:\>ipconfig /all

FastEthernet0 Connection:(default port)

Connection-specific DNS Suffix..:
Physical Address................: 00E0.F7B1.6537
Link-local IPv6 Address.........: FE80::2E0:F7FF:FEB1:6537
IP Address......................: 192.168.1.2
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.1.1
DNS Servers.....................: 0.0.0.0
DHCP Servers....................: 0.0.0.0
DHCPv6 Client DUID..............: 00-01-00-01-01-6B-9E-A7-00-E0-F7-B1-65-37
pc3
C:\>ipconfig /all

FastEthernet0 Connection:(default port)

Connection-specific DNS Suffix..:
Physical Address................: 0005.5E58.869D
Link-local IPv6 Address.........: FE80::205:5EFF:FE58:869D
IP Address......................: 192.168.2.3
Subnet Mask.....................: 255.255.255.0
Default Gateway.................: 192.168.2.1
DNS Servers.....................: 0.0.0.0
DHCP Servers....................: 0.0.0.0

rafu_007
member
member
Posty: 26
Rejestracja: 15 maja 2017, 05:29
Lokalizacja: Bydgoszcz
Kontakt:

Re: Nie dziala mi tunel GRE

#2

#2 Post autor: rafu_007 »

Pokaż konfigurację tuneli, bo teraz to wróżenie z fusów.
Inna Sieć - innasiec.pl

Awatar użytkownika
nowyk123
wannabe
wannabe
Posty: 185
Rejestracja: 05 mar 2017, 21:46

Re: Nie dziala mi tunel GRE

#3

#3 Post autor: nowyk123 »

R1

Router(config)#do show interfaces tunnel 1
Tunnel1 is up, line protocol is down (disabled)
Hardware is Tunnel
Internet address is 50.50.50.1/24
MTU 17916 bytes, BW 100 Kbit/sec, DLY 50000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation TUNNEL, loopback not set
Keepalive not set
Tunnel source 10.0.0.1 (GigabitEthernet0/0/0), destination 20.0.0.1
Tunnel protocol/transport GRE/IP
Key disabled, sequencing disabled
Checksumming of packets disabled
Tunnel TTL 255
Fast tunneling enabled
Tunnel transport MTU 1476 bytes
Tunnel transmit bandwidth 8000 (kbps)
Tunnel receive bandwidth 8000 (kbps)
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 1
Queueing strategy: fifo
Output queue: 0/0 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec

Router(config)#do show ip int brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/0 10.0.0.1 YES manual up up
GigabitEthernet0/0/1 192.168.1.1 YES manual up up
Tunnel1 50.50.50.1 YES manual up down
Vlan1 unassigned YES unset administratively down down

r3
Router(config)#do show interfaces tunnel 1
Tunnel1 is up, line protocol is down (disabled)
Hardware is Tunnel
Internet address is 50.50.50.2/24
MTU 17916 bytes, BW 100 Kbit/sec, DLY 50000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation TUNNEL, loopback not set
Keepalive not set
Tunnel source 20.0.0.1 (GigabitEthernet0/0/0), destination 10.0.0.1
Tunnel protocol/transport GRE/IP
Key disabled, sequencing disabled
Checksumming of packets disabled
Tunnel TTL 255
Fast tunneling enabled
Tunnel transport MTU 1476 bytes
Tunnel transmit bandwidth 8000 (kbps)
Tunnel receive bandwidth 8000 (kbps)
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 1
Queueing strategy: fifo
Output queue: 0/0 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 input packets with dribble condition detected
0 packets output, 0 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out

na router R2 nie konfigurowalem tunelu

rafu_007
member
member
Posty: 26
Rejestracja: 15 maja 2017, 05:29
Lokalizacja: Bydgoszcz
Kontakt:

Re: Nie dziala mi tunel GRE

#4

#4 Post autor: rafu_007 »

Oba routery mają do siebie trasy?
Inna Sieć - innasiec.pl

Awatar użytkownika
nowyk123
wannabe
wannabe
Posty: 185
Rejestracja: 05 mar 2017, 21:46

Re: Nie dziala mi tunel GRE

#5

#5 Post autor: nowyk123 »

Dodałem
Na r1 i r3
Trasy 0.0.0.0 0.0.0.0 gig ethernet 0/0/0
Zadziała lo bez tego nie...
Czemu to tak?
Wcześniej dodałem jedynie trasy tunelu gre do r1 i r3

rafu_007
member
member
Posty: 26
Rejestracja: 15 maja 2017, 05:29
Lokalizacja: Bydgoszcz
Kontakt:

Re: Nie dziala mi tunel GRE

#6

#6 Post autor: rafu_007 »

Potrzebujesz jedynie trasę:
z R1 do R3 -> 20.0.0.0 255.255.255.0 giga 0/0/0
z R3 do R1 -> 10.0.0.0 255.255.255.0 giga 0/0/0

Być może za szybko sprawdzałeś i nie było jeszcze trasy w tablicy routingu.
Inna Sieć - innasiec.pl

ODPOWIEDZ